OperationExtensions.GetDeclaredVariables Method

Definition

Overloads

GetDeclaredVariables(IVariableDeclarationGroupOperation)

Gets all the declared local variables in the given declarationGroup.

GetDeclaredVariables(IVariableDeclarationOperation)

Gets all the declared local variables in the given declaration.

GetDeclaredVariables(IVariableDeclarationGroupOperation)

Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs

Gets all the declared local variables in the given declarationGroup.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ILocalSymbol ^> GetDeclaredVariables(Microsoft::CodeAnalysis::Operations::IVariableDeclarationGroupOperation ^ declarationGroup);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol> GetDeclaredVariables (this Microsoft.CodeAnalysis.Operations.IVariableDeclarationGroupOperation declarationGroup);
static member GetDeclaredVariables : Microsoft.CodeAnalysis.Operations.IVariableDeclarationGroupOperation -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol>
<Extension()>
Public Function GetDeclaredVariables (declarationGroup As IVariableDeclarationGroupOperation) As ImmutableArray(Of ILocalSymbol)

Parameters

declarationGroup
IVariableDeclarationGroupOperation

Variable declaration group

Returns

Applies to

GetDeclaredVariables(IVariableDeclarationOperation)

Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs
Source:
OperationExtensions.cs

Gets all the declared local variables in the given declaration.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ILocalSymbol ^> GetDeclaredVariables(Microsoft::CodeAnalysis::Operations::IVariableDeclarationOperation ^ declaration);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol> GetDeclaredVariables (this Microsoft.CodeAnalysis.Operations.IVariableDeclarationOperation declaration);
static member GetDeclaredVariables : Microsoft.CodeAnalysis.Operations.IVariableDeclarationOperation -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol>
<Extension()>
Public Function GetDeclaredVariables (declaration As IVariableDeclarationOperation) As ImmutableArray(Of ILocalSymbol)

Parameters

declaration
IVariableDeclarationOperation

Variable declaration

Returns

Applies to