7 references to CheckRestrictedTypeInAsyncMethod
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Deconstruct.cs (1)
896
CheckRestrictedTypeInAsyncMethod
(this.ContainingMemberOrLambda, declTypeWithAnnotations.Type, diagnostics, typeSyntax);
Binder\Binder_Expressions.cs (1)
3236
CheckRestrictedTypeInAsyncMethod
(this.ContainingMemberOrLambda, declType.Type, diagnostics, typeSyntax);
Binder\Binder_Patterns.cs (1)
897
CheckRestrictedTypeInAsyncMethod
(this.ContainingMemberOrLambda, declType.Type, diagnostics, typeSyntax ?? (SyntaxNode)designation);
Binder\Binder_Statements.cs (1)
1099
CheckRestrictedTypeInAsyncMethod
(this.ContainingMemberOrLambda, declTypeOpt.Type, localDiagnostics, typeSyntax);
Binder\ForEachLoopBinder.cs (1)
326
CheckRestrictedTypeInAsyncMethod
(this.ContainingMemberOrLambda, declType.Type, diagnostics, typeSyntax);
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);