44 references to XmlDocCommentLocation
Microsoft.CodeAnalysis.CSharp (44)
Parser\Lexer.cs (44)
186
private static
XmlDocCommentLocation
LocationOf(LexerMode mode)
188
return (
XmlDocCommentLocation
)((int)(mode & LexerMode.MaskXmlDocCommentLocation) >> 16);
191
private bool LocationIs(
XmlDocCommentLocation
location)
196
private void MutateLocation(
XmlDocCommentLocation
location)
2830
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2866
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2867
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2869
if (this.LocationIs(
XmlDocCommentLocation
.End))
2920
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3233
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3234
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3236
if (this.LocationIs(
XmlDocCommentLocation
.End))
3406
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3407
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3409
if (this.LocationIs(
XmlDocCommentLocation
.End))
3564
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3565
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3567
if (this.LocationIs(
XmlDocCommentLocation
.End))
3624
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3625
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3627
if (this.LocationIs(
XmlDocCommentLocation
.End))
4030
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4031
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4033
if (this.LocationIs(
XmlDocCommentLocation
.End))
4152
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4153
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4155
if (this.LocationIs(
XmlDocCommentLocation
.End))
4283
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4284
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4286
if (this.LocationIs(
XmlDocCommentLocation
.End))
4394
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4408
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4412
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4437
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4465
this.MutateLocation(
XmlDocCommentLocation
.End);
4469
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4491
this.MutateLocation(
XmlDocCommentLocation
.End);
4500
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4507
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4514
this.MutateLocation(
XmlDocCommentLocation
.End);
4526
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4545
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4562
this.MutateLocation(
XmlDocCommentLocation
.Exterior);