9 references to WRN_RefReturnLocal
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1112Error(diagnostics, inUnsafeRegion ? ErrorCode.WRN_RefReturnLocal : ErrorCode.ERR_RefReturnLocal, node, localSymbol);
Errors\ErrorFacts.cs (2)
536case ErrorCode.WRN_RefReturnLocal: 2335or ErrorCode.WRN_RefReturnLocal
Generated\ErrorFacts.Generated.cs (1)
307case ErrorCode.WRN_RefReturnLocal:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenFunctionPointersTests.cs (2)
10991Diagnostic(ErrorCode.WRN_RefReturnLocal, "span").WithArguments("span").WithLocation(10, 28) 10998Diagnostic(ErrorCode.WRN_RefReturnLocal, "span").WithArguments("span").WithLocation(10, 28)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RefFieldTests.cs (1)
10884Diagnostic(ErrorCode.WRN_RefReturnLocal, "i").WithArguments("i").WithLocation(6, 34));
Semantics\RefLocalsAndReturnsTests.cs (1)
1906Diagnostic(ErrorCode.WRN_RefReturnLocal, "l").WithArguments("l").WithLocation(13, 20),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
427case ErrorCode.WRN_RefReturnLocal: