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)
2807
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2843
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2844
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2846
if (this.LocationIs(
XmlDocCommentLocation
.End))
2897
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3210
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3211
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3213
if (this.LocationIs(
XmlDocCommentLocation
.End))
3383
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3384
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3386
if (this.LocationIs(
XmlDocCommentLocation
.End))
3541
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3542
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3544
if (this.LocationIs(
XmlDocCommentLocation
.End))
3601
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3602
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3604
if (this.LocationIs(
XmlDocCommentLocation
.End))
4007
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4008
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4010
if (this.LocationIs(
XmlDocCommentLocation
.End))
4129
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4130
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4132
if (this.LocationIs(
XmlDocCommentLocation
.End))
4260
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4261
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4263
if (this.LocationIs(
XmlDocCommentLocation
.End))
4371
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4385
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4389
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4414
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4442
this.MutateLocation(
XmlDocCommentLocation
.End);
4446
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4468
this.MutateLocation(
XmlDocCommentLocation
.End);
4477
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4484
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4491
this.MutateLocation(
XmlDocCommentLocation
.End);
4503
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4522
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4539
this.MutateLocation(
XmlDocCommentLocation
.Exterior);