1 write to Kind
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxToken.cs (1)
31
Kind
= kind;
49 references to Kind
Microsoft.AspNetCore.App.Analyzers (49)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNodeOrToken.cs (2)
25
Debug.Assert((int)(object)token.
Kind
!= 0);
37
public TSyntaxKind Kind => Node?.Kind ?? Token.
Kind
;
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxToken.cs (1)
52
kind.HasValue ? kind.Value :
Kind
,
Infrastructure\RoutePattern\RoutePatternNodes.cs (19)
20
Debug.Assert(endOfFileToken.
Kind
== RoutePatternKind.EndOfFile);
72
Debug.Assert(openBracketToken.
Kind
== RoutePatternKind.OpenBracketToken);
73
Debug.Assert(textToken.
Kind
== RoutePatternKind.ReplacementToken);
74
Debug.Assert(closeBracketToken.
Kind
== RoutePatternKind.CloseBracketToken);
108
Debug.Assert(openBraceToken.
Kind
== RoutePatternKind.OpenBraceToken);
109
Debug.Assert(closeBraceToken.
Kind
== RoutePatternKind.CloseBraceToken);
146
Debug.Assert(literalToken.
Kind
== RoutePatternKind.Literal);
170
Debug.Assert(separatorToken.
Kind
== RoutePatternKind.DotToken);
194
Debug.Assert(separatorToken.
Kind
== RoutePatternKind.SlashToken);
218
Debug.Assert(asteriskToken.
Kind
== RoutePatternKind.AsteriskToken);
242
Debug.Assert(questionMarkToken.
Kind
== RoutePatternKind.QuestionMarkToken);
266
Debug.Assert(equalsToken.
Kind
== RoutePatternKind.EqualsToken);
267
Debug.Assert(defaultValueToken.
Kind
== RoutePatternKind.DefaultValueToken);
294
Debug.Assert(parameterNameToken.
Kind
== RoutePatternKind.ParameterNameToken);
318
Debug.Assert(colonToken.
Kind
== RoutePatternKind.ColonToken);
345
Debug.Assert(openParenToken.
Kind
== RoutePatternKind.OpenParenToken);
346
Debug.Assert(argumentToken.
Kind
== RoutePatternKind.PolicyFragmentToken);
347
Debug.Assert(closeParenToken.
Kind
== RoutePatternKind.CloseParenToken);
377
Debug.Assert(argumentToken.
Kind
== RoutePatternKind.PolicyFragmentToken);
Infrastructure\RoutePattern\RoutePatternParser.cs (25)
66
Debug.Assert(_currentToken.
Kind
== RoutePatternKind.EndOfFile);
352
while (_currentToken.
Kind
!= RoutePatternKind.EndOfFile)
361
=> _currentToken.
Kind
switch
371
while (_currentToken.
Kind
!= RoutePatternKind.EndOfFile &&
372
_currentToken.
Kind
!= RoutePatternKind.SlashToken)
382
if (_currentToken.
Kind
== RoutePatternKind.OpenBraceToken)
388
if (_currentToken.
Kind
!= RoutePatternKind.OpenBraceToken)
397
else if (_currentToken.
Kind
== RoutePatternKind.OpenBracketToken && _routePatternOptions.SupportTokenReplacement)
403
if (_currentToken.
Kind
!= RoutePatternKind.OpenBracketToken)
430
if (_currentToken.
Kind
!= RoutePatternKind.EndOfFile)
451
if (_currentToken.
Kind
!= RoutePatternKind.EndOfFile)
478
if (_currentToken.
Kind
== kind)
497
if (_currentToken.
Kind
== RoutePatternKind.AsteriskToken)
503
if (_currentToken.
Kind
== RoutePatternKind.AsteriskToken)
527
if (_currentToken.
Kind
!= RoutePatternKind.EndOfFile)
538
while (_currentToken.
Kind
!= RoutePatternKind.EndOfFile)
540
switch (_currentToken.
Kind
)
575
while (_currentToken.
Kind
!= RoutePatternKind.EndOfFile &&
576
_currentToken.
Kind
!= RoutePatternKind.CloseBraceToken &&
577
_currentToken.
Kind
!= RoutePatternKind.ColonToken &&
578
_currentToken.
Kind
!= RoutePatternKind.QuestionMarkToken &&
579
_currentToken.
Kind
!= RoutePatternKind.EqualsToken)
583
if (_currentToken.
Kind
== RoutePatternKind.OpenParenToken)
594
_currentToken.
Kind
== RoutePatternKind.EndOfFile
619
return token.
Kind
== RoutePatternKind.EndOfFile
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (2)
181
switch (token.
Kind
)
206
switch (token.
Kind
)