19 references to WRN_OverridingDifferentRefness
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
559
case ErrorCode.
WRN_OverridingDifferentRefness
:
2414
or ErrorCode.
WRN_OverridingDifferentRefness
Generated\ErrorFacts.Generated.cs (1)
332
case ErrorCode.
WRN_OverridingDifferentRefness
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1188
diagnostics.Add(ErrorCode.
WRN_OverridingDifferentRefness
, location, overridingParameter, overriddenParameter);
Symbols\TypeSymbol.cs (1)
1902
diagnostics.Add(ErrorCode.
WRN_OverridingDifferentRefness
, location, implementingParameter, implementedParameter);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
RefReadonlyParameterTests.cs (12)
5918
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M").WithArguments("ref readonly int x", "in int x").WithLocation(7, 29),
5977
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "get").WithArguments("ref readonly int x", "in int x").WithLocation(17, 9),
5980
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "set").WithArguments("ref readonly int x", "in int x").WithLocation(22, 9),
6023
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M").WithArguments("in int x", "ref readonly int x").WithLocation(7, 29),
6622
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M1").WithArguments("ref readonly int x", "in int x").WithLocation(8, 17),
6625
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M2").WithArguments("in int x", "ref readonly int x").WithLocation(9, 17));
6656
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M1").WithArguments("ref readonly int x", "in int x").WithLocation(8, 12),
6659
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M2").WithArguments("in int x", "ref readonly int x").WithLocation(9, 12));
6768
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "get").WithArguments("in int x", "ref readonly int x").WithLocation(9, 9),
6771
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "set").WithArguments("in int x", "ref readonly int x").WithLocation(14, 9));
6811
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "get").WithArguments("in int x", "ref readonly int x").WithLocation(9, 9),
6814
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "set").WithArguments("in int x", "ref readonly int x").WithLocation(14, 9));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\SymbolErrorTests.cs (1)
12631
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "set").WithArguments("object value", "ref object v").WithLocation(14, 9),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
320
case ErrorCode.
WRN_OverridingDifferentRefness
: