169 references to VerifyDirectivesSpecial
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (169)
LexicalAndXml\PreprocessorTests.cs (169)
516VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive }); 526VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive }); 585VerifyDirectivesSpecial(node, 604VerifyDirectivesSpecial(node, 626VerifyDirectivesSpecial(node, 647VerifyDirectivesSpecial(node, 666VerifyDirectivesSpecial(node, 681VerifyDirectivesSpecial(node, 698VerifyDirectivesSpecial(node, 713VerifyDirectivesSpecial(node, 733VerifyDirectivesSpecial(node, 757VerifyDirectivesSpecial(node, 781VerifyDirectivesSpecial(node, 805VerifyDirectivesSpecial(node, 829VerifyDirectivesSpecial(node, 853VerifyDirectivesSpecial(node, 877VerifyDirectivesSpecial(node, 903VerifyDirectivesSpecial(node, 928VerifyDirectivesSpecial(node, 953VerifyDirectivesSpecial(node, 980VerifyDirectivesSpecial(node, 1008VerifyDirectivesSpecial(node, 1037VerifyDirectivesSpecial(node, 1060VerifyDirectivesSpecial(node, 1080VerifyDirectivesSpecial(node, 1100VerifyDirectivesSpecial(node, 1121VerifyDirectivesSpecial(node, 1143VerifyDirectivesSpecial(node, 1166VerifyDirectivesSpecial(node, 1191VerifyDirectivesSpecial(node, 1212VerifyDirectivesSpecial(node, 1228VerifyDirectivesSpecial(node, 1244VerifyDirectivesSpecial(node, 1260VerifyDirectivesSpecial(node, 1276VerifyDirectivesSpecial(node, 1291VerifyDirectivesSpecial(node, 1306VerifyDirectivesSpecial(node, 1321VerifyDirectivesSpecial(node, 1336VerifyDirectivesSpecial(node, 1351VerifyDirectivesSpecial(node, 1366VerifyDirectivesSpecial(node, 1381VerifyDirectivesSpecial(node, 1396VerifyDirectivesSpecial(node, 1411VerifyDirectivesSpecial(node, 1426VerifyDirectivesSpecial(node, 1464VerifyDirectivesSpecial(node, 1479VerifyDirectivesSpecial(node, 1492VerifyDirectivesSpecial(node, 1505VerifyDirectivesSpecial(node, 1521VerifyDirectivesSpecial(node, 1538VerifyDirectivesSpecial(node, 1554VerifyDirectivesSpecial(node, 1573VerifyDirectivesSpecial(node, 1594VerifyDirectivesSpecial(node, 1615VerifyDirectivesSpecial(node, 1858VerifyDirectivesSpecial(node, 1885VerifyDirectivesSpecial(node, 1906VerifyDirectivesSpecial(node, 1923VerifyDirectivesSpecial(node, 1942VerifyDirectivesSpecial(node, 1961VerifyDirectivesSpecial(node, 2009VerifyDirectivesSpecial(node, 2028VerifyDirectivesSpecial(node, 2047VerifyDirectivesSpecial(node, 2066VerifyDirectivesSpecial(node, 2083VerifyDirectivesSpecial(node, 2099VerifyDirectivesSpecial(node, 2121VerifyDirectivesSpecial(node, 2209VerifyDirectivesSpecial(node, 2230VerifyDirectivesSpecial(node, 2251VerifyDirectivesSpecial(node, 2272VerifyDirectivesSpecial(node, 2293VerifyDirectivesSpecial(node, 2314VerifyDirectivesSpecial(node, 2335VerifyDirectivesSpecial(node, 2356VerifyDirectivesSpecial(node, 2400VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = defSym }); 2416VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "XXX" }); 2429VerifyDirectivesSpecial(node); 2445VerifyDirectivesSpecial(node, 2464VerifyDirectivesSpecial(node, 2483VerifyDirectivesSpecial(node, 2504VerifyDirectivesSpecial(node, 2520VerifyDirectivesSpecial(node, 2533VerifyDirectivesSpecial(node, 2546VerifyDirectivesSpecial(node, 2561VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = defSym }); 2577VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "XXX" }); 2590VerifyDirectivesSpecial(node); 2606VerifyDirectivesSpecial(node, 2627VerifyDirectivesSpecial(node, 2656VerifyDirectivesSpecial(node, 2687VerifyDirectivesSpecial(node, 2718VerifyDirectivesSpecial(node, 2744VerifyDirectivesSpecial(node, 2762VerifyDirectivesSpecial(node, 2782VerifyDirectivesSpecial(node, 2798VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty }); 2809VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty }); 2820VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "GOO" }); 2833VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "A_1" }); 2844VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" }); 2864VerifyDirectivesSpecial(node, 2896VerifyDirectivesSpecial(node, 2934VerifyDirectivesSpecial(node, 2956VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 2967VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsActive }); 2981VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive }, 2997VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.IfDirectiveTrivia, Status = NodeStatus.IsActive }, 3020VerifyDirectivesSpecial(node, 3056VerifyDirectivesSpecial(node, 3095VerifyDirectivesSpecial(node, 3112VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3123VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.WarningDirectiveTrivia, Status = NodeStatus.IsActive }); 3134VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3145VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3156VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3167VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3178VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3191VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3234VerifyDirectivesSpecial(node, new DirectiveInfo 3257VerifyDirectivesSpecial(node, new DirectiveInfo 3280VerifyDirectivesSpecial(node, new DirectiveInfo 3302VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3313VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3324VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3335VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3349VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000 }); 3359VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000, Text = "bogus.cs" }); 3369VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -1 }); 3380VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -1 }); 3390VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -1 }); 3400VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -2 }); 3411VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -2 }); 3421VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = -2 }); 3432VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive }); 3443VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive }); 3454VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Text = "bogus.cs" }); 3465VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 16707566, Text = "XYZ" }); 3506VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000 }); 3516VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000 }); 3527VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 1000, Text = "bogus.cs" }); 3537VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 12345, Text = "bogus.cs" }); 3555VerifyDirectivesSpecial(tree.GetCompilationUnitRoot(), new DirectiveInfo { Kind = SyntaxKind.LineDirectiveTrivia, Status = NodeStatus.IsActive, Number = 100, Text = "test.cs" }); 4302VerifyDirectivesSpecial(node, new DirectiveInfo 4317VerifyDirectivesSpecial(node, new DirectiveInfo 4333VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive }); 4344VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive }); 4355VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive }); 4366VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ReferenceDirectiveTrivia, Status = NodeStatus.IsActive }); 4405VerifyDirectivesSpecial(node, new DirectiveInfo 4420VerifyDirectivesSpecial(node, new DirectiveInfo 4435VerifyDirectivesSpecial(node, new DirectiveInfo 4449VerifyDirectivesSpecial(node, new DirectiveInfo 4469VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" }); 4480VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "restore" }); 4491VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" }); 4502VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" }); 4513VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable warnings" }); 4524VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable annotations" }); 4535VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable warnings" }); 4546VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" }); 4565VerifyDirectivesSpecial(root, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "enable" }); 4582VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" }); 4593VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "disable" }); 4604VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" }); 4615VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.NullableDirectiveTrivia, Status = NodeStatus.IsActive, Text = "" }); 4631VerifyDirectivesSpecial(node, 4650VerifyDirectivesSpecial(node,