VisualBasicExtensions.GetSpeculativeMemberGroup 方法

定义

获取用于在给定位置推测 ExpressionSyntax 的符号对应的 ImmutableArray,该表达式在语义信息中用于未出现在源代码中的项。

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)

参数

semanticModel
SemanticModel
position
Int32
expression
ExpressionSyntax

返回

适用于