25 references to ERR_BadAsyncArgType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1480or 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)
41653Diagnostic(ErrorCode.ERR_BadAsyncArgType, "M2").WithLocation(6, 27));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\BindingAsyncTasklikeMoreTests.cs (8)
1650Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(8, 35), 1653Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(8, 46), 1659Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(16, 35), 1662Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(16, 46) 1670Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(8, 35), 1673Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(8, 46), 1676Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(16, 35), 1679Diagnostic(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),