13 references to ERR_MustHaveRefReturn
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (2)
2933: ErrorCode.ERR_MustHaveRefReturn; 3365: ErrorCode.ERR_MustHaveRefReturn;
Errors\ErrorFacts.cs (1)
1712case 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)
14322Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(17, 9)
Semantics\LambdaTests.cs (1)
1413Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(18, 13),
Semantics\RawInterpolationTests_Handler.cs (1)
11027Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(17, 9));
Semantics\RefLocalsAndReturnsTests.cs (4)
2584Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(19, 13), 2626Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "c").WithLocation(11, 50), 3873Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)); 3892Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)
Semantics\TargetTypedDefaultTests.cs (1)
717Diagnostic(ErrorCode.ERR_MustHaveRefReturn, "return").WithLocation(6, 9)