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