31 references to WRN_NullabilityMismatchInParameterTypeOnOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
55
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
));
425
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
:
1896
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
:
Generated\ErrorFacts.Generated.cs (1)
203
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1227
topLevel ? ErrorCode.WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride : ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenFunctionPointersTests.cs (10)
6615
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 29),
6624
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 29)
6681
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 29),
6687
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("ptr").WithLocation(18, 29),
6693
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("ptr").WithLocation(20, 29),
6699
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 29),
6759
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 26),
6765
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("ptr").WithLocation(18, 26),
6771
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("ptr").WithLocation(20, 26),
6777
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 26),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Semantics\NullableReferenceTypesTests.cs (15)
6127
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("list").WithLocation(11, 28));
12387
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "Oblivious2").WithArguments("x").WithLocation(18, 44),
12390
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(19, 44),
12393
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("x").WithLocation(20, 44),
12396
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("x").WithLocation(21, 44)
12859
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(27, 39),
12865
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(33, 9),
14559
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(26, 44),
14598
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(52, 44),
14767
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M2").WithArguments("t").WithLocation(30, 26),
14770
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("i").WithLocation(31, 26),
14803
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M2").WithArguments("t").WithLocation(54, 26),
14806
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("i").WithLocation(55, 26),
15266
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(16, 39),
16595
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("x").WithLocation(27, 9)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
328
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
: