18 references to WRN_AddressOfInAsync
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1036Error(diagnostics, ErrorCode.WRN_AddressOfInAsync, node);
Errors\ErrorFacts.cs (2)
221case ErrorCode.WRN_AddressOfInAsync: 2360or ErrorCode.WRN_AddressOfInAsync
Generated\ErrorFacts.Generated.cs (1)
317case ErrorCode.WRN_AddressOfInAsync:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenAsyncTests.cs (9)
911Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(12, 29), 914Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(17, 29) 970Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(12, 29), 973Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(19, 29) 1047Diagnostic(ErrorCode.WRN_AddressOfInAsync, "local").WithLocation(15, 26), 1053Diagnostic(ErrorCode.WRN_AddressOfInAsync, "local").WithLocation(16, 34), 1056Diagnostic(ErrorCode.WRN_AddressOfInAsync, "structLocal.F").WithLocation(19, 26), 1062Diagnostic(ErrorCode.WRN_AddressOfInAsync, "structLocal.F").WithLocation(20, 34), 1065Diagnostic(ErrorCode.WRN_AddressOfInAsync, "localFuncLocal").WithLocation(33, 39));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\UnsafeTests.cs (4)
706Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(11, 23)); 803Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(18, 23), 806Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(24, 23), 809Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(30, 23)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
472case ErrorCode.WRN_AddressOfInAsync: