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)
1933
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.SingleLine), ref triviaList);
1954
this.AddTrivia(this.LexXmlDocComment(
XmlDocCommentStyle
.Delimited), ref triviaList);
2809
private CSharpSyntaxNode LexXmlDocComment(
XmlDocCommentStyle
style)
2814
_xmlParser.ReInitialize(style ==
XmlDocCommentStyle
.SingleLine
3163
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3290
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3511
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4102
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4232
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4356
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4386
if (this.LocationIs(XmlDocCommentLocation.Start) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4424
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine) && TextWindow.PeekChar(1) == '/' && TextWindow.PeekChar(2) == '/' && TextWindow.PeekChar(3) != '/')
4436
if (this.StyleIs(
XmlDocCommentStyle
.Delimited))
4480
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine))
4487
Debug.Assert(this.StyleIs(
XmlDocCommentStyle
.Delimited));
4499
else if (!this.LocationIs(XmlDocCommentLocation.End) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4558
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')