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