541 references to WRN_NullAsNonNullable
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
38nullableWarnings.Add(GetId(ErrorCode.WRN_NullAsNonNullable)); 455case ErrorCode.WRN_NullAsNonNullable: 1968or ErrorCode.WRN_NullAsNonNullable
FlowAnalysis\NullableWalker.cs (1)
2451ReportDiagnostic(assignmentKind == AssignmentKind.Return ? ErrorCode.WRN_NullReferenceReturn : ErrorCode.WRN_NullAsNonNullable, location);
Generated\ErrorFacts.Generated.cs (1)
216case ErrorCode.WRN_NullAsNonNullable:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenFunctionPointersTests.cs (1)
7116Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 18),
CodeGen\IndexAndRangeTests.cs (2)
3781Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 13), 3784Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 13),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTests.cs (2)
326Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 4), 329Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 25));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (69)
FieldKeywordTests.cs (17)
6218Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24)); 6358Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24), 6391Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24)); 6513Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 9)); 6547Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 9)); 6975Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 20)); 7006Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 20)); 7030Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 45)); 7223Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 48), 7226Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 74)); 7250Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 43)); 7287Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 17), 7402Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(28, 9)); 7445Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 9)); 11135Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 16)); 11405Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 24)); 11636Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 24));
PartialEventsAndConstructorsTests.cs (5)
3008Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 11), 3813Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 21), 3816Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 21), 3819Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 21), 3822Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 21),
Semantics\CollectionExpressionTests.cs (21)
15850Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 23), 15853Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 17)); 15887Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 27), 15890Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 17)); 15925Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 24), 15928Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(17, 17)); 33749Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(2, 16) 33779Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(3, 7) 33800Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(2, 19) 33855Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 8), 33901Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 28) 33944Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 29) 34015Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 20) 34096Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 28) 34142Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 28) 34346Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 12) 34446Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 28) 34628Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 28) 34670Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 16)); 34946Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 27) 36091Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(2, 21)
Semantics\ExtensionTests.cs (12)
24301Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 20), 49397Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 29), 49400Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 31), 49403Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 31), 49406Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 33), 49412Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(22, 31), 49415Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(25, 31), 49418Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(28, 33)); 49461Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 34)); 49644Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 29), 49647Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 32)); 49684Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 27));
Semantics\ExtensionTests2.cs (9)
1306Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 13), 1309Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 10) 1346Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 15)); 1417Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 14), 1420Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 15)); 1840Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 12), 1846Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 9) 1952Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 12), 1958Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 9)
Semantics\ParamsCollectionTests.cs (2)
15410Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(18, 20), 15413Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(26, 20)
Semantics\PrimaryConstructorTests.cs (2)
20694Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 24), 20700Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 14)
Semantics\RecordTests.cs (1)
9272Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 26),
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ScriptTests.cs (1)
969Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(2, 28)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (449)
Semantics\NullableContextTests.cs (24)
252Diagnostic(ErrorCode.WRN_NullAsNonNullable, "C1").WithLocation(7, 33)); 311Diagnostic(ErrorCode.WRN_NullAsNonNullable, "A.C1").WithLocation(2, 4)); 568Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null")); 793Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 24)); 807Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 832Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 24)); 857Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 873Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17), 876Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 17)); 1030Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 1037Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 1044Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 1049Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 1054Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 17), 1057Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17), 1060Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 17)); 1203Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 13)); 1291Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 20), 1294Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 24)); 1446Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 7)); 1489Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 43), 1492Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 43)); 1519Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 32), 1525Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 32),
Semantics\NullableReferenceTypesTests.cs (419)
203Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 14), 209Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 14), 215Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 16), 257Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 33), 260Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 33), 263Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 35), 2117Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 28) 3056Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 13), 5678Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 13) 5712Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 13) 5747Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 13), 5750Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 13) 5830Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 13), 5836Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 13) 6409Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 20) 6612Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 14) 6678Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 14), 6681Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 14), 6684Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 20), 6687Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 14) 6715Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 46), 6718Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 21) 6746Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 25), 6749Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 28) 6800Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 14), 6803Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 1), 6806Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(23, 14), 6809Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(36, 1) 6862Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 14), 6865Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 1), 6868Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(25, 14), 6871Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(38, 1) 6893Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 14) 6998Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 35) 7025Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 27), 7028Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 20) 7056Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 14) 7078Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 21) 7105Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24) 7135Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 30) 7191Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24) 7220Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 27) 7294Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 29) 7329Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 20), 7332Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 21), 7335Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 44) 7370Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 20), 7373Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 18), 7376Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 43) 7435Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(26, 14), 7438Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(27, 24), 7444Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(29, 46), 7450Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(31, 43), 7453Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(32, 55), 7456Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(33, 14), 7459Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(34, 17), 7462Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(35, 36), 7468Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(37, 14), 7471Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(41, 36), 8894Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 13)); 8900Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 13)); 9267Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 18), 9273Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 18), 9279Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(20, 18)); 9679Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(58, 36), 9682Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(64, 36), 9685Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(67, 29), 9688Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(70, 29), 9691Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(73, 36) 9836Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(48, 41), 9839Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(54, 41), 9842Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(57, 34), 9845Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(60, 41)); 9937Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(42, 38), 9940Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(45, 38), 9943Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(48, 31), 9946Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(51, 38) 10064Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(47, 39), 10067Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(50, 39), 10070Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(53, 32), 10073Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(56, 39) 10184Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(48, 36), 10187Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(51, 36), 10190Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(54, 29), 10193Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(57, 36) 10295Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(47, 25), 10298Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(50, 25), 10301Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(53, 18), 10304Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(56, 25) 11133Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 18), 12461Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(7, 47), 12492Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(7, 47), 12519Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(6, 47)); 18554Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(123, 18), 18557Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(133, 18), 18813Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 31)); 18848Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 30)); 18952Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 16), 18955Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 16) 19000Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 19), 19045Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 23), 24466Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 29) 33405Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 31), 35601Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 20) 37631Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 23), 38286Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 38) 38312Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 38) 39930Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 47), 39933Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 43) 40639Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 16), 40642Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 17)); 40672Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 16), 40675Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 17)); 44635Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 53), 44730Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 53)); 44962Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 26), 44995Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 42), 45044Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 15), 45047Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 15) 45082Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 21), 45085Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 22) 45249Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 15), 45252Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 16) 47765Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 14) 48315Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 49), 55360Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 82), 55369Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 82) 55401Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 14), 55570Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 92), 55576Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 92) 55628Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 57), 55634Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 57), 55637Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 57), 55643Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 56), 55649Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 56), 55652Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 56) 56566Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 28) 57420Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 31), 57426Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 31), 57429Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 33), 57432Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 33) 58735Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(18, 57), 58738Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(20, 57)); 59932Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 34), 59944Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(39, 17), 59947Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(40, 22), 59956Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(47, 17), 59959Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(48, 22), 59974Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(56, 22), 59986Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(64, 22), 60049Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 53), 60055Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(18, 22), 60061Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(24, 36), 60064Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(25, 52), 60067Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(26, 17), 60070Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(27, 22), 60073Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(32, 46), 60076Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(33, 53), 60079Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(34, 17), 60082Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(35, 22), 60085Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(42, 54), 60091Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(44, 22), 60174Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 24), 60177Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(13, 24), 60180Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default(T)").WithLocation(14, 24) 63955Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(20, 29), 67109Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 36), 67115Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 36), 67121Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 39), 67156Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 36), 67162Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 36), 67168Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 39), 67203Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 36), 67209Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 36), 67215Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 39), 67250Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 36), 67256Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 36), 67262Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 39), 70075Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(Action<string>?)null").WithLocation(12, 20), 70078Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default(D1)").WithLocation(14, 20)); 73825Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 12) 73851Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 11) 75356Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 29), 75359Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 40), 75362Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 29), 75365Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 40)); 75524Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(20, 12), 79015Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 26)); 79051Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 22), 79057Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string)null").WithLocation(13, 22), 79060Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string?)null").WithLocation(14, 22), 79069Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default(string)").WithLocation(17, 22), 79072Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(18, 22), 79123Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string)null").WithLocation(12, 10), 79126Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string?)null").WithLocation(13, 10), 79132Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default(string)").WithLocation(16, 9), 79184Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 11), 79190Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string)null").WithLocation(13, 11), 79193Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string?)null").WithLocation(14, 11), 79199Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default(string)").WithLocation(17, 11), 79202Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(18, 11), 81501Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(3, 37) 81521Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 13)); 81574Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 31), 81577Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(7, 31), 81580Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default(string)").WithLocation(8, 31), 81586Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string)null").WithLocation(10, 20), 81589Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string?)null").WithLocation(11, 20), 81592Diagnostic(ErrorCode.WRN_NullAsNonNullable, "S0").WithLocation(12, 31), 81604Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(24, 12) 81647Diagnostic(ErrorCode.WRN_NullAsNonNullable, "(string)null").WithLocation(12, 31), 81653Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(20, 15), 81656Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 15), 81659Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(22, 19) 81780Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 29), 81786Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 29), 81795Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(15, 20), 81798Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(18, 20), 81801Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(24, 20), 81804Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(27, 15), 81807Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(30, 15), 81810Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(33, 28), 81819Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(46, 15), 81822Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(48, 15), 81825Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(50, 18), 81837Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(78, 15), 81840Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(80, 15), 81843Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(82, 15), 81846Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(84, 15), 81849Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(86, 18), 82014Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 38), 82020Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(3, 56), 82060Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(7, 19), 82063Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(10, 19), 82214Diagnostic(ErrorCode.WRN_NullAsNonNullable, "[Optional, DefaultParameterValue(null)] object obj").WithLocation(7, 20), 82217Diagnostic(ErrorCode.WRN_NullAsNonNullable, "[Optional, DefaultParameterValue(default(object))] object obj").WithLocation(11, 20), 82223Diagnostic(ErrorCode.WRN_NullAsNonNullable, "[Optional, DefaultParameterValue((object)null)] object obj").WithLocation(23, 20), 82271Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 73), 82301Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 40), 82304Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24), 82307Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 36) 82398Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 32), 82401Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(8, 32), 82410Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 48), 85465Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(10, 13), 85620Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(10, 13), 86340Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 45), 86349Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 45), 87026Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 37), 87207Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 36), 87237Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 37), 87792Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(17, 47), 87795Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(17, 60), 87947Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(9, 76), 89247Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 15), 89250Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 15), 89435Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(31, 14), 89444Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(38, 14), 89453Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(46, 15), 89462Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(54, 15), 92296Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(15, 71) 94369Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 27), 94372Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(23, 19)); 95691Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 36), 95726Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 28)); 95756Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 16)); 95790Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 16), 95971Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 30)); 95998Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 37), 96030Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 55), 96036Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 55), 96068Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 55), 96074Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 55), 96110Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 37), 96116Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(17, 37), 96145Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 37), 96176Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(12, 37), 96205Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 37), 96238Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 61)); 96267Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 61), 96311Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 38), 96388Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 61), 96400Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 61)); 96762Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(18, 36), 96919Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 41), 96952Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 35) 96978Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 46), 97019Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 42), 97025Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 42), 97031Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(22, 42), 97072Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 37), 97078Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 37), 97084Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 37)); 97122Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 65), 97128Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 65), 97134Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(22, 65), 97163Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 45), 97196Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 74), 97604Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 27), 112545Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 26), 112590Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(17, 26), 112914Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 17), 112917Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 13), 112920Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(30, 17), 112923Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(40, 17), 112926Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(50, 17) 113000Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 17), 113003Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(23, 13), 113006Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(31, 17), 113009Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(40, 17), 113012Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(49, 17)); 113118Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 17), 113121Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(27, 17), 113124Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(35, 17), 113127Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(43, 17) 113199Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 17), 113202Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(29, 17), 113205Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(38, 17), 113208Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(47, 17)); 115575Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(17, 15), 123815Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 13)); 125218string id = MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable); 125254Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125263Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125272Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125283Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125292Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithWarningAsError(true) 125303Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithWarningAsError(true) 125313Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithWarningAsError(true) 125338Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125349Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125359Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125370Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125396string id1 = MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable); 125497#pragma warning disable " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125516#pragma warning restore " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125583string id = MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable); 125589Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 11) 125598Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125607Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125618Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125627Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithWarningAsError(true) 125638Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithWarningAsError(true) 125648Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithWarningAsError(true) 125673Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125684Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125694Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125705Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null") 125752#pragma warning disable " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125772#pragma warning disable " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125790#pragma warning disable " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125828#pragma warning restore " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125848#pragma warning restore " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125866#pragma warning restore " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 125969#pragma warning restore " + MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_NullAsNonNullable) + @" 132570Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 19) 132604Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 19) 132859Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 19), 135041Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 16)); 135058Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 23)); 135076Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 28)); 135098Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 13), 135125Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(8, 13), 135201Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 27), 135260Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 27), 135368Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 29), 135377Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 43), 135597Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(25, 19), 135603Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(40, 23), 135675Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(28, 19), 135681Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(43, 23), 135725Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(20, 19), 135771Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(19, 19), 136725Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 25), 136728Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(22, 25), 136731Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(27, 40) 138952Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(16, 14) 145042Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(8, 84), 148910Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 14), 148913Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 14), 153716Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(14, 15), 153719Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(19, 15), 157551Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(48, 27), 157554Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(51, 28), 157557Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(54, 28), 157560Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(57, 29), 157572Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(111, 14) 157630Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 24), 157666Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 24), 158695Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(17, 18) 158737Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(17, 18) 158779Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 18) 159425Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 27), 159428Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 28), 159431Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 36), 159437Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 41), 159477Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 17), 159480Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 26), 159604Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 21), 159607Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 35), 159610Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 31) 159764Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 28), 159767Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 29), 159770Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 37), 159776Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 42), 159816Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 17), 159819Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 26), 159943Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 21), 159946Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 50), 159949Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 32) 160147Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 37), 160153Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(13, 42), 160196Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 27), 160320Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 23), 160323Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 37), 160326Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 33) 160481Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(6, 28), 160487Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 33), 160493Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(14, 32),
Semantics\SimpleLambdaParametersWithModifiersTests.cs (1)
848Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(11, 17));
Semantics\StructConstructorTests.cs (3)
3366Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(10, 24)); 4599Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(23, 20), 4630Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(23, 20),
Semantics\UninitializedNonNullableFieldTests.cs (2)
2726Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(4, 35), 2729Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 49)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Symbols\PartialPropertiesTests.cs (1)
1790Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(33, 17));
Symbols\Source\NullablePublicAPITests.cs (10)
1757Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(5, 20), 4263Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(4, 26)); 4297Diagnostic(ErrorCode.WRN_NullAsNonNullable, "default").WithLocation(9, 7)); 5388Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(7, 18), 5391Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(15, 18)); 5527Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(9, 16), 5530Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(21, 16), 5533Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(27, 16), 5536Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(35, 16), 5539Diagnostic(ErrorCode.WRN_NullAsNonNullable, "null").WithLocation(41, 16));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
356case ErrorCode.WRN_NullAsNonNullable: