未验证 提交 ab8ea004 编写于 作者: D David Poeschl 提交者: GitHub

Use _cancellationToken

Co-Authored-By: NCyrusNajmabadi <cyrus.najmabadi@gmail.com>
上级 5a069648
......@@ -62,7 +62,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Recommendations
If parameters.Count > ordinalInLambda Then
Dim parameterSyntax = parameters(ordinalInLambda)
If parameterSyntax.AsClause IsNot Nothing Then
explicitLambdaParameterType = _context.SemanticModel.GetTypeInfo(parameterSyntax.AsClause.Type).Type
explicitLambdaParameterType = _context.SemanticModel.GetTypeInfo(parameterSyntax.AsClause.Type, _cancellationToken).Type
Return explicitLambdaParameterType IsNot Nothing
End If
End If
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册