28 references to NotKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\LanguageParser_Patterns.cs (1)
160if (this.CurrentToken.ContextualKind == SyntaxKind.NotKeyword)
Syntax\SyntaxKindFacts.cs (3)
1188case SyntaxKind.NotKeyword: 1305return SyntaxKind.NotKeyword; 1749case SyntaxKind.NotKeyword:
Syntax\SyntaxNormalizer.cs (1)
938case SyntaxKind.NotKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
CSharpAsAndNullCheckCodeFixProvider.cs (1)
176SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), isPatternExpression.Pattern));
CSharpSyntaxGeneratorInternal.cs (1)
183=> SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), (PatternSyntax)Parenthesize(pattern));
CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider.cs (1)
51Token(SyntaxKind.NotKeyword),
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (2)
1424if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1470or SyntaxKind.NotKeyword
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\NotKeywordRecommender.cs (1)
13: base(SyntaxKind.NotKeyword)
CSharpAsAndNullCheckCodeFixProvider.cs (1)
176SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), isPatternExpression.Pattern));
CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider.cs (1)
51Token(SyntaxKind.NotKeyword),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (12)
Generated\Syntax.Test.xml.Generated.cs (4)
302=> InternalSyntaxFactory.UnaryPattern(InternalSyntaxFactory.Token(SyntaxKind.NotKeyword), GenerateDiscardPattern()); 1869Assert.Equal(SyntaxKind.NotKeyword, node.OperatorToken.Kind); 10278=> SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), GenerateDiscardPattern()); 11845Assert.Equal(SyntaxKind.NotKeyword, node.OperatorToken.Kind());
Parsing\PatternParsingTests.cs (4)
8447N(SyntaxKind.NotKeyword); 8496N(SyntaxKind.NotKeyword); 8631N(SyntaxKind.NotKeyword); 8651N(SyntaxKind.NotKeyword);
Parsing\PatternParsingTests_ListPatterns.cs (3)
604N(SyntaxKind.NotKeyword); 887N(SyntaxKind.NotKeyword); 930N(SyntaxKind.NotKeyword);
Parsing\PatternParsingTests2.cs (1)
464N(SyntaxKind.NotKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxGeneratorInternal.cs (1)
183=> SyntaxFactory.UnaryPattern(SyntaxFactory.Token(SyntaxKind.NotKeyword), (PatternSyntax)Parenthesize(pattern));
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (2)
1424if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern)) 1470or SyntaxKind.NotKeyword