23 references to WRN_UnboxPossibleNull
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
44
nullableWarnings.Add(GetId(ErrorCode.
WRN_UnboxPossibleNull
));
469
case ErrorCode.
WRN_UnboxPossibleNull
:
1949
or ErrorCode.
WRN_UnboxPossibleNull
FlowAnalysis\NullableWalker.cs (1)
9561
ReportDiagnostic(ErrorCode.
WRN_UnboxPossibleNull
, getDiagnosticLocation());
Generated\ErrorFacts.Generated.cs (1)
198
case ErrorCode.
WRN_UnboxPossibleNull
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\NullableReferenceTypesTests.cs (17)
82479
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(T) v").WithLocation(13, 18));
82501
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(S)i").WithLocation(7, 15));
82548
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(S)c?.i").WithLocation(12, 15));
82601
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(S)i").WithLocation(7, 15));
82648
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(T)i").WithLocation(7, 15));
109970
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(21, 52),
110161
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)(object)t").WithLocation(6, 48)
130152
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)x").WithLocation(9, 17),
148144
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)default(T)").WithLocation(22, 49),
148203
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)default(T)").WithLocation(23, 68),
148236
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)default(T)").WithLocation(23, 68),
148353
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(23, 63),
148434
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(23, 63),
148543
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(23, 71),
148558
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(23, 71),
148630
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(23, 82),
148663
Diagnostic(ErrorCode.
WRN_UnboxPossibleNull
, "(U)t").WithLocation(23, 82),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
366
case ErrorCode.
WRN_UnboxPossibleNull
: