18 references to WRN_AddressOfInAsync
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1257Error(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)
2024Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(12, 29), 2027Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(17, 29) 2083Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(12, 29), 2086Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(19, 29) 2160Diagnostic(ErrorCode.WRN_AddressOfInAsync, "local").WithLocation(15, 26), 2166Diagnostic(ErrorCode.WRN_AddressOfInAsync, "local").WithLocation(16, 34), 2169Diagnostic(ErrorCode.WRN_AddressOfInAsync, "structLocal.F").WithLocation(19, 26), 2175Diagnostic(ErrorCode.WRN_AddressOfInAsync, "structLocal.F").WithLocation(20, 34), 2178Diagnostic(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: