1 implementation of ISingleValueCaseClauseOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8326internal sealed partial class SingleValueCaseClauseOperation : BaseCaseClauseOperation, ISingleValueCaseClauseOperation
19 references to ISingleValueCaseClauseOperation
Microsoft.CodeAnalysis (6)
Generated\Operations.Generated.cs (3)
11191public override IOperation VisitSingleValueCaseClause(ISingleValueCaseClauseOperation operation, object? argument) 11500public virtual void VisitSingleValueCaseClause(ISingleValueCaseClauseOperation operation) => DefaultVisit(operation); 11639public virtual TResult? VisitSingleValueCaseClause(ISingleValueCaseClauseOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\CaseKind.cs (1)
18/// Indicates an <see cref="ISingleValueCaseClauseOperation"/> in C# or VB.
Operations\ControlFlowGraphBuilder.cs (2)
5548handleEqualityCheck(((ISingleValueCaseClauseOperation)caseClause).Value); 5675public override IOperation VisitSingleValueCaseClause(ISingleValueCaseClauseOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
47if (clause is ISingleValueCaseClauseOperation singleValueCase &&
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
86if (clause is not ISingleValueCaseClauseOperation { Value: var value }) 118var value = ((ISingleValueCaseClauseOperation)clause).Value; 197case ISingleValueCaseClauseOperation { Value: IConversionOperation { ConstantValue: { HasValue: true, Value: null } } }:
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchStatementDiagnosticAnalyzer.cs (1)
47if (clause is ISingleValueCaseClauseOperation singleValueCase &&
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (3)
86if (clause is not ISingleValueCaseClauseOperation { Value: var value }) 118var value = ((ISingleValueCaseClauseOperation)clause).Value; 197case ISingleValueCaseClauseOperation { Value: IConversionOperation { ConstantValue: { HasValue: true, Value: null } } }:
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
1835public override void VisitSingleValueCaseClause(ISingleValueCaseClauseOperation operation) 1837LogString(nameof(ISingleValueCaseClauseOperation));
Compilation\TestOperationVisitor.cs (1)
213public override void VisitSingleValueCaseClause(ISingleValueCaseClauseOperation operation)
Diagnostics\OperationTestAnalyzer.cs (2)
353ISingleValueCaseClauseOperation singleValueClause = (ISingleValueCaseClauseOperation)clause;