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)
2828
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2864
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2865
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2867
if (this.LocationIs(
XmlDocCommentLocation
.End))
2918
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3231
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3232
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3234
if (this.LocationIs(
XmlDocCommentLocation
.End))
3404
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3405
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3407
if (this.LocationIs(
XmlDocCommentLocation
.End))
3562
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3563
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3565
if (this.LocationIs(
XmlDocCommentLocation
.End))
3622
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3623
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3625
if (this.LocationIs(
XmlDocCommentLocation
.End))
4028
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4029
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4031
if (this.LocationIs(
XmlDocCommentLocation
.End))
4150
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4151
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4153
if (this.LocationIs(
XmlDocCommentLocation
.End))
4281
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4282
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4284
if (this.LocationIs(
XmlDocCommentLocation
.End))
4392
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4406
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4410
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4435
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4463
this.MutateLocation(
XmlDocCommentLocation
.End);
4467
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4489
this.MutateLocation(
XmlDocCommentLocation
.End);
4498
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4505
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4512
this.MutateLocation(
XmlDocCommentLocation
.End);
4524
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4543
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4560
this.MutateLocation(
XmlDocCommentLocation
.Exterior);