20 references to NotKeyword
Microsoft.CodeAnalysis.CSharp (10)
_generated\0\Syntax.xml.Main.Generated.cs (2)
3903if (operatorToken.Kind() != SyntaxKind.NotKeyword) throw new ArgumentException(nameof(operatorToken)); 3910=> SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), pattern);
_generated\1\Syntax.xml.Internal.Generated.cs (2)
30790if (operatorToken.Kind != SyntaxKind.NotKeyword) throw new ArgumentException(nameof(operatorToken)); 36217if (operatorToken.Kind != SyntaxKind.NotKeyword) throw new ArgumentException(nameof(operatorToken));
Parser\LanguageParser_Patterns.cs (2)
160if (this.CurrentToken.ContextualKind == SyntaxKind.NotKeyword) 177SyntaxFactory.MissingToken(SyntaxKind.NotKeyword),
Syntax\SyntaxKindFacts.cs (3)
1292case SyntaxKind.NotKeyword: 1414return SyntaxKind.NotKeyword; 1868case SyntaxKind.NotKeyword:
Syntax\SyntaxNormalizer.cs (1)
960case SyntaxKind.NotKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
66public static readonly SyntaxToken NotKeyword = Token(SyntaxKind.NotKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1446if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1494or SyntaxKind.NotKeyword
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\NotKeywordRecommender.cs (1)
10internal sealed class NotKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.NotKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
66public static readonly SyntaxToken NotKeyword = Token(SyntaxKind.NotKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1446if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1494or SyntaxKind.NotKeyword
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
66public static readonly SyntaxToken NotKeyword = Token(SyntaxKind.NotKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1446if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1494or SyntaxKind.NotKeyword