VisualBasicExtensions.GetSpeculativeMemberGroup 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取用于在给定位置推测 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