Partilhar via


ISwitchExpressionArmOperation.Locals Property

Definition

Locals declared within the switch arm (e.g. pattern locals and locals declared in the guard) scoped to the arm.

public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol> Locals { get; }
member this.Locals : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol>
Public ReadOnly Property Locals As ImmutableArray(Of ILocalSymbol)

Property Value

Applies to