44 references to XmlDocCommentLocation
Microsoft.CodeAnalysis.CSharp (44)
Parser\Lexer.cs (44)
178
private static
XmlDocCommentLocation
LocationOf(LexerMode mode)
180
return (
XmlDocCommentLocation
)((int)(mode & LexerMode.MaskXmlDocCommentLocation) >> 16);
183
private bool LocationIs(
XmlDocCommentLocation
location)
188
private void MutateLocation(
XmlDocCommentLocation
location)
2808
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2844
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2845
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2847
if (this.LocationIs(
XmlDocCommentLocation
.End))
2898
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3211
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3212
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3214
if (this.LocationIs(
XmlDocCommentLocation
.End))
3384
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3385
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3387
if (this.LocationIs(
XmlDocCommentLocation
.End))
3542
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3543
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3545
if (this.LocationIs(
XmlDocCommentLocation
.End))
3602
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3603
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3605
if (this.LocationIs(
XmlDocCommentLocation
.End))
4008
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4009
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4011
if (this.LocationIs(
XmlDocCommentLocation
.End))
4130
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4131
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4133
if (this.LocationIs(
XmlDocCommentLocation
.End))
4261
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4262
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4264
if (this.LocationIs(
XmlDocCommentLocation
.End))
4372
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4386
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4390
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4415
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4443
this.MutateLocation(
XmlDocCommentLocation
.End);
4447
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4469
this.MutateLocation(
XmlDocCommentLocation
.End);
4478
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4485
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4492
this.MutateLocation(
XmlDocCommentLocation
.End);
4504
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4523
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4540
this.MutateLocation(
XmlDocCommentLocation
.Exterior);