5 interfaces inheriting from ICaseClauseOperation
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (5)
2698public interface IDefaultCaseClauseOperation : ICaseClauseOperation 2712public interface IPatternCaseClauseOperation : ICaseClauseOperation 2740public interface IRangeCaseClauseOperation : ICaseClauseOperation 2764public interface IRelationalCaseClauseOperation : ICaseClauseOperation 2789public interface ISingleValueCaseClauseOperation : ICaseClauseOperation
1 implementation of ICaseClauseOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8124internal abstract partial class BaseCaseClauseOperation : Operation, ICaseClauseOperation
28 references to ICaseClauseOperation
Microsoft.CodeAnalysis (7)
Generated\OperationKind.Generated.cs (2)
187/// <summary>Indicates an <see cref="ICaseClauseOperation"/>. This is further differentiated by <see cref="ICaseClauseOperation.CaseKind"/>.</summary>
Generated\Operations.Generated.cs (3)
2649ImmutableArray<ICaseClauseOperation> Clauses { get; } 8052internal SwitchCaseOperation(ImmutableArray<ICaseClauseOperation> clauses, ImmutableArray<IOperation> body, ImmutableArray<ILocalSymbol> locals, IOperation? condition, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 8060public ImmutableArray<ICaseClauseOperation> Clauses { get; }
Operations\ControlFlowGraphBuilder.cs (2)
5520foreach (ICaseClauseOperation caseClause in section.Clauses) 5539void handleCase(ICaseClauseOperation caseClause, BasicBlockBuilder body, [DisallowNull] BasicBlockBuilder? nextCase)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
45foreach (var clause in opCase.Clauses)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (4)
31foreach (var clause in switchCase.Clauses) 84foreach (var clause in switchCase.Clauses) 101foreach (var clause in switchCase.Clauses) 193foreach (var clause in @case.Clauses)
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
2697ImmutableArray<ICaseClauseOperation> clauses = CreateFromArray<BoundSwitchLabel, ICaseClauseOperation>(boundSwitchSection.SwitchLabels); 2745private ICaseClauseOperation CreateBoundSwitchLabelOperation(BoundSwitchLabel boundSwitchLabel)
Microsoft.CodeAnalysis.Features (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
45foreach (var clause in opCase.Clauses)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (4)
31foreach (var clause in switchCase.Clauses) 84foreach (var clause in switchCase.Clauses) 101foreach (var clause in switchCase.Clauses) 193foreach (var clause in @case.Clauses)
Microsoft.CodeAnalysis.Test.Utilities (8)
Compilation\OperationTreeVerifier.cs (3)
528foreach (ICaseClauseOperation c in section.Clauses) 1821private void LogCaseClauseCommon(ICaseClauseOperation operation) 2066Assert.Same(((ICaseClauseOperation)operation).Label, operation.Label);
Compilation\TestOperationVisitor.cs (2)
220private static void VisitCaseClauseOperation(ICaseClauseOperation operation) 1581Assert.Same(((ICaseClauseOperation)operation).Label, operation.Label);
Diagnostics\OperationTestAnalyzer.cs (3)
346foreach (ICaseClauseOperation clause in switchCase.Clauses) 902var caseClause = (ICaseClauseOperation)operationContext.Operation;