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