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