20 references to XmlDocCommentStyle
Microsoft.CodeAnalysis.CSharp (20)
Parser\Lexer.cs (20)
194
private static
XmlDocCommentStyle
StyleOf(LexerMode mode)
196
return (
XmlDocCommentStyle
)((int)(mode & LexerMode.MaskXmlDocCommentStyle) >> 20);
199
private bool StyleIs(
XmlDocCommentStyle
style)
1938
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.SingleLine), ref triviaList);
1959
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.Delimited), ref triviaList);
2795
private CSharpSyntaxNode LexXmlDocComment(
XmlDocCommentStyle
style)
2800
_xmlParser.ReInitialize(style ==
XmlDocCommentStyle
.SingleLine
3149
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3276
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3497
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4088
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4218
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4342
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4372
if (this.LocationIs(XmlDocCommentLocation.Start) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4410
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine) && TextWindow.PeekChar(1) == '/' && TextWindow.PeekChar(2) == '/' && TextWindow.PeekChar(3) != '/')
4422
if (this.StyleIs(
XmlDocCommentStyle
.Delimited))
4466
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine))
4473
Debug.Assert(this.StyleIs(
XmlDocCommentStyle
.Delimited));
4485
else if (!this.LocationIs(XmlDocCommentLocation.End) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4544
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')