44 references to XmlDocCommentLocation
Microsoft.CodeAnalysis.CSharp (44)
Parser\Lexer.cs (44)
177
private static
XmlDocCommentLocation
LocationOf(LexerMode mode)
179
return (
XmlDocCommentLocation
)((int)(mode & LexerMode.MaskXmlDocCommentLocation) >> 16);
182
private bool LocationIs(
XmlDocCommentLocation
location)
187
private void MutateLocation(
XmlDocCommentLocation
location)
3150
Debug.Assert(this.LocationIs(
XmlDocCommentLocation
.End) || TextWindow.PeekChar() == SlidingTextWindow.InvalidCharacter);
3186
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3187
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3189
if (this.LocationIs(
XmlDocCommentLocation
.End))
3240
this.MutateLocation(
XmlDocCommentLocation
.Exterior);
3553
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3554
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3556
if (this.LocationIs(
XmlDocCommentLocation
.End))
3726
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3727
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3729
if (this.LocationIs(
XmlDocCommentLocation
.End))
3884
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3885
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3887
if (this.LocationIs(
XmlDocCommentLocation
.End))
3944
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
3945
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
3947
if (this.LocationIs(
XmlDocCommentLocation
.End))
4350
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4351
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4353
if (this.LocationIs(
XmlDocCommentLocation
.End))
4472
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4473
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4475
if (this.LocationIs(
XmlDocCommentLocation
.End))
4603
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Start));
4604
Debug.Assert(!this.LocationIs(
XmlDocCommentLocation
.Exterior));
4606
if (this.LocationIs(
XmlDocCommentLocation
.End))
4714
if (this.LocationIs(
XmlDocCommentLocation
.Start) && this.StyleIs(XmlDocCommentStyle.Delimited))
4728
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4732
else if (this.LocationIs(
XmlDocCommentLocation
.Start) || this.LocationIs(
XmlDocCommentLocation
.Exterior))
4757
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4785
this.MutateLocation(
XmlDocCommentLocation
.End);
4789
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4811
this.MutateLocation(
XmlDocCommentLocation
.End);
4820
this.MutateLocation(
XmlDocCommentLocation
.Interior);
4827
else if (!this.LocationIs(
XmlDocCommentLocation
.End) && this.StyleIs(XmlDocCommentStyle.Delimited))
4834
this.MutateLocation(
XmlDocCommentLocation
.End);
4846
if (this.LocationIs(
XmlDocCommentLocation
.Interior)
4865
if (this.LocationIs(
XmlDocCommentLocation
.Interior))
4882
this.MutateLocation(
XmlDocCommentLocation
.Exterior);