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)
2822
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2858
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2859
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2861
if (this.LocationIs(
XmlDocCommentLocation
.End))
2912
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3225
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3226
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3228
if (this.LocationIs(
XmlDocCommentLocation
.End))
3398
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3399
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3401
if (this.LocationIs(
XmlDocCommentLocation
.End))
3556
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3557
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3559
if (this.LocationIs(
XmlDocCommentLocation
.End))
3616
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3617
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3619
if (this.LocationIs(
XmlDocCommentLocation
.End))
4022
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4023
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4025
if (this.LocationIs(
XmlDocCommentLocation
.End))
4144
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4145
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4147
if (this.LocationIs(
XmlDocCommentLocation
.End))
4275
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4276
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4278
if (this.LocationIs(
XmlDocCommentLocation
.End))
4386
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4400
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4404
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4429
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4457
this.MutateLocation(
XmlDocCommentLocation
.End);
4461
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4483
this.MutateLocation(
XmlDocCommentLocation
.End);
4492
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4499
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4506
this.MutateLocation(
XmlDocCommentLocation
.End);
4518
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4537
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4554
this.MutateLocation(
XmlDocCommentLocation
.Exterior);