1 implementation of ISwitchExpressionArmOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9384internal sealed partial class SwitchExpressionArmOperation : Operation, ISwitchExpressionArmOperation
30 references to ISwitchExpressionArmOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
73 case ISwitchExpressionArmOperation:
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\DetectAmbiguousRoutes.cs (1)
79ISwitchExpressionArmOperation)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadataFactory.cs (2)
62ISwitchExpressionArmOperation? armOperation = null) 108var arm = switchExpression.Arms[i];
Microsoft.CodeAnalysis (8)
Generated\OperationKind.Generated.cs (1)
242/// <summary>Indicates an <see cref="ISwitchExpressionArmOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
3287ImmutableArray<ISwitchExpressionArmOperation> Arms { get; } 9317internal SwitchExpressionOperation(IOperation value, ImmutableArray<ISwitchExpressionArmOperation> arms, bool isExhaustive, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, bool isImplicit) 9326public ImmutableArray<ISwitchExpressionArmOperation> Arms { get; } 11276public override IOperation VisitSwitchExpressionArm(ISwitchExpressionArmOperation operation, object? argument) 11522public virtual void VisitSwitchExpressionArm(ISwitchExpressionArmOperation operation) => DefaultVisit(operation); 11661public virtual TResult? VisitSwitchExpressionArm(ISwitchExpressionArmOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7747foreach (var arm in operation.Arms)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchExpressionDiagnosticAnalyzer.cs (1)
40foreach (var arm in operation.Arms)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (4)
42foreach (var arm in operation.Arms) 54foreach (var arm in operation.Arms) 85public static bool IsDefault(ISwitchExpressionArmOperation arm) 114foreach (var arm in operation.Arms)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
90case ISwitchExpressionArmOperation:
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
2707ImmutableArray<ISwitchExpressionArmOperation> arms = CreateFromArray<BoundSwitchExpressionArm, ISwitchExpressionArmOperation>(boundSwitchExpression.SwitchArms); 2730private ISwitchExpressionArmOperation CreateBoundSwitchExpressionArmOperation(BoundSwitchExpressionArm boundSwitchExpressionArm)
Microsoft.CodeAnalysis.Features (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchExpressionDiagnosticAnalyzer.cs (1)
40foreach (var arm in operation.Arms)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (4)
42foreach (var arm in operation.Arms) 54foreach (var arm in operation.Arms) 85public static bool IsDefault(ISwitchExpressionArmOperation arm) 114foreach (var arm in operation.Arms)
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
2132public override void VisitSwitchExpressionArm(ISwitchExpressionArmOperation operation) 2134LogString($"{nameof(ISwitchExpressionArmOperation)} ({operation.Locals.Length} locals)");
Compilation\TestOperationVisitor.cs (1)
1557public override void VisitSwitchExpressionArm(ISwitchExpressionArmOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
90case ISwitchExpressionArmOperation: