9 references to WRN_RefReturnStructThis
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1311Error(diagnostics, inUnsafeRegion ? ErrorCode.WRN_RefReturnStructThis : ErrorCode.ERR_RefReturnStructThis, node);
Errors\ErrorFacts.cs (2)
529case ErrorCode.WRN_RefReturnStructThis: 2328or ErrorCode.WRN_RefReturnStructThis
Generated\ErrorFacts.Generated.cs (1)
300case ErrorCode.WRN_RefReturnStructThis:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefFieldTests.cs (4)
2913Diagnostic(ErrorCode.WRN_RefReturnStructThis, "this").WithLocation(3, 32), 2916Diagnostic(ErrorCode.WRN_RefReturnStructThis, "this").WithLocation(7, 32) 28875Diagnostic(ErrorCode.WRN_RefReturnStructThis, "this").WithLocation(31, 24), 28878Diagnostic(ErrorCode.WRN_RefReturnStructThis, "this").WithLocation(36, 24));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
420case ErrorCode.WRN_RefReturnStructThis: