4 references to ERR_RefReturnLocal2
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
1108Error(diagnostics, inUnsafeRegion ? ErrorCode.WRN_RefReturnLocal2 : ErrorCode.ERR_RefReturnLocal2, local.Syntax, localSymbol);
Errors\ErrorFacts.cs (1)
1791or ErrorCode.ERR_RefReturnLocal2
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RefLocalsAndReturnsTests.cs (2)
1855Diagnostic(ErrorCode.ERR_RefReturnLocal2, "l").WithArguments("l").WithLocation(28, 24), 2284Diagnostic(ErrorCode.ERR_RefReturnLocal2, "M2").WithArguments("M2").WithLocation(41, 32),