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