1 implementation of Pattern
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8157
public IPatternOperation
Pattern
{ get; }
13 references to Pattern
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (2)
5608
var pattern = (IPatternOperation)VisitRequired(patternClause.
Pattern
);
5610
patternClause.
Pattern
.Syntax, booleanType, isImplicit: true);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
52
else if (clause is IPatternCaseClauseOperation { Guard: null,
Pattern
: IConstantPatternOperation constantPattern } &&
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
39
if (PopulateSwitchExpressionHelpers.IsDefault(patternCaseClause.
Pattern
))
138
if (((IPatternCaseClauseOperation)clause).
Pattern
is IBinaryPatternOperation pattern)
200
case IPatternCaseClauseOperation {
Pattern
: var pattern, Guard: null }:
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
52
else if (clause is IPatternCaseClauseOperation { Guard: null,
Pattern
: IConstantPatternOperation constantPattern } &&
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
39
if (PopulateSwitchExpressionHelpers.IsDefault(patternCaseClause.
Pattern
))
138
if (((IPatternCaseClauseOperation)clause).
Pattern
is IBinaryPatternOperation pattern)
200
case IPatternCaseClauseOperation {
Pattern
: var pattern, Guard: null }:
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
2068
Visit(operation.
Pattern
, "Pattern");
Compilation\TestOperationVisitor.cs (2)
1585
AssertEx.Equal(new[] { operation.
Pattern
, operation.Guard }, operation.ChildOperations);
1589
Assert.Same(operation.
Pattern
, operation.ChildOperations.Single());