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)
2835
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
2871
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
2872
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
2874
if (this.LocationIs(
XmlDocCommentLocation
.End))
2925
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3238
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3239
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3241
if (this.LocationIs(
XmlDocCommentLocation
.End))
3411
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3412
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3414
if (this.LocationIs(
XmlDocCommentLocation
.End))
3569
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3570
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3572
if (this.LocationIs(
XmlDocCommentLocation
.End))
3629
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3630
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3632
if (this.LocationIs(
XmlDocCommentLocation
.End))
4035
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4036
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4038
if (this.LocationIs(
XmlDocCommentLocation
.End))
4157
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4158
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4160
if (this.LocationIs(
XmlDocCommentLocation
.End))
4288
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4289
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4291
if (this.LocationIs(
XmlDocCommentLocation
.End))
4399
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4413
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4417
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4442
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4470
this.MutateLocation(
XmlDocCommentLocation
.End);
4474
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4496
this.MutateLocation(
XmlDocCommentLocation
.End);
4505
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4512
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4519
this.MutateLocation(
XmlDocCommentLocation
.End);
4531
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4550
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4567
this.MutateLocation(
XmlDocCommentLocation
.Exterior);