6 references to ERR_RefReturnRangeVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
2744return ErrorCode.ERR_RefReturnRangeVariable;
Errors\ErrorFacts.cs (1)
1721case ErrorCode.ERR_RefReturnRangeVariable:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefLocalsAndReturnsTests.cs (4)
1901Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "ch").WithArguments("ch").WithLocation(16, 34), 1904Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "s.x").WithArguments("s").WithLocation(19, 34) 3022Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "c").WithArguments("c").WithLocation(8, 74), 3025Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "c").WithArguments("c").WithLocation(14, 76)