CSharpExtensions.GetAwaitExpressionInfo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::CSharp::AwaitExpressionInfo GetAwaitExpressionInfo(Microsoft::CodeAnalysis::SemanticModel ^ semanticModel, Microsoft::CodeAnalysis::CSharp::Syntax::AwaitExpressionSyntax ^ awaitExpression);
public static Microsoft.CodeAnalysis.CSharp.AwaitExpressionInfo GetAwaitExpressionInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.AwaitExpressionSyntax awaitExpression);
public static Microsoft.CodeAnalysis.CSharp.AwaitExpressionInfo GetAwaitExpressionInfo (this Microsoft.CodeAnalysis.SemanticModel? semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.AwaitExpressionSyntax awaitExpression);
static member GetAwaitExpressionInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.CSharp.Syntax.AwaitExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.AwaitExpressionInfo
<Extension()>
Public Function GetAwaitExpressionInfo (semanticModel As SemanticModel, awaitExpression As AwaitExpressionSyntax) As AwaitExpressionInfo
参数
- semanticModel
- SemanticModel
- awaitExpression
- AwaitExpressionSyntax