24 references to WRN_NullabilityMismatchInParameterTypeOnPartial
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
56
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
));
438
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
:
1953
or ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
Generated\ErrorFacts.Generated.cs (1)
203
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));
16409
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M4").WithArguments("o").WithLocation(16, 18),
16442
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M").WithArguments("o").WithLocation(13, 18),
16445
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M2").WithArguments("t").WithLocation(14, 18),
16448
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M3").WithArguments("i").WithLocation(15, 18),
16451
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M4").WithArguments("o").WithLocation(16, 18),
16454
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M6").WithArguments("o").WithLocation(17, 18)
17865
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("y").WithLocation(16, 18),
17868
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("z").WithLocation(16, 18)
18005
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("y").WithLocation(10, 18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\ExtendedPartialMethodsTests.cs (8)
3683
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F1").WithArguments("s").WithLocation(6, 18),
3686
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F2").WithArguments("s").WithLocation(8, 18),
3689
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F3").WithArguments("s").WithLocation(10, 27),
3692
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F4").WithArguments("s").WithLocation(12, 27),
3701
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F1").WithArguments("s").WithLocation(6, 18),
3704
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F2").WithArguments("s").WithLocation(8, 18),
3707
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F3").WithArguments("s").WithLocation(10, 27),
3710
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
: