99 references to SyntaxKinds
Microsoft.CodeAnalysis.Workspaces (99)
FindSymbols\FindReferences\FindReferenceCache.cs (2)
249this.SyntaxFacts.GetText(this.SyntaxFacts.SyntaxKinds.NewKeyword), 251this.SyntaxFacts.SyntaxKinds,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
73var syntaxKinds = this.SyntaxFacts.SyntaxKinds;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
81if (tokenToRightOrIn.FullSpan.Start != position && tokenToRightOrIn.RawKind != SyntaxFacts.SyntaxKinds.EndOfFileToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (95)
104if (syntaxFacts.SyntaxKinds.StringLiteralToken == token.RawKind || 105syntaxFacts.SyntaxKinds.InterpolatedStringTextToken == token.RawKind) 675=> trivia.RawKind == syntaxFacts.SyntaxKinds.EndOfLineTrivia; 678=> trivia.RawKind == syntaxFacts.SyntaxKinds.MultiLineCommentTrivia; 681=> trivia.RawKind == syntaxFacts.SyntaxKinds.MultiLineDocCommentTrivia; 684=> trivia.RawKind == syntaxFacts.SyntaxKinds.ShebangDirectiveTrivia; 687=> trivia.RawKind == syntaxFacts.SyntaxKinds.SingleLineCommentTrivia; 690=> trivia.RawKind == syntaxFacts.SyntaxKinds.SingleLineDocCommentTrivia; 693=> trivia.RawKind == syntaxFacts.SyntaxKinds.WhitespaceTrivia; 696=> node?.RawKind == syntaxFacts.SyntaxKinds.SkippedTokensTrivia; 703=> token.RawKind == syntaxFacts.SyntaxKinds.AwaitKeyword; 706=> token.RawKind == syntaxFacts.SyntaxKinds.GlobalKeyword; 713=> token.RawKind == syntaxFacts.SyntaxKinds.CharacterLiteralToken; 716=> token.RawKind == syntaxFacts.SyntaxKinds.StringLiteralToken; 723=> token.RawKind == syntaxFacts.SyntaxKinds.IdentifierToken; 726=> token.RawKind == syntaxFacts.SyntaxKinds.HashToken; 729=> token.RawKind == syntaxFacts.SyntaxKinds.InterpolatedStringTextToken; 736=> node?.RawKind == syntaxFacts.SyntaxKinds.GenericName; 739=> node?.RawKind == syntaxFacts.SyntaxKinds.IdentifierName; 742=> node?.RawKind == syntaxFacts.SyntaxKinds.QualifiedName; 749=> node?.RawKind == syntaxFacts.SyntaxKinds.TupleType; 756=> node?.RawKind == syntaxFacts.SyntaxKinds.CharacterLiteralExpression; 759=> node?.RawKind == syntaxFacts.SyntaxKinds.DefaultLiteralExpression; 762=> node?.RawKind == syntaxFacts.SyntaxKinds.FalseLiteralExpression; 765=> node?.RawKind == syntaxFacts.SyntaxKinds.NumericLiteralExpression; 768=> node?.RawKind == syntaxFacts.SyntaxKinds.NullLiteralExpression; 771=> node?.RawKind == syntaxFacts.SyntaxKinds.StringLiteralExpression; 774=> node?.RawKind == syntaxFacts.SyntaxKinds.TrueLiteralExpression; 781=> node?.RawKind == syntaxFacts.SyntaxKinds.ArrayCreationExpression; 784=> node?.RawKind == syntaxFacts.SyntaxKinds.AwaitExpression; 787=> node?.RawKind == syntaxFacts.SyntaxKinds.BaseExpression; 790=> node?.RawKind == syntaxFacts.SyntaxKinds.ConditionalExpression; 793=> node?.RawKind == syntaxFacts.SyntaxKinds.ConditionalAccessExpression; 796=> node?.RawKind == syntaxFacts.SyntaxKinds.ImplicitArrayCreationExpression; 799=> node != null && node.RawKind == syntaxFacts.SyntaxKinds.ImplicitObjectCreationExpression; 802=> node?.RawKind == syntaxFacts.SyntaxKinds.IndexExpression; 805=> node?.RawKind == syntaxFacts.SyntaxKinds.InterpolatedStringExpression; 808=> node?.RawKind == syntaxFacts.SyntaxKinds.Interpolation; 811=> node?.RawKind == syntaxFacts.SyntaxKinds.InterpolatedStringText; 814=> node?.RawKind == syntaxFacts.SyntaxKinds.InvocationExpression; 817=> node?.RawKind == syntaxFacts.SyntaxKinds.IsTypeExpression; 820=> node?.RawKind == syntaxFacts.SyntaxKinds.IsNotTypeExpression; 823=> node?.RawKind == syntaxFacts.SyntaxKinds.IsPatternExpression; 826=> node?.RawKind == syntaxFacts.SyntaxKinds.LogicalAndExpression; 829=> node?.RawKind == syntaxFacts.SyntaxKinds.LogicalOrExpression; 832=> node?.RawKind == syntaxFacts.SyntaxKinds.LogicalNotExpression; 835=> node?.RawKind == syntaxFacts.SyntaxKinds.ObjectCreationExpression; 838=> node?.RawKind == syntaxFacts.SyntaxKinds.ParenthesizedExpression; 841=> node?.RawKind == syntaxFacts.SyntaxKinds.QueryExpression; 844=> node?.RawKind == syntaxFacts.SyntaxKinds.RangeExpression; 847=> node?.RawKind == syntaxFacts.SyntaxKinds.RefExpression; 850=> node?.RawKind == syntaxFacts.SyntaxKinds.SimpleMemberAccessExpression; 853=> node?.RawKind == syntaxFacts.SyntaxKinds.ThisExpression; 856=> node != null && node.RawKind == syntaxFacts.SyntaxKinds.ThrowExpression; 859=> node?.RawKind == syntaxFacts.SyntaxKinds.TupleExpression; 862=> node.ChildNodes().Any(c => c.RawKind == syntaxFacts.SyntaxKinds.GlobalStatement); 869=> node?.RawKind == syntaxFacts.SyntaxKinds.AndPattern; 872=> node?.RawKind == syntaxFacts.SyntaxKinds.ConstantPattern; 875=> node?.RawKind == syntaxFacts.SyntaxKinds.DeclarationPattern; 878=> node?.RawKind == syntaxFacts.SyntaxKinds.ListPattern; 881=> node?.RawKind == syntaxFacts.SyntaxKinds.NotPattern; 884=> node?.RawKind == syntaxFacts.SyntaxKinds.OrPattern; 887=> node?.RawKind == syntaxFacts.SyntaxKinds.ParenthesizedPattern; 890=> node?.RawKind == syntaxFacts.SyntaxKinds.RecursivePattern; 893=> node?.RawKind == syntaxFacts.SyntaxKinds.RelationalPattern; 896=> node?.RawKind == syntaxFacts.SyntaxKinds.TypePattern; 899=> node?.RawKind == syntaxFacts.SyntaxKinds.VarPattern; 906=> node?.RawKind == syntaxFacts.SyntaxKinds.ExpressionStatement; 909=> node?.RawKind == syntaxFacts.SyntaxKinds.ForEachStatement; 912=> node?.RawKind == syntaxFacts.SyntaxKinds.ForStatement; 915=> node?.RawKind == syntaxFacts.SyntaxKinds.IfStatement; 918=> node?.RawKind == syntaxFacts.SyntaxKinds.LocalDeclarationStatement; 921=> node != null && node.RawKind == syntaxFacts.SyntaxKinds.LocalFunctionStatement; 924=> node?.RawKind == syntaxFacts.SyntaxKinds.LockStatement; 927=> node?.RawKind == syntaxFacts.SyntaxKinds.ReturnStatement; 930=> node?.RawKind == syntaxFacts.SyntaxKinds.ThrowStatement; 933=> node?.RawKind == syntaxFacts.SyntaxKinds.UsingStatement; 936=> node?.RawKind == syntaxFacts.SyntaxKinds.WhileStatement; 939=> node?.RawKind == syntaxFacts.SyntaxKinds.YieldReturnStatement; 946=> node?.RawKind == syntaxFacts.SyntaxKinds.Attribute; 949=> node?.RawKind == syntaxFacts.SyntaxKinds.ClassDeclaration; 952=> node?.RawKind == syntaxFacts.SyntaxKinds.ConstructorDeclaration; 955=> node?.RawKind == syntaxFacts.SyntaxKinds.EnumDeclaration; 961=> node?.RawKind == syntaxFacts.SyntaxKinds.InterfaceDeclaration; 964=> node?.RawKind == syntaxFacts.SyntaxKinds.Parameter; 967=> node?.RawKind == syntaxFacts.SyntaxKinds.TypeConstraint; 970=> node?.RawKind == syntaxFacts.SyntaxKinds.VariableDeclarator; 973=> node?.RawKind == syntaxFacts.SyntaxKinds.FieldDeclaration; 976=> node?.RawKind == syntaxFacts.SyntaxKinds.PropertyDeclaration; 979=> node?.RawKind == syntaxFacts.SyntaxKinds.StructDeclaration; 982=> node?.RawKind == syntaxFacts.SyntaxKinds.TypeArgumentList; 989=> node?.RawKind == syntaxFacts.SyntaxKinds.ElseClause; 991=> node?.RawKind == syntaxFacts.SyntaxKinds.EqualsValueClause; 998=> node?.RawKind == syntaxFacts.SyntaxKinds.ImplicitElementAccess; 1001=> node?.RawKind == syntaxFacts.SyntaxKinds.IndexerMemberCref;