29 references to NotKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\LanguageParser_Patterns.cs (1)
160if (this.CurrentToken.ContextualKind == SyntaxKind.NotKeyword)
Syntax\SyntaxKindFacts.cs (3)
1221case SyntaxKind.NotKeyword: 1339return SyntaxKind.NotKeyword; 1785case SyntaxKind.NotKeyword:
Syntax\SyntaxNormalizer.cs (1)
938case SyntaxKind.NotKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
54public static readonly SyntaxToken NotKeyword = Token(SyntaxKind.NotKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1438if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1486or SyntaxKind.NotKeyword
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\NotKeywordRecommender.cs (1)
13: base(SyntaxKind.NotKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (17)
Generated\Syntax.Test.xml.Generated.cs (4)
314=> InternalSyntaxFactory.UnaryPattern(InternalSyntaxFactory.Token(SyntaxKind.NotKeyword), GenerateDiscardPattern()); 1930Assert.Equal(SyntaxKind.NotKeyword, node.OperatorToken.Kind); 10530=> SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), GenerateDiscardPattern()); 12146Assert.Equal(SyntaxKind.NotKeyword, node.OperatorToken.Kind());
Parsing\PatternParsingTests.cs (4)
8408N(SyntaxKind.NotKeyword); 8457N(SyntaxKind.NotKeyword); 8592N(SyntaxKind.NotKeyword); 8612N(SyntaxKind.NotKeyword);
Parsing\PatternParsingTests_ListPatterns.cs (3)
604N(SyntaxKind.NotKeyword); 887N(SyntaxKind.NotKeyword); 930N(SyntaxKind.NotKeyword);
Parsing\PatternParsingTests2.cs (6)
465N(SyntaxKind.NotKeyword); 1098N(SyntaxKind.NotKeyword); 1119N(SyntaxKind.NotKeyword); 1174N(SyntaxKind.NotKeyword); 1195N(SyntaxKind.NotKeyword); 1239N(SyntaxKind.NotKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
54public static readonly SyntaxToken NotKeyword = Token(SyntaxKind.NotKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1438if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1486or SyntaxKind.NotKeyword