6 references to WRN_RefReturnScopedParameter2
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1319
(checkingReceiver: true, isRefScoped: true, inUnsafeRegion: true, _) => (ErrorCode.
WRN_RefReturnScopedParameter2
, parameter.Syntax),
Errors\ErrorFacts.cs (2)
535
case ErrorCode.
WRN_RefReturnScopedParameter2
:
2334
or ErrorCode.
WRN_RefReturnScopedParameter2
Generated\ErrorFacts.Generated.cs (1)
306
case ErrorCode.
WRN_RefReturnScopedParameter2
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
18926
Diagnostic(ErrorCode.
WRN_RefReturnScopedParameter2
, "r3").WithArguments("r3").WithLocation(10, 51));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
426
case ErrorCode.
WRN_RefReturnScopedParameter2
: