2 references to CheckRestrictedTypeInAsyncMethod
Microsoft.CodeAnalysis.CSharp (2)
Binder\UsingStatementBinder.cs (1)
122
CheckRestrictedTypeInAsyncMethod
(originalBinder.ContainingMemberOrLambda, expressionOpt.Type, diagnostics, expressionOpt.Syntax);
BoundTree\VariablePendingInference.cs (1)
65
Binder.
CheckRestrictedTypeInAsyncMethod
(localSymbol.ContainingSymbol, type.Type, diagnosticsOpt, typeOrDesignationSyntax);