24 references to ERR_BadAsyncArgType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1418case ErrorCode.ERR_BadAsyncArgType:
Symbols\Source\SourceMethodSymbol.cs (1)
67diagnostics.Add(ErrorCode.ERR_BadAsyncArgType, getLocation(parameter, location));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
1484Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(4, 73), 1496Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s2").WithLocation(10, 74),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\BindingAsyncTasklikeMoreTests.cs (8)
1631Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(8, 35), 1634Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(8, 46), 1640Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(16, 35), 1643Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(16, 46) 1651Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(8, 35), 1654Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(8, 46), 1657Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(16, 35), 1660Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(16, 46)
Semantics\BindingAsyncTests.cs (6)
719Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i"), 741Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 760Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 779Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i").WithLocation(6, 33) 3505Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x"), 3797Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")
Semantics\LambdaTests.cs (2)
5930Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(8, 41), 5933Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(9, 34));
Semantics\LocalFunctionTests.cs (1)
3550Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(9, 42)
Semantics\NullableReferenceTypesTests.cs (1)
79547Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i").WithLocation(4, 38),
Semantics\RefLocalsAndReturnsTests.cs (1)
4126Diagnostic(ErrorCode.ERR_BadAsyncArgType, "p").WithLocation(5, 30)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\DelegateTests.cs (1)
717Diagnostic(ErrorCode.ERR_BadAsyncArgType, "delegate").WithLocation(4, 17),