2 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (2)
Binder\UsingStatementBinder.cs (2)
157
hasErrors |=
ReportUseSite
(awaitableTypeOpt, diagnostics, awaitKeyword);
250
return !
ReportUseSite
(disposableInterface, diagnostics, hasAwait ? awaitKeyword : usingKeyword);