25 references to ERR_BadAsyncArgType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1479or ErrorCode.ERR_BadAsyncArgType
Symbols\Source\SourceMethodSymbol.cs (1)
73diagnostics.Add(ErrorCode.ERR_BadAsyncArgType, getLocation(parameter, location, isExtensionParameter));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
1777Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(4, 73), 1789Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s2").WithLocation(10, 74),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
36568Diagnostic(ErrorCode.ERR_BadAsyncArgType, "M2").WithLocation(6, 27));
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)
769Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i"), 791Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 810Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 829Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i").WithLocation(6, 33) 3564Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x"), 3856Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")
Semantics\LambdaTests.cs (2)
5966Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(8, 41), 5969Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(9, 34));
Semantics\LocalFunctionTests.cs (1)
3634Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(9, 42)
Semantics\NullableReferenceTypesTests.cs (1)
83236Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i").WithLocation(4, 38),
Semantics\RefLocalsAndReturnsTests.cs (1)
4521Diagnostic(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),