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)
2812
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2848
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2849
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2851
if (this.LocationIs(
XmlDocCommentLocation
.End))
2902
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3215
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3216
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3218
if (this.LocationIs(
XmlDocCommentLocation
.End))
3388
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3389
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3391
if (this.LocationIs(
XmlDocCommentLocation
.End))
3546
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3547
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3549
if (this.LocationIs(
XmlDocCommentLocation
.End))
3606
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3607
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3609
if (this.LocationIs(
XmlDocCommentLocation
.End))
4012
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4013
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4015
if (this.LocationIs(
XmlDocCommentLocation
.End))
4134
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4135
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4137
if (this.LocationIs(
XmlDocCommentLocation
.End))
4265
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4266
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4268
if (this.LocationIs(
XmlDocCommentLocation
.End))
4376
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4390
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4394
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4419
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4447
this.MutateLocation(
XmlDocCommentLocation
.End);
4451
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4473
this.MutateLocation(
XmlDocCommentLocation
.End);
4482
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4489
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4496
this.MutateLocation(
XmlDocCommentLocation
.End);
4508
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4527
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4544
this.MutateLocation(
XmlDocCommentLocation
.Exterior);