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);
2817
private CSharpSyntaxNode LexXmlDocComment(
XmlDocCommentStyle
style)
2822
_xmlParser.ReInitialize(style ==
XmlDocCommentStyle
.SingleLine
3171
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3298
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
3519
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4110
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4240
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4364
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')
4394
if (this.LocationIs(XmlDocCommentLocation.Start) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4432
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine) && TextWindow.PeekChar(1) == '/' && TextWindow.PeekChar(2) == '/' && TextWindow.PeekChar(3) != '/')
4444
if (this.StyleIs(
XmlDocCommentStyle
.Delimited))
4488
if (this.StyleIs(
XmlDocCommentStyle
.SingleLine))
4495
Debug.Assert(this.StyleIs(
XmlDocCommentStyle
.Delimited));
4507
else if (!this.LocationIs(XmlDocCommentLocation.End) && this.StyleIs(
XmlDocCommentStyle
.Delimited))
4566
if (this.StyleIs(
XmlDocCommentStyle
.Delimited) && TextWindow.PeekChar(1) == '/')