19 references to WRN_OverridingDifferentRefness
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
558
case ErrorCode.
WRN_OverridingDifferentRefness
:
2413
or ErrorCode.
WRN_OverridingDifferentRefness
Generated\ErrorFacts.Generated.cs (1)
331
case ErrorCode.
WRN_OverridingDifferentRefness
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1188
diagnostics.Add(ErrorCode.
WRN_OverridingDifferentRefness
, location, overridingParameter, overriddenParameter);
Symbols\TypeSymbol.cs (1)
1890
diagnostics.Add(ErrorCode.
WRN_OverridingDifferentRefness
, location, implementingParameter, implementedParameter);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
RefReadonlyParameterTests.cs (12)
5945
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M").WithArguments("ref readonly int x", "in int x").WithLocation(7, 29),
6004
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "get").WithArguments("ref readonly int x", "in int x").WithLocation(17, 9),
6007
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "set").WithArguments("ref readonly int x", "in int x").WithLocation(22, 9),
6050
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M").WithArguments("in int x", "ref readonly int x").WithLocation(7, 29),
6649
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M1").WithArguments("ref readonly int x", "in int x").WithLocation(8, 17),
6652
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M2").WithArguments("in int x", "ref readonly int x").WithLocation(9, 17));
6683
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M1").WithArguments("ref readonly int x", "in int x").WithLocation(8, 12),
6686
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "M2").WithArguments("in int x", "ref readonly int x").WithLocation(9, 12));
6795
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "get").WithArguments("in int x", "ref readonly int x").WithLocation(9, 9),
6798
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "set").WithArguments("in int x", "ref readonly int x").WithLocation(14, 9));
6838
Diagnostic(ErrorCode.
WRN_OverridingDifferentRefness
, "get").WithArguments("in int x", "ref readonly int x").WithLocation(9, 9),
6841
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)
12642
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
: