19 references to NotPattern
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpSyntaxKinds.cs (1)
113public int? NotPattern => (int)SyntaxKind.NotPattern;
CSharpUseNullPropagationDiagnosticAnalyzer.cs (1)
53if (pattern is UnaryPatternSyntax(SyntaxKind.NotPattern) notPattern)
SpacingFormattingRule.cs (1)
458if (previousToken.Parent.IsKind(SyntaxKind.NotPattern))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
1424if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern))
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Semantics\PatternMatchingTests3.cs (2)
4259Assert.Equal(SyntaxKind.NotPattern, pattern.Kind()); 4493Assert.Equal(SyntaxKind.NotPattern, pattern.Kind());
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
221if (current.IsKind(SyntaxKind.NotPattern))
CSharpUseNullPropagationDiagnosticAnalyzer.cs (1)
53if (pattern is UnaryPatternSyntax(SyntaxKind.NotPattern) notPattern)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Parsing\PatternParsingTests.cs (4)
8445N(SyntaxKind.NotPattern); 8494N(SyntaxKind.NotPattern); 8629N(SyntaxKind.NotPattern); 8649N(SyntaxKind.NotPattern);
Parsing\PatternParsingTests_ListPatterns.cs (3)
602N(SyntaxKind.NotPattern); 885N(SyntaxKind.NotPattern); 928N(SyntaxKind.NotPattern);
Parsing\PatternParsingTests2.cs (1)
462N(SyntaxKind.NotPattern);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxKinds.cs (1)
113public int? NotPattern => (int)SyntaxKind.NotPattern;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
1424if (leftToken.IsKind(SyntaxKind.NotKeyword) && leftToken.Parent.IsKind(SyntaxKind.NotPattern))
SpacingFormattingRule.cs (1)
458if (previousToken.Parent.IsKind(SyntaxKind.NotPattern))