24 references to WRN_NullabilityMismatchInParameterTypeOnPartial
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
56
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
));
439
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
:
1954
or ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
Generated\ErrorFacts.Generated.cs (1)
204
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
:
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
573
diagnostics.Add(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, implementingMethod.GetFirstLocation(), new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NullableReferenceTypesTests.cs (10)
6116
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M").WithArguments("s").WithLocation(10, 18));
16412
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M4").WithArguments("o").WithLocation(16, 18),
16445
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M").WithArguments("o").WithLocation(13, 18),
16448
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M2").WithArguments("t").WithLocation(14, 18),
16451
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M3").WithArguments("i").WithLocation(15, 18),
16454
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M4").WithArguments("o").WithLocation(16, 18),
16457
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M6").WithArguments("o").WithLocation(17, 18)
17868
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("y").WithLocation(16, 18),
17871
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("z").WithLocation(16, 18)
18008
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("y").WithLocation(10, 18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\ExtendedPartialMethodsTests.cs (8)
3699
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F1").WithArguments("s").WithLocation(6, 18),
3702
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F2").WithArguments("s").WithLocation(8, 18),
3705
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F3").WithArguments("s").WithLocation(10, 27),
3708
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F4").WithArguments("s").WithLocation(12, 27),
3717
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F1").WithArguments("s").WithLocation(6, 18),
3720
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F2").WithArguments("s").WithLocation(8, 18),
3723
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F3").WithArguments("s").WithLocation(10, 27),
3726
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F4").WithArguments("s").WithLocation(12, 27),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
351
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
: