39 references to WRN_UninitializedNonNullableBackingField
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
86
nullableWarnings.Add(GetId(ErrorCode.
WRN_UninitializedNonNullableBackingField
));
571
case ErrorCode.
WRN_UninitializedNonNullableBackingField
:
2478
or ErrorCode.
WRN_UninitializedNonNullableBackingField
FlowAnalysis\NullableWalker.cs (1)
808
var errorCode = usesFieldKeyword ? ErrorCode.
WRN_UninitializedNonNullableBackingField
: ErrorCode.WRN_UninitializedNonNullableField;
Generated\ErrorFacts.Generated.cs (1)
343
case ErrorCode.
WRN_UninitializedNonNullableBackingField
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (33)
FieldKeywordTests.cs (33)
5611
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "P1").WithArguments("property", "P1").WithLocation(4, 13),
5614
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "P2").WithArguments("property", "P2").WithLocation(5, 13),
5617
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "P4").WithArguments("property", "P4").WithLocation(7, 13));
5639
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "P2").WithArguments("property", "P2").WithLocation(5, 12));
5849
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(6, 12));
5869
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(6, 12));
5931
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(6, 12));
5951
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(6, 12));
6237
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(12, 12));
6299
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(12, 12));
6328
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(11, 12));
6356
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(11, 12));
6455
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(12, 12));
6619
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(7, 20));
6641
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(7, 20));
6953
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "Prop").WithLocation(9, 12));
7468
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "P2").WithLocation(8, 5),
7523
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "P5").WithLocation(9, 5),
7526
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "C").WithArguments("property", "P6").WithLocation(9, 5),
10743
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(4, 19));
10765
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(4, 19));
10832
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(6, 19),
11222
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 14));
11251
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19));
11278
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19),
11509
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19),
11655
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 26));
11733
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(6, 19));
11900
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19));
11932
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19),
12000
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19));
12063
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(6, 19));
12097
Diagnostic(ErrorCode.
WRN_UninitializedNonNullableBackingField
, "Prop").WithArguments("property", "Prop").WithLocation(5, 19));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
438
case ErrorCode.
WRN_UninitializedNonNullableBackingField
: