13 references to WRN_HidingDifferentRefness
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
560case ErrorCode.WRN_HidingDifferentRefness: 2415or ErrorCode.WRN_HidingDifferentRefness
Generated\ErrorFacts.Generated.cs (1)
333case ErrorCode.WRN_HidingDifferentRefness:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1641diagnostics.Add(ErrorCode.WRN_HidingDifferentRefness, location, hidingParameter, hiddenParameter);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
RefReadonlyParameterTests.cs (8)
6198Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "M").WithArguments("ref readonly int x", "in int x").WithLocation(7, 17), 6234Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "M").WithArguments("ref readonly int x", "in int x").WithLocation(7, 21), 6289Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "get").WithArguments("ref readonly int x", "in int x").WithLocation(17, 9), 6292Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "set").WithArguments("ref readonly int x", "in int x").WithLocation(22, 9), 6344Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "get").WithArguments("ref readonly int x", "in int x").WithLocation(17, 9), 6347Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "set").WithArguments("ref readonly int x", "in int x").WithLocation(22, 9), 6386Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "M").WithArguments("in int x", "ref readonly int x").WithLocation(7, 17), 6422Diagnostic(ErrorCode.WRN_HidingDifferentRefness, "M").WithArguments("in int x", "ref readonly int x").WithLocation(7, 21),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
321case ErrorCode.WRN_HidingDifferentRefness: