4 references to ERR_NoConvToIDispWrongAsync
Microsoft.CodeAnalysis.CSharp (2)
Binder\UsingStatementBinder.cs (1)
260
? (hasAwait ? ErrorCode.ERR_NoConvToIAsyncDispWrongAsync : ErrorCode.
ERR_NoConvToIDispWrongAsync
)
Errors\ErrorFacts.cs (1)
1911
or ErrorCode.
ERR_NoConvToIDispWrongAsync
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenAwaitUsingTests.cs (2)
1323
Diagnostic(ErrorCode.
ERR_NoConvToIDispWrongAsync
, "var x = new C()").WithArguments("C").WithLocation(6, 16)
1348
Diagnostic(ErrorCode.
ERR_NoConvToIDispWrongAsync
, "new C()").WithArguments("C").WithLocation(6, 16)