413 writes to Kind
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (413)
LexicalAndXml\PreprocessorTests.cs (413)
516
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive });
526
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive });
586
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
587
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive },
588
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
605
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
606
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
627
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
628
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive },
629
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
648
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
649
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
667
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
668
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
682
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
683
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
699
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
700
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
714
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
715
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
734
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
735
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
736
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
758
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
759
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
760
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
782
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
783
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
784
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
806
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
807
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
808
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
830
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
831
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
832
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
854
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
855
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
856
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
878
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
879
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
880
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
881
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
904
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
905
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
906
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
907
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
929
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
930
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
931
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
932
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
954
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
955
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
956
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
957
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
981
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
982
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
983
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
984
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
985
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1009
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1010
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1011
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1012
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
1013
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1038
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1039
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1040
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1041
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
1042
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1061
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1062
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1063
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
1064
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1081
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1082
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
1083
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1084
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1101
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1102
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1103
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
1104
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1122
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1123
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
1124
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
1125
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1126
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1144
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1145
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
1146
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
1147
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1148
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1167
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1168
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1169
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
1170
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
1171
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1172
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1192
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1193
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1194
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1195
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1196
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken },
1197
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1198
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1213
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1214
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1229
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1230
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1245
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1246
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1261
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1262
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1277
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1278
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1292
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1293
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1307
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1308
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1322
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1323
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1337
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1338
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1352
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1353
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1367
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1368
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1382
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1383
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1397
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1398
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1412
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1413
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1427
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1428
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1465
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue });
1480
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue });
1493
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue });
1506
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue });
1522
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1523
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1539
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1540
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1555
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1556
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1574
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1575
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
1576
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsNotActive },
1577
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1595
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1596
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken },
1597
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsNotActive },
1598
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1616
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1617
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsActive }, // ?
1618
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1859
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1860
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
1861
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1862
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1886
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1887
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
1888
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
1889
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
1907
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
1908
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
1924
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
1925
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
1926
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive },
1927
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
1943
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
1944
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
1945
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
1946
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
1962
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
1963
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsActive },
1964
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2010
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2011
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2012
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsActive });
2029
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2030
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2031
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsActive },
2032
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2048
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2049
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsNotActive },
2050
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsNotActive });
2067
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2068
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsNotActive },
2069
new DirectiveInfo {
Kind
= SyntaxKind.BadDirectiveTrivia, Status = NodeStatus.IsNotActive },
2070
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsNotActive });
2084
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2085
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2100
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2101
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2122
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2123
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2210
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2211
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2231
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2232
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2252
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2253
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2273
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2274
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2294
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2295
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2315
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2316
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2336
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2337
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2357
new DirectiveInfo {
Kind
= SyntaxKind.RegionDirectiveTrivia, Status = NodeStatus.IsActive },
2358
new DirectiveInfo {
Kind
= SyntaxKind.EndRegionDirectiveTrivia, Status = NodeStatus.IsActive });
2400
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = defSym });
2416
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "XXX" });
2446
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2447
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "XXX" },
2448
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2465
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2466
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "XXX" },
2467
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2484
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2485
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = defSym },
2486
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2505
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2506
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = defSym },
2507
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2521
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2534
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2547
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "GOO" });
2561
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = defSym });
2577
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "XXX" });
2607
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2608
new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "XXX" },
2609
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2628
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2629
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "Z" },
2630
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
2631
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2632
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2633
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2657
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2658
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "A" },
2659
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2660
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "B" },
2661
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
2662
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2663
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2664
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2665
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2666
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2688
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2689
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "Z" },
2690
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsNotActive | NodeStatus.NotBranchTaken | NodeStatus.TrueValue },
2691
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "Z" },
2692
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsNotActive },
2693
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
2694
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2695
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2696
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2719
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2720
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "Z" },
2721
new DirectiveInfo {
Kind
= SyntaxKind.ElseDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken },
2722
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2723
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "Z" },
2724
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2725
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2726
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2727
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2728
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2745
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2746
new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "XXX" },
2747
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2763
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.NotBranchTaken | NodeStatus.FalseValue },
2764
new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "ZZZ" },
2765
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2783
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive | NodeStatus.BranchTaken | NodeStatus.TrueValue },
2784
new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = defSym },
2785
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2798
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2809
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2820
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "GOO" });
2833
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "A_1" });
2844
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" });
2865
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "error" },
2866
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
2867
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsActive },
2868
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
2870
new DirectiveInfo {
Kind
= SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "error" },
2871
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
2872
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsNotActive },
2873
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2897
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "if" },
2898
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "else" },
2899
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "elif" },
2900
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "endif" },
2901
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "region" },
2902
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "endregion" },
2903
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "define" },
2904
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "undef" },
2905
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "warning" },
2906
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "error" },
2907
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "line" },
2908
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "pragma" },
2909
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "reference" });
2935
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" },
2936
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" },
2937
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" },
2938
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" },
2939
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" },
2940
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" },
2941
new DirectiveInfo {
Kind
= SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" });
2956
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
2967
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsActive });
2981
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
2982
new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsNotActive },
2983
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
2997
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
2998
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsNotActive },
2999
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
3021
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
3022
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsNotActive },
3023
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3024
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsNotActive },
3025
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3026
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsNotActive },
3027
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3028
new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsActive },
3029
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
3057
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
3058
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3059
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3060
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3061
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3062
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3063
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3064
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3065
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3066
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3067
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3068
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3069
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3070
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3071
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3072
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
3096
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
3097
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3098
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3099
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3100
new DirectiveInfo {
Kind
= SyntaxKind.ElifDirectiveTrivia, Status = NodeStatus.IsActive },
3101
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
3112
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3123
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsActive });
3134
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3145
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3156
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3167
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3178
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3191
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3236
Kind
= SyntaxKind.ErrorDirectiveTrivia,
3259
Kind
= SyntaxKind.ErrorDirectiveTrivia,
3282
Kind
= SyntaxKind.ErrorDirectiveTrivia,
3302
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3313
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3324
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3335
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
3349
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000 });
3359
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000, Text = "bogus.cs" });
3369
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -1 });
3380
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -1 });
3390
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -1 });
3400
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -2 });
3411
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -2 });
3421
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -2 });
3432
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive });
3443
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive });
3454
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "bogus.cs" });
3465
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 16707566, Text = "XYZ" });
3506
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000 });
3516
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000 });
3527
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000, Text = "bogus.cs" });
3537
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 12345, Text = "bogus.cs" });
3555
VerifyDirectivesSpecial(tree.GetCompilationUnitRoot(), new DirectiveInfo {
Kind
= SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 100, Text = "test.cs" });
4304
Kind
= SyntaxKind.ReferenceDirectiveTrivia,
4319
Kind
= SyntaxKind.ReferenceDirectiveTrivia,
4333
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive });
4344
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive });
4355
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive });
4366
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive });
4407
Kind
= SyntaxKind.LoadDirectiveTrivia,
4422
Kind
= SyntaxKind.LoadDirectiveTrivia,
4437
Kind
= SyntaxKind.LoadDirectiveTrivia,
4451
Kind
= SyntaxKind.LoadDirectiveTrivia,
4469
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" });
4480
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "restore" });
4491
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" });
4502
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" });
4513
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable warnings" });
4524
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable annotations" });
4535
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable warnings" });
4546
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" });
4565
VerifyDirectivesSpecial(root, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" });
4582
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" });
4593
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" });
4604
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" });
4615
VerifyDirectivesSpecial(node, new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" });
4632
new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" },
4633
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
4634
new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "enable" },
4635
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive },
4636
new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" });
4651
new DirectiveInfo {
Kind
= SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive },
4652
new DirectiveInfo {
Kind
= SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsNotActive, Text = "" },
4653
new DirectiveInfo {
Kind
= SyntaxKind.EndIfDirectiveTrivia, Status = NodeStatus.IsActive });
3 references to Kind
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\PreprocessorTests.cs (3)
157
Assert.Equal(exp.
Kind
, actual[idx]); // exact order
189
switch (exp.
Kind
)
286
Assert.True(false, String.Format("You are expecting some text in the directive, but this method doesn't know how to verify it for `{0}`.", exp.
Kind
));