Freigeben über


VisualBasicExtensions.GetSpeculativeMemberGroup Method

Definition

Gets the corresponding ImmutableArray of Symbols for a speculating an ExpressionSyntax at a given position, used in Semantic Info for items not appearing in source code.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ISymbol ^> GetSpeculativeMemberGroup(Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, int position, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol> GetSpeculativeMemberGroup (this Microsoft.CodeAnalysis.SemanticModel semanticModel, int position, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member GetSpeculativeMemberGroup : Microsoft.CodeAnalysis.SemanticModel * int * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol>
<Extension()>
Public Function GetSpeculativeMemberGroup (semanticModel As SemanticModel, position As Integer, expression As ExpressionSyntax) As ImmutableArray(Of ISymbol)

Parameters

semanticModel
SemanticModel
position
Int32
expression
ExpressionSyntax

Returns

Applies to