20 references to XmlDocCommentStyle
Microsoft.CodeAnalysis.CSharp (20)
Parser\Lexer.cs (20)
202
private static
XmlDocCommentStyle
StyleOf(LexerMode mode)
204
return (
XmlDocCommentStyle
)((int)(mode & LexerMode.MaskXmlDocCommentStyle) >> 20);
207
private bool StyleIs(
XmlDocCommentStyle
style)
1937
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.SingleLine), ref triviaList);
1958
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.Delimited), ref triviaList);
2815
private CSharpSyntaxNode LexXmlDocComment(
XmlDocCommentStyle
style)
2820
_xmlParser.ReInitialize(style ==
XmlDocCommentStyle
.SingleLine
3169
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3296
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3517
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4108
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4238
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4362
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4392
if (this.LocationIs(XmlDocCommentLocation.Start) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4430
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine) && TextWindow.PeekChar(1) == '/' && TextWindow.PeekChar(2) == '/' && TextWindow.PeekChar(3) != '/')
4442
if (this.StyleIs(
XmlDocCommentStyle
.Delimited))
4486
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine))
4493
Debug.Assert(this.StyleIs(
XmlDocCommentStyle
.Delimited));
4505
else if (!this.LocationIs(XmlDocCommentLocation.End) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4564
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')