27 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 (4)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
1771Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(4, 73), 1780Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s2").WithLocation(10, 74),
CodeGen\CodeGenAsyncSpillTests.cs (2)
8629Diagnostic(ErrorCode.ERR_BadAsyncArgType, "M").WithLocation(26, 27) 8686Diagnostic(ErrorCode.ERR_BadAsyncArgType, "M").WithLocation(26, 27)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
42107Diagnostic(ErrorCode.ERR_BadAsyncArgType, "M2").WithLocation(6, 27));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\BindingAsyncTasklikeMoreTests.cs (8)
1638Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(8, 35), 1641Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(8, 46), 1647Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(16, 35), 1650Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(16, 46) 1658Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(8, 35), 1661Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(8, 46), 1664Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(16, 35), 1667Diagnostic(ErrorCode.ERR_BadAsyncArgType, "y").WithLocation(16, 46)
Semantics\BindingAsyncTests.cs (6)
760Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 779Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 798Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")); 817Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i").WithLocation(6, 33) 3531Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x") 3819Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i")
Semantics\LambdaTests.cs (2)
5959Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(8, 41), 5962Diagnostic(ErrorCode.ERR_BadAsyncArgType, "s").WithLocation(9, 34));
Semantics\LocalFunctionTests.cs (1)
3939Diagnostic(ErrorCode.ERR_BadAsyncArgType, "x").WithLocation(9, 42)
Semantics\NullableReferenceTypesTests.cs (1)
83258Diagnostic(ErrorCode.ERR_BadAsyncArgType, "i").WithLocation(4, 38),
Semantics\RefLocalsAndReturnsTests.cs (1)
4518Diagnostic(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)