24 references to WRN_NullabilityMismatchInParameterTypeOnPartial
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
56
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
));
426
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
:
1897
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
:
Generated\ErrorFacts.Generated.cs (1)
204
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
:
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
740
diagnostics.Add(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, implementingMethod.Locations[0], new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\NullableReferenceTypesTests.cs (10)
6104
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M").WithArguments("s").WithLocation(10, 18));
16382
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M4").WithArguments("o").WithLocation(16, 18),
16415
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M").WithArguments("o").WithLocation(13, 18),
16418
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M2").WithArguments("t").WithLocation(14, 18),
16421
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M3").WithArguments("i").WithLocation(15, 18),
16424
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M4").WithArguments("o").WithLocation(16, 18),
16427
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M6").WithArguments("o").WithLocation(17, 18)
17829
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("y").WithLocation(16, 18),
17832
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("z").WithLocation(16, 18)
17969
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "M1").WithArguments("y").WithLocation(10, 18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\ExtendedPartialMethodsTests.cs (8)
3291
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F1").WithArguments("s").WithLocation(6, 18),
3294
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F2").WithArguments("s").WithLocation(8, 18),
3297
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F3").WithArguments("s").WithLocation(10, 27),
3300
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F4").WithArguments("s").WithLocation(12, 27),
3309
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F1").WithArguments("s").WithLocation(6, 18),
3312
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F2").WithArguments("s").WithLocation(8, 18),
3315
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F3").WithArguments("s").WithLocation(10, 27),
3318
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
, "F4").WithArguments("s").WithLocation(12, 27),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
329
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnPartial
: