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