6 references to ERR_RefReturnRangeVariable
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
3256return ErrorCode.ERR_RefReturnRangeVariable;
Errors\ErrorFacts.cs (1)
1783or ErrorCode.ERR_RefReturnRangeVariable
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefLocalsAndReturnsTests.cs (4)
2002Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "ch").WithArguments("ch").WithLocation(16, 34), 2005Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "s.x").WithArguments("s").WithLocation(19, 34) 3123Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "c").WithArguments("c").WithLocation(8, 74), 3126Diagnostic(ErrorCode.ERR_RefReturnRangeVariable, "c").WithArguments("c").WithLocation(14, 76)