18 references to WRN_AddressOfInAsync
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1259Error(diagnostics, ErrorCode.WRN_AddressOfInAsync, node);
Errors\ErrorFacts.cs (2)
221case ErrorCode.WRN_AddressOfInAsync: 2358or ErrorCode.WRN_AddressOfInAsync
Generated\ErrorFacts.Generated.cs (1)
316case ErrorCode.WRN_AddressOfInAsync:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenAsyncTests.cs (9)
2018Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(12, 29), 2021Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(17, 29) 2077Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(12, 29), 2080Diagnostic(ErrorCode.WRN_AddressOfInAsync, "x").WithLocation(19, 29) 2153Diagnostic(ErrorCode.WRN_AddressOfInAsync, "local").WithLocation(14, 26), 2159Diagnostic(ErrorCode.WRN_AddressOfInAsync, "local").WithLocation(15, 34), 2162Diagnostic(ErrorCode.WRN_AddressOfInAsync, "structLocal.F").WithLocation(18, 26), 2168Diagnostic(ErrorCode.WRN_AddressOfInAsync, "structLocal.F").WithLocation(19, 34), 2171Diagnostic(ErrorCode.WRN_AddressOfInAsync, "localFuncLocal").WithLocation(32, 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: