32 references to UsingDeclaration
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (32)
Parsing\AwaitParsingTests.cs (4)
1345
UsingDeclaration
("""
1424
UsingDeclaration
("""
1504
UsingDeclaration
("""
1594
UsingDeclaration
("""
Parsing\LambdaParameterParsingTests.cs (4)
2305
UsingDeclaration
("Func<string, string> func0 = (x = null) => x;");
2419
UsingDeclaration
("Func<string, string> func0 = (y, x = null) => x;");
2490
UsingDeclaration
("Func<string, string> func0 = (string x = null) => x;");
2560
UsingDeclaration
("Func<string, string> func0 = (string y, string x = null) => x;");
Parsing\LambdaReturnTypeParsingTests.cs (6)
2662
UsingDeclaration
(source);
2716
UsingDeclaration
(source);
5622
UsingDeclaration
(source);
5680
UsingDeclaration
(source);
5733
UsingDeclaration
(source);
5799
UsingDeclaration
(source);
Parsing\MemberDeclarationParsingTests.cs (4)
752
UsingDeclaration
("public int x; public int y", offset: 0, options: null, consumeFullText: false);
9669
UsingDeclaration
("C operator checked " + op + "(C x) => x;");
9782
UsingDeclaration
("C operator checked " + op + "(C x, C y) => x;");
9907
UsingDeclaration
(op + " operator checked D(C x) => x;");
Parsing\ParsingTests.cs (1)
103
UsingDeclaration
(text, offset: 0, options, consumeFullText: true, expectedErrors: expectedErrors);
Parsing\RefReadonlyTests.cs (13)
507
UsingDeclaration
(source);
550
UsingDeclaration
(source);
594
UsingDeclaration
(source);
637
UsingDeclaration
(source);
681
UsingDeclaration
(source);
725
UsingDeclaration
(source);
770
UsingDeclaration
(source);
814
UsingDeclaration
(source);
858
UsingDeclaration
(source);
902
UsingDeclaration
(source);
1193
UsingDeclaration
(source);
1236
UsingDeclaration
(source);
1282
UsingDeclaration
(source);