102 references to SyntaxKinds
Microsoft.CodeAnalysis.Workspaces (102)
FindSymbols\FindReferences\FindReferenceCache.cs (2)
249
this.SyntaxFacts.GetText(this.SyntaxFacts.
SyntaxKinds
.NewKeyword),
251
this.SyntaxFacts.
SyntaxKinds
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
73
var syntaxKinds = this.SyntaxFacts.
SyntaxKinds
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
81
if (tokenToRightOrIn.FullSpan.Start != position && tokenToRightOrIn.RawKind != SyntaxFacts.
SyntaxKinds
.EndOfFileToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (97)
104
if (syntaxFacts.
SyntaxKinds
.StringLiteralToken == token.RawKind ||
105
syntaxFacts.
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;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NullableHelpers.cs (1)
76
assignmentOperation.Syntax.RawKind == semanticFacts.SyntaxFacts.
SyntaxKinds
.SimpleAssignmentExpression)