Delen via


VisualBasicExtensions.GetSpeculativeConversion Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::VisualBasic::Conversion GetSpeculativeConversion(Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, int position, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SpeculativeBindingOption bindingOption);
public static Microsoft.CodeAnalysis.VisualBasic.Conversion GetSpeculativeConversion (this Microsoft.CodeAnalysis.SemanticModel semanticModel, int position, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SpeculativeBindingOption bindingOption);
static member GetSpeculativeConversion : Microsoft.CodeAnalysis.SemanticModel * int * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SpeculativeBindingOption -> Microsoft.CodeAnalysis.VisualBasic.Conversion
<Extension()>
Public Function GetSpeculativeConversion (semanticModel As SemanticModel, position As Integer, expression As ExpressionSyntax, bindingOption As SpeculativeBindingOption) As Conversion

Parameters

semanticModel
SemanticModel
position
Int32
expression
ExpressionSyntax
bindingOption
SpeculativeBindingOption

Returns

Applies to