32 references to WRN_NullabilityMismatchInParameterTypeOnOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
55
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
));
438
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
:
1953
or ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
Generated\ErrorFacts.Generated.cs (1)
203
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)
6629
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 29),
6638
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 29)
6695
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 29),
6701
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("ptr").WithLocation(18, 29),
6707
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("ptr").WithLocation(20, 29),
6713
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M7").WithArguments("ptr").WithLocation(22, 29),
6773
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M1").WithArguments("ptr").WithLocation(16, 26),
6779
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("ptr").WithLocation(18, 26),
6785
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("ptr").WithLocation(20, 26),
6791
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));
12399
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "Oblivious2").WithArguments("x").WithLocation(18, 44),
12402
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("x").WithLocation(19, 44),
12405
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M4").WithArguments("x").WithLocation(20, 44),
12408
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M5").WithArguments("x").WithLocation(21, 44)
12871
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(27, 39),
12877
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(33, 9),
14571
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(26, 44),
14610
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(52, 44),
14779
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M2").WithArguments("t").WithLocation(30, 26),
14782
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("i").WithLocation(31, 26),
14818
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M2").WithArguments("t").WithLocation(54, 26),
14821
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "M3").WithArguments("i").WithLocation(55, 26),
15290
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "set").WithArguments("value").WithLocation(16, 39),
16625
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnOverride
, "get").WithArguments("x").WithLocation(26, 9),
16628
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
: