1 implementation of IPatternCaseClauseOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8148internal sealed partial class PatternCaseClauseOperation : BaseCaseClauseOperation, IPatternCaseClauseOperation
21 references to IPatternCaseClauseOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
52 case IPatternCaseClauseOperation:
Microsoft.CodeAnalysis (7)
Generated\Operations.Generated.cs (3)
11176public override IOperation VisitPatternCaseClause(IPatternCaseClauseOperation operation, object? argument) 11497public virtual void VisitPatternCaseClause(IPatternCaseClauseOperation operation) => DefaultVisit(operation); 11636public virtual TResult? VisitPatternCaseClause(IPatternCaseClauseOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\CaseKind.cs (1)
38/// Indicates an <see cref="IPatternCaseClauseOperation" /> in C#.
Operations\ControlFlowGraphBuilder.cs (3)
5604var patternClause = (IPatternCaseClauseOperation)caseClause; 5695public override IOperation VisitPatternCaseClause(IPatternCaseClauseOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
52else if (clause is IPatternCaseClauseOperation { Guard: null, Pattern: IConstantPatternOperation constantPattern } &&
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
38case IPatternCaseClauseOperation patternCaseClause: 138if (((IPatternCaseClauseOperation)clause).Pattern is IBinaryPatternOperation pattern) 200case IPatternCaseClauseOperation { Pattern: var pattern, Guard: null }:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
69case IPatternCaseClauseOperation:
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
52else if (clause is IPatternCaseClauseOperation { Guard: null, Pattern: IConstantPatternOperation constantPattern } &&
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
38case IPatternCaseClauseOperation patternCaseClause: 138if (((IPatternCaseClauseOperation)clause).Pattern is IBinaryPatternOperation pattern) 200case IPatternCaseClauseOperation { Pattern: var pattern, Guard: null }:
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
2062public override void VisitPatternCaseClause(IPatternCaseClauseOperation operation) 2064LogString(nameof(IPatternCaseClauseOperation));
Compilation\TestOperationVisitor.cs (1)
1577public override void VisitPatternCaseClause(IPatternCaseClauseOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
69case IPatternCaseClauseOperation: