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)
533
case ErrorCode.
WRN_RefReturnScopedParameter
:
2332
or ErrorCode.
WRN_RefReturnScopedParameter
Generated\ErrorFacts.Generated.cs (1)
304
case ErrorCode.
WRN_RefReturnScopedParameter
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefEscapingTests.cs (2)
851
Diagnostic(ErrorCode.
WRN_RefReturnScopedParameter
, "x").WithArguments("x").WithLocation(13, 20));
1027
Diagnostic(ErrorCode.
WRN_RefReturnScopedParameter
, "x").WithArguments("x").WithLocation(26, 20)
Semantics\RefFieldTests.cs (2)
28741
Diagnostic(ErrorCode.
WRN_RefReturnScopedParameter
, "p1").WithArguments("p1").WithLocation(41, 21),
28744
Diagnostic(ErrorCode.
WRN_RefReturnScopedParameter
, "p").WithArguments("p").WithLocation(46, 40)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
424
case ErrorCode.
WRN_RefReturnScopedParameter
: