1 implementation of Pattern
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9843public IPatternOperation Pattern { get; }
12 references to Pattern
ILLink.RoslynAnalyzer (1)
DataFlow\FeatureChecksVisitor.cs (1)
144 return !GetExpectedValueFromPattern (negatedPattern.Pattern);
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7610pattern: (IPatternOperation)VisitRequired(operation.Pattern),
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (1)
76if (negatedPattern.Pattern is ITypePatternOperation typePatternOperation &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
683Pattern as IConstantPatternOperation; 843isPattern = negatedPattern.Pattern; 1007Pattern: ITypePatternOperation typePattern
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (1)
76if (negatedPattern.Pattern is ITypePatternOperation typePatternOperation &&
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
683Pattern as IConstantPatternOperation; 843isPattern = negatedPattern.Pattern; 1007Pattern: ITypePatternOperation typePattern
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1975Visit(operation.Pattern, "Pattern");
Compilation\TestOperationVisitor.cs (1)
1400Assert.Same(operation.Pattern, operation.ChildOperations.Single());