343 references to WRN_MissingNonNullTypesContextForAnnotation
Microsoft.CodeAnalysis.CSharp (5)
CommandLine\CSharpCommandLineParser.cs (1)
2090
ids.Add(CSharp.MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
));
Errors\ErrorFacts.cs (2)
446
case ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
:
1917
case ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
:
Errors\LazyMissingNonNullTypesContextDiagnosticInfo.cs (1)
77
: ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
;
Generated\ErrorFacts.Generated.cs (1)
220
case ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
3266
actual: arguments.CompilationOptions.SpecificDiagnosticOptions[MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
)]);
3299
actual: arguments.CompilationOptions.SpecificDiagnosticOptions[MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
)]);
3333
actual: arguments.CompilationOptions.SpecificDiagnosticOptions[MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
)]);
3366
actual: arguments.CompilationOptions.SpecificDiagnosticOptions[MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
)]);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
Attributes\AttributeTests_Nullable.cs (7)
612
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 11),
660
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 11),
713
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 11),
3638
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 19),
3647
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 19));
3653
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 19),
3659
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 19));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IVariableDeclaration.cs (2)
1041
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 37),
1147
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 41),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (291)
Semantics\ForEachTests.cs (3)
2286
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(38, 55)
2295
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(38, 55),
2355
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(28, 55)
Semantics\NullableReferenceTypesTests.cs (273)
4140
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 15),
5231
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 28),
5234
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 28));
5277
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 28),
5280
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 28));
5323
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 28));
5848
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 26),
5851
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 37),
5854
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 26));
5982
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 25),
6214
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 25),
6238
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 25),
6262
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 25),
6284
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 25),
6308
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 25),
8316
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(36, 21),
8319
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18),
8322
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 18),
8325
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(24, 18),
8328
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(33, 32),
8331
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(34, 30),
8334
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(40, 47),
8340
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(40, 22),
8346
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(45, 33),
8349
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(45, 18),
8352
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(43, 15),
8358
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(35, 20),
8361
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(35, 41),
8364
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(38, 29),
8370
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(39, 24),
8373
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 18),
8376
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 41),
8379
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 19),
8382
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 15),
8385
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(20, 19),
8388
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 31),
8391
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 33),
8394
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 15),
8397
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(26, 27),
8400
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(26, 36),
8403
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(26, 51),
8406
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(28, 19),
8409
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(37, 35)
8478
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 18),
8484
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 13),
8490
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 10),
8555
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 17),
8558
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 19));
9317
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 47),
9320
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 27)
9332
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 37),
9335
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 48),
9338
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 27),
9341
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(21, 25),
9344
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 33),
9347
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 37),
9350
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 48),
9353
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 27)
9558
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 25)
9660
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(49, 25),
9817
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(39, 31),
9918
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(33, 36),
10045
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(38, 25),
10165
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(39, 25),
10273
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(38, 41),
10276
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(38, 25),
10505
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(58, 11),
10605
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(60, 11),
10608
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 24),
10611
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(34, 24)
10678
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(52, 30),
10764
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(52, 30),
10767
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 24),
10770
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(21, 29)
10839
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(54, 18),
10927
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(54, 18),
10930
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 15),
10933
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(21, 15)
11123
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(23, 22));
11162
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 11),
11165
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 11)
11240
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 6),
11246
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 6),
11252
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 6),
11258
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 6),
12451
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(12, 27)
12479
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(12, 27)
12596
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 47),
12602
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(27, 47),
12941
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 27),
12944
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 27),
12947
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(23, 29),
12950
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(33, 29)
13238
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(24, 22),
13241
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 27),
13253
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(20, 26),
13256
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(26, 21)
13441
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 6),
13447
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 11),
13459
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 26),
13462
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 21),
13505
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 6),
13511
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 11),
13517
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 26),
13520
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 21)
13546
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 6),
13552
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 11)
13579
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 19),
13585
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 17),
13717
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 33),
13720
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 35),
14065
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(24, 22),
14071
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 27),
14074
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(20, 26),
14077
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(26, 21)
14163
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 33),
14166
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 35)
17875
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 30),
17881
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 72),
17887
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 75),
17890
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 77),
17893
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 80),
17896
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 25),
17902
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 33),
17905
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 53),
17911
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 74),
17917
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 77),
17920
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 79),
17923
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 82)
17948
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 30),
17954
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 72),
17960
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 75),
17963
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 77),
17966
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 80),
17999
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 30),
18005
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 72),
18011
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 75),
18014
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 77),
18017
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 80),
18020
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 25),
18026
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 33),
18029
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 53),
18035
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 74),
18041
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 77),
18044
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 79),
18047
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 82)
21896
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18),
21915
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18)
73832
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 27),
73835
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 38),
73850
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 38)
74003
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 38),
74022
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 38)
74144
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 38),
74163
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 38)
74287
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 22),
74290
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 22),
74293
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(23, 22),
74296
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 28),
74318
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 22),
74321
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 22),
74324
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(23, 22)
77566
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 25)
85197
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 22),
85200
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 22)
94065
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 29),
94068
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(6, 54),
94071
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 44)
94922
comp3.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
95610
comp3.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
95735
comp6.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
96387
comp3.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
96432
comp6.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
96506
comp3.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
96537
comp6.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
98382
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 37)
98424
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 34)
98935
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 43)
98976
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 45)
99716
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 45)
99742
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 45)
99769
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 50)
99965
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 45)
99992
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 45)
100020
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 50)
100054
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 45)
100080
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 45)
100107
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 50)
100221
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 45)
100248
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 45)
100276
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 50)
100639
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 42)
100726
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 42)
100955
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 42)
101041
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 42)
102184
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 50),
102190
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 57)
104602
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
104666
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
104813
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
104975
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify();
105046
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
105466
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify(
105582
comp1.GetDiagnostics().Where(d => d.Code != (int)ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
).Verify();
107266
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 16)
107818
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 48),
107821
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 63)
107870
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 45),
107876
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 51),
107926
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 20)
107934
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 45),
107937
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 51)
107944
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 20),
107955
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 20),
108022
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(20, 14),
108028
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 56),
108031
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 85),
108034
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(18, 99),
108076
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 14),
108082
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 56),
108085
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 85),
108088
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 99),
108226
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 9),
108229
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 24),
108232
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 9),
108235
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 9),
108241
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(21, 9),
108244
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 9)
108300
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 31),
108303
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 16),
108306
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 16),
108309
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 16),
108312
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(21, 16),
108315
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 16),
108359
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(2, 30),
108365
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 27),
108812
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 22),
108815
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 22)
108846
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 22),
108849
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(9, 22)
108909
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(2, 49)
108917
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 22)
108929
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(2, 49)
108936
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 22)
108948
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 22)
109608
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 6)
109993
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 5)
110704
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 6)
110740
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 6)
110777
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 6)
133056
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 26));
135576
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(21, 30),
135579
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(23, 32),
135585
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(24, 31),
135591
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(25, 32),
135594
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(25, 34),
139973
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18)
140003
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18));
140044
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18));
140056
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 18),
140069
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 18));
140079
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 18),
140082
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18));
140132
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 18),
150870
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 24),
150876
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 24),
150879
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 44),
150885
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 24));
150891
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(3, 24),
150894
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 24),
150897
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 44),
150900
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(5, 24));
152121
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 18));
Semantics\NullableTests.cs (2)
76
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 11),
100
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(7, 15),
Semantics\RefFieldTests.cs (1)
19406
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(8, 25),
Semantics\UninitializedNonNullableFieldTests.cs (12)
1451
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 6),
1461
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 6),
1497
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 14),
1500
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 14));
1531
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 14),
1534
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 14));
1565
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(11, 14),
1568
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 14));
1622
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(12, 14),
1625
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 14));
1657
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(12, 14),
1660
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 14));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (30)
Symbols\ExtendedPartialMethodsTests.cs (12)
3149
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 26),
3152
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 26),
3155
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(31, 26),
3158
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(32, 26),
3161
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(35, 26),
3164
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(36, 26));
3176
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 26),
3179
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 26),
3185
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(31, 26),
3188
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(32, 26),
3191
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(35, 26),
3194
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(36, 26));
Symbols\GenericConstraintTests.cs (3)
5663
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 21),
5666
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(12, 22),
6422
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 6),
Symbols\Source\NullablePublicAPITests.cs (15)
125
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 13)
192
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 13)
260
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 18)
338
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 10)
429
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(22, 34));
436
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(22, 34));
539
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 10),
542
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(15, 17)
616
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(13, 19)
674
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(10, 11)
738
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 6)
803
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(14, 13)
870
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 9)
940
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(19, 12));
997
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(17, 10));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Diagnostics\DiagnosticTest.cs (2)
349
case ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
:
481
ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
,
Parsing\UsingDirectiveParsingTests.cs (2)
1907
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(1, 17),
2001
Diagnostic(ErrorCode.
WRN_MissingNonNullTypesContextForAnnotation
, "?").WithLocation(4, 16),