13 references to ERR_MustHaveRefReturn
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (2)
3048: ErrorCode.ERR_MustHaveRefReturn; 3482: ErrorCode.ERR_MustHaveRefReturn;
Errors\ErrorFacts.cs (1)
1774or ErrorCode.ERR_MustHaveRefReturn
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenRefReturnTests.cs (1)
2672Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "o.F()").WithLocation(24, 19)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\ImplicitObjectCreationTests.cs (1)
2294Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)
Semantics\InterpolationTests.cs (1)
14706Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(17, 9)
Semantics\LambdaTests.cs (1)
1416Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(18, 13),
Semantics\RawInterpolationTests_Handler.cs (1)
11054Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(17, 9));
Semantics\RefLocalsAndReturnsTests.cs (4)
2685Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(19, 13), 2727Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "c").WithLocation(11, 50), 4268Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)); 4287Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)
Semantics\TargetTypedDefaultTests.cs (1)
717Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)