1 implementation of Arms
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9326public ImmutableArray<ISwitchExpressionArmOperation> Arms { get; }
19 references to Arms
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadataFactory.cs (2)
106for (var i = 0; i < switchExpression.Arms.Length; i++) 108var arm = switchExpression.Arms[i];
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7747foreach (var arm in operation.Arms)
Microsoft.CodeAnalysis.CodeStyle (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) 83=> operation.Arms.Any(IsDefault); 114foreach (var arm in operation.Arms)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\PopulateSwitch\AbstractPopulateSwitchExpressionCodeFixProvider.cs (1)
60var arms = switchExpression.Arms;
Microsoft.CodeAnalysis.Features (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) 83=> operation.Arms.Any(IsDefault); 114foreach (var arm in operation.Arms)
src\Analyzers\Core\CodeFixes\PopulateSwitch\AbstractPopulateSwitchExpressionCodeFixProvider.cs (1)
60var arms = switchExpression.Arms;
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (3)
2126LogString($"{nameof(ISwitchExpressionOperation)} ({operation.Arms.Length} arms, IsExhaustive: {operation.IsExhaustive})"); 2129VisitArray(operation.Arms, nameof(operation.Arms), logElementCount: true);
Compilation\TestOperationVisitor.cs (1)
1553var children = operation.Arms.Cast<IOperation>().Prepend(operation.Value);