9 references to WRN_RefReturnScopedParameter
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1325(checkingReceiver: false, isRefScoped: true, inUnsafeRegion: true, _) => (ErrorCode.WRN_RefReturnScopedParameter, node),
Errors\ErrorFacts.cs (2)
533case ErrorCode.WRN_RefReturnScopedParameter: 2332or ErrorCode.WRN_RefReturnScopedParameter
Generated\ErrorFacts.Generated.cs (1)
304case ErrorCode.WRN_RefReturnScopedParameter:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefEscapingTests.cs (2)
851Diagnostic(ErrorCode.WRN_RefReturnScopedParameter, "x").WithArguments("x").WithLocation(13, 20)); 1027Diagnostic(ErrorCode.WRN_RefReturnScopedParameter, "x").WithArguments("x").WithLocation(26, 20)
Semantics\RefFieldTests.cs (2)
28741Diagnostic(ErrorCode.WRN_RefReturnScopedParameter, "p1").WithArguments("p1").WithLocation(41, 21), 28744Diagnostic(ErrorCode.WRN_RefReturnScopedParameter, "p").WithArguments("p").WithLocation(46, 40)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
424case ErrorCode.WRN_RefReturnScopedParameter: