6 references to WRN_RefReturnOnlyParameter2
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1100(checkingReceiver: true, isRefScoped: false, inUnsafeRegion: true, ReturnOnlyScope) => (ErrorCode.WRN_RefReturnOnlyParameter2, parameter.Syntax),
Errors\ErrorFacts.cs (2)
527case ErrorCode.WRN_RefReturnOnlyParameter2: 2284case ErrorCode.WRN_RefReturnOnlyParameter2:
Generated\ErrorFacts.Generated.cs (1)
311case ErrorCode.WRN_RefReturnOnlyParameter2:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
18281Diagnostic(ErrorCode.WRN_RefReturnOnlyParameter2, "rs").WithArguments("rs").WithLocation(16, 34)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
409case ErrorCode.WRN_RefReturnOnlyParameter2: