111 references to SyntaxKinds
Microsoft.CodeAnalysis.CodeStyle (111)
src\Analyzers\Core\Analyzers\SimplifyBooleanExpression\AbstractSimplifyConditionalDiagnosticAnalyzer.cs (1)
59var syntaxKinds = SyntaxFacts.SyntaxKinds;
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
47var syntaxKinds = GetSyntaxFacts().SyntaxKinds;
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.cs (2)
42var syntaxKinds = GetSyntaxFacts().SyntaxKinds; 67var syntaxKinds = syntaxFacts.SyntaxKinds;
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
105var syntaxKinds = this.SyntaxFacts.SyntaxKinds;
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (1)
316if (this.SyntaxFacts.SyntaxKinds.CollectionInitializerExpression == argumentExpression.RawKind)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
99var binaryKind = _syntaxFacts.SyntaxKinds.Convert<TSyntaxKind>(binaryExpression.RawKind);
src\Analyzers\Core\Analyzers\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
43var syntaxKinds = GetSyntaxFacts().SyntaxKinds;
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (2)
100var syntaxKinds = this.SyntaxFacts.SyntaxKinds; 251var syntaxKinds = syntaxFacts.SyntaxKinds;
src\Analyzers\Core\Analyzers\UseObjectInitializer\AbstractUseObjectInitializerDiagnosticAnalyzer.cs (1)
72var syntaxKinds = GetSyntaxFacts().SyntaxKinds;
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
79var syntaxKinds = GetSyntaxFacts().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 (97)
104if (syntaxFacts.SyntaxKinds.StringLiteralToken == token.RawKind || 105syntaxFacts.SyntaxKinds.InterpolatedStringTextToken == token.RawKind) 685=> trivia.RawKind == syntaxFacts.SyntaxKinds.EndOfLineTrivia; 688=> trivia.RawKind == syntaxFacts.SyntaxKinds.MultiLineCommentTrivia; 691=> trivia.RawKind == syntaxFacts.SyntaxKinds.MultiLineDocCommentTrivia; 694=> trivia.RawKind == syntaxFacts.SyntaxKinds.ShebangDirectiveTrivia; 697=> trivia.RawKind == syntaxFacts.SyntaxKinds.SingleLineCommentTrivia; 700=> trivia.RawKind == syntaxFacts.SyntaxKinds.SingleLineDocCommentTrivia; 703=> trivia.RawKind == syntaxFacts.SyntaxKinds.WhitespaceTrivia; 706=> node?.RawKind == syntaxFacts.SyntaxKinds.SkippedTokensTrivia; 713=> token.RawKind == syntaxFacts.SyntaxKinds.AwaitKeyword; 716=> token.RawKind == syntaxFacts.SyntaxKinds.GlobalKeyword; 723=> token.RawKind == syntaxFacts.SyntaxKinds.CharacterLiteralToken; 726=> token.RawKind == syntaxFacts.SyntaxKinds.StringLiteralToken; 733=> token.RawKind == syntaxFacts.SyntaxKinds.IdentifierToken; 736=> token.RawKind == syntaxFacts.SyntaxKinds.HashToken; 739=> token.RawKind == syntaxFacts.SyntaxKinds.InterpolatedStringTextToken; 746=> node?.RawKind == syntaxFacts.SyntaxKinds.AliasQualifiedName; 749=> node?.RawKind == syntaxFacts.SyntaxKinds.GenericName; 752=> node?.RawKind == syntaxFacts.SyntaxKinds.IdentifierName; 755=> node?.RawKind == syntaxFacts.SyntaxKinds.QualifiedName; 762=> node?.RawKind == syntaxFacts.SyntaxKinds.TupleType; 769=> node?.RawKind == syntaxFacts.SyntaxKinds.CharacterLiteralExpression; 772=> node?.RawKind == syntaxFacts.SyntaxKinds.DefaultLiteralExpression; 775=> node?.RawKind == syntaxFacts.SyntaxKinds.FalseLiteralExpression; 778=> node?.RawKind == syntaxFacts.SyntaxKinds.NumericLiteralExpression; 781=> node?.RawKind == syntaxFacts.SyntaxKinds.NullLiteralExpression; 784=> node?.RawKind == syntaxFacts.SyntaxKinds.StringLiteralExpression; 787=> node?.RawKind == syntaxFacts.SyntaxKinds.TrueLiteralExpression; 794=> node?.RawKind == syntaxFacts.SyntaxKinds.ArrayCreationExpression; 797=> node?.RawKind == syntaxFacts.SyntaxKinds.AwaitExpression; 800=> node?.RawKind == syntaxFacts.SyntaxKinds.BaseExpression; 803=> node?.RawKind == syntaxFacts.SyntaxKinds.ConditionalExpression; 806=> node?.RawKind == syntaxFacts.SyntaxKinds.ConditionalAccessExpression; 809=> node?.RawKind == syntaxFacts.SyntaxKinds.ImplicitArrayCreationExpression; 812=> node != null && node.RawKind == syntaxFacts.SyntaxKinds.ImplicitObjectCreationExpression; 815=> node?.RawKind == syntaxFacts.SyntaxKinds.IndexExpression; 818=> node?.RawKind == syntaxFacts.SyntaxKinds.InterpolatedStringExpression; 821=> node?.RawKind == syntaxFacts.SyntaxKinds.Interpolation; 824=> node?.RawKind == syntaxFacts.SyntaxKinds.InterpolatedStringText; 827=> node?.RawKind == syntaxFacts.SyntaxKinds.InvocationExpression; 830=> node?.RawKind == syntaxFacts.SyntaxKinds.IsTypeExpression; 833=> node?.RawKind == syntaxFacts.SyntaxKinds.IsNotTypeExpression; 836=> node?.RawKind == syntaxFacts.SyntaxKinds.IsPatternExpression; 839=> node?.RawKind == syntaxFacts.SyntaxKinds.LogicalAndExpression; 842=> node?.RawKind == syntaxFacts.SyntaxKinds.LogicalOrExpression; 845=> node?.RawKind == syntaxFacts.SyntaxKinds.LogicalNotExpression; 848=> node?.RawKind == syntaxFacts.SyntaxKinds.ObjectCreationExpression; 851=> node?.RawKind == syntaxFacts.SyntaxKinds.ParenthesizedExpression; 854=> node?.RawKind == syntaxFacts.SyntaxKinds.QueryExpression; 857=> node?.RawKind == syntaxFacts.SyntaxKinds.RangeExpression; 860=> node?.RawKind == syntaxFacts.SyntaxKinds.RefExpression; 863=> node?.RawKind == syntaxFacts.SyntaxKinds.SimpleMemberAccessExpression; 866=> node?.RawKind == syntaxFacts.SyntaxKinds.ThisExpression; 869=> node != null && node.RawKind == syntaxFacts.SyntaxKinds.ThrowExpression; 872=> node?.RawKind == syntaxFacts.SyntaxKinds.TupleExpression; 875=> node.ChildNodes().Any(c => c.RawKind == syntaxFacts.SyntaxKinds.GlobalStatement); 882=> node?.RawKind == syntaxFacts.SyntaxKinds.AndPattern; 885=> node?.RawKind == syntaxFacts.SyntaxKinds.ConstantPattern; 888=> node?.RawKind == syntaxFacts.SyntaxKinds.DeclarationPattern; 891=> node?.RawKind == syntaxFacts.SyntaxKinds.ListPattern; 894=> node?.RawKind == syntaxFacts.SyntaxKinds.NotPattern; 897=> node?.RawKind == syntaxFacts.SyntaxKinds.OrPattern; 900=> node?.RawKind == syntaxFacts.SyntaxKinds.ParenthesizedPattern; 903=> node?.RawKind == syntaxFacts.SyntaxKinds.RecursivePattern; 906=> node?.RawKind == syntaxFacts.SyntaxKinds.RelationalPattern; 909=> node?.RawKind == syntaxFacts.SyntaxKinds.TypePattern; 912=> node?.RawKind == syntaxFacts.SyntaxKinds.VarPattern; 919=> node?.RawKind == syntaxFacts.SyntaxKinds.ExpressionStatement; 922=> node?.RawKind == syntaxFacts.SyntaxKinds.ForEachStatement; 925=> node?.RawKind == syntaxFacts.SyntaxKinds.ForStatement; 928=> node?.RawKind == syntaxFacts.SyntaxKinds.IfStatement; 931=> node?.RawKind == syntaxFacts.SyntaxKinds.LocalDeclarationStatement; 934=> node != null && node.RawKind == syntaxFacts.SyntaxKinds.LocalFunctionStatement; 937=> node?.RawKind == syntaxFacts.SyntaxKinds.LockStatement; 940=> node?.RawKind == syntaxFacts.SyntaxKinds.ReturnStatement; 943=> node?.RawKind == syntaxFacts.SyntaxKinds.ThrowStatement; 946=> node?.RawKind == syntaxFacts.SyntaxKinds.UsingStatement; 949=> node?.RawKind == syntaxFacts.SyntaxKinds.WhileStatement; 952=> node?.RawKind == syntaxFacts.SyntaxKinds.YieldReturnStatement; 959=> node?.RawKind == syntaxFacts.SyntaxKinds.Attribute; 962=> node?.RawKind == syntaxFacts.SyntaxKinds.ClassDeclaration; 965=> node?.RawKind == syntaxFacts.SyntaxKinds.ConstructorDeclaration; 968=> node?.RawKind == syntaxFacts.SyntaxKinds.EnumDeclaration; 974=> node?.RawKind == syntaxFacts.SyntaxKinds.InterfaceDeclaration; 977=> node?.RawKind == syntaxFacts.SyntaxKinds.Parameter; 980=> node?.RawKind == syntaxFacts.SyntaxKinds.TypeConstraint; 983=> node?.RawKind == syntaxFacts.SyntaxKinds.VariableDeclarator; 986=> node?.RawKind == syntaxFacts.SyntaxKinds.FieldDeclaration; 989=> node?.RawKind == syntaxFacts.SyntaxKinds.PropertyDeclaration; 992=> node?.RawKind == syntaxFacts.SyntaxKinds.StructDeclaration; 995=> node?.RawKind == syntaxFacts.SyntaxKinds.TypeArgumentList; 1002=> node?.RawKind == syntaxFacts.SyntaxKinds.ElseClause; 1004=> node?.RawKind == syntaxFacts.SyntaxKinds.EqualsValueClause; 1011=> node?.RawKind == syntaxFacts.SyntaxKinds.ImplicitElementAccess; 1014=> node?.RawKind == syntaxFacts.SyntaxKinds.IndexerMemberCref; 1017=> node?.RawKind == syntaxFacts.SyntaxKinds.PrimaryConstructorBaseType;