32 references to WRN_NullabilityMismatchInParameterTypeOnOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
55
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
));
437
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
:
1952
or ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
Generated\ErrorFacts.Generated.cs (1)
202
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1231
topLevel ? ErrorCode.WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride : ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenFunctionPointersTests.cs (10)
6627
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 29),
6636
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 29)
6693
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 29),
6699
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("ptr").WithLocation(18, 29),
6705
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("ptr").WithLocation(20, 29),
6711
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 29),
6771
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 26),
6777
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("ptr").WithLocation(18, 26),
6783
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("ptr").WithLocation(20, 26),
6789
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 26),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\NullableReferenceTypesTests.cs (16)
6139
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M").WithArguments("list").WithLocation(11, 28));
12396
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "Oblivious2").WithArguments("x").WithLocation(18, 44),
12399
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(19, 44),
12402
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("x").WithLocation(20, 44),
12405
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("x").WithLocation(21, 44)
12868
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(27, 39),
12874
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(33, 9),
14568
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(26, 44),
14607
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(52, 44),
14776
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M2").WithArguments("t").WithLocation(30, 26),
14779
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("i").WithLocation(31, 26),
14815
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M2").WithArguments("t").WithLocation(54, 26),
14818
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("i").WithLocation(55, 26),
15287
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(16, 39),
16622
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("x").WithLocation(26, 9),
16625
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("x").WithLocation(27, 9)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
350
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
: