20 references to XmlDocCommentStyle
Microsoft.CodeAnalysis.CSharp (20)
Parser\Lexer.cs (20)
193
private static
XmlDocCommentStyle
StyleOf(LexerMode mode)
195
return (
XmlDocCommentStyle
)((int)(mode & LexerMode.MaskXmlDocCommentStyle) >> 20);
198
private bool StyleIs(
XmlDocCommentStyle
style)
2320
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.SingleLine), ref triviaList);
2343
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.Delimited), ref triviaList);
3129
private CSharpSyntaxNode LexXmlDocComment(
XmlDocCommentStyle
style)
3134
var mode = style ==
XmlDocCommentStyle
.SingleLine
3491
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3618
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3839
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4430
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4560
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4684
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4714
if (this.LocationIs(XmlDocCommentLocation.Start) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4752
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine) && TextWindow.PeekChar(1) == '/' && TextWindow.PeekChar(2) == '/' && TextWindow.PeekChar(3) != '/')
4764
if (this.StyleIs(
XmlDocCommentStyle
.Delimited))
4808
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine))
4815
Debug.Assert(this.StyleIs(
XmlDocCommentStyle
.Delimited));
4827
else if (!this.LocationIs(XmlDocCommentLocation.End) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4886
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')