Syntax\SyntaxNormalizerTests.cs (222)
910TestNormalizeDeclaration("""
926TestNormalizeDeclaration("""
949TestNormalizeDeclaration("using a;", "using a;");
950TestNormalizeDeclaration("using a=b;", "using a = b;");
951TestNormalizeDeclaration("using a.b;", "using a.b;");
952TestNormalizeDeclaration(
962TestNormalizeDeclaration("global using a;", "global using a;");
963TestNormalizeDeclaration("global using a=b;", "global using a = b;");
964TestNormalizeDeclaration("global using a.b;", "global using a.b;");
965TestNormalizeDeclaration(
974TestNormalizeDeclaration(
983TestNormalizeDeclaration(
997TestNormalizeDeclaration(
1003TestNormalizeDeclaration(
1010TestNormalizeDeclaration(
1017TestNormalizeDeclaration(
1026TestNormalizeDeclaration(
1041TestNormalizeDeclaration(
1047TestNormalizeDeclaration(
1056TestNormalizeDeclaration(
1063TestNormalizeDeclaration(
1070TestNormalizeDeclaration(
1081TestNormalizeDeclaration(
1090TestNormalizeDeclaration(
1103TestNormalizeDeclaration(
1112TestNormalizeDeclaration(
1126TestNormalizeDeclaration(
1135TestNormalizeDeclaration(
1144TestNormalizeDeclaration(
1154TestNormalizeDeclaration(
1163TestNormalizeDeclaration(
1172TestNormalizeDeclaration(
1182TestNormalizeDeclaration(
1191TestNormalizeDeclaration(
1200TestNormalizeDeclaration(
1209TestNormalizeDeclaration(
1223TestNormalizeDeclaration(
1230TestNormalizeDeclaration("""
1241TestNormalizeDeclaration("""
1256TestNormalizeDeclaration("""
1267TestNormalizeDeclaration("""
1281TestNormalizeDeclaration("""
1305TestNormalizeDeclaration("""
1316TestNormalizeDeclaration("""
1327TestNormalizeDeclaration("""
1377TestNormalizeDeclaration("""
1392TestNormalizeDeclaration("""
1407TestNormalizeDeclaration("""
1428TestNormalizeDeclaration("""
1448TestNormalizeDeclaration("""
1463TestNormalizeDeclaration("""
1483TestNormalizeDeclaration("""
1498TestNormalizeDeclaration("""
1518TestNormalizeDeclaration("""
1543TestNormalizeDeclaration("""
1566TestNormalizeDeclaration("""
1589TestNormalizeDeclaration("""
1616TestNormalizeDeclaration("""
1631TestNormalizeDeclaration("""
1651TestNormalizeDeclaration("""
1666TestNormalizeDeclaration("""
1686TestNormalizeDeclaration("""
1711TestNormalizeDeclaration("""
1734TestNormalizeDeclaration("""
1757TestNormalizeDeclaration("""
1784TestNormalizeDeclaration(
1793TestNormalizeDeclaration(
1802TestNormalizeDeclaration(
1811TestNormalizeDeclaration(
1820TestNormalizeDeclaration(
1834TestNormalizeDeclaration(
1848TestNormalizeDeclaration(
1857TestNormalizeDeclaration(
1866TestNormalizeDeclaration(
1874TestNormalizeDeclaration(
1888TestNormalizeDeclaration(
1896TestNormalizeDeclaration(
1910TestNormalizeDeclaration(
1918TestNormalizeDeclaration(
1932TestNormalizeDeclaration(
1940TestNormalizeDeclaration(
1954TestNormalizeDeclaration(
1968TestNormalizeDeclaration(
1987TestNormalizeDeclaration(
2001TestNormalizeDeclaration(
2020TestNormalizeDeclaration(
2028TestNormalizeDeclaration(
2036TestNormalizeDeclaration(
2047TestNormalizeDeclaration(
2058TestNormalizeDeclaration(
2069TestNormalizeDeclaration(
2080TestNormalizeDeclaration(
2096TestNormalizeDeclaration(
2112TestNormalizeDeclaration(
2123TestNormalizeDeclaration(
2134TestNormalizeDeclaration(
2145TestNormalizeDeclaration(
2156TestNormalizeDeclaration(
2167TestNormalizeDeclaration(
2178TestNormalizeDeclaration(
2194TestNormalizeDeclaration(
2210TestNormalizeDeclaration(
2221TestNormalizeDeclaration(
2232TestNormalizeDeclaration(
2241TestNormalizeDeclaration(
2250TestNormalizeDeclaration(
2259TestNormalizeDeclaration(
2268TestNormalizeDeclaration(
2282TestNormalizeDeclaration(
2296TestNormalizeDeclaration(
2305TestNormalizeDeclaration(
2314TestNormalizeDeclaration(
2325TestNormalizeDeclaration(
2336TestNormalizeDeclaration(
2347TestNormalizeDeclaration(
2358TestNormalizeDeclaration(
2374TestNormalizeDeclaration(
2390TestNormalizeDeclaration(
2401TestNormalizeDeclaration(
2412TestNormalizeDeclaration(
2421TestNormalizeDeclaration(
2430TestNormalizeDeclaration(
2439TestNormalizeDeclaration(
2448TestNormalizeDeclaration(
2462TestNormalizeDeclaration(
2476TestNormalizeDeclaration(
2485TestNormalizeDeclaration(
2499TestNormalizeDeclaration(
2506TestNormalizeDeclaration("""
2521TestNormalizeDeclaration("""
2536TestNormalizeDeclaration("""
2556TestNormalizeDeclaration("""
2571TestNormalizeDeclaration("""
2591TestNormalizeDeclaration("""
2606TestNormalizeDeclaration("""
2626TestNormalizeDeclaration("""
2651TestNormalizeDeclaration("""
2674TestNormalizeDeclaration("""
2697TestNormalizeDeclaration("""
2724TestNormalizeDeclaration("""
2738TestNormalizeDeclaration("""
2752TestNormalizeDeclaration("""
2766TestNormalizeDeclaration("""
2783TestNormalizeDeclaration("""
2807TestNormalizeDeclaration("""
2832TestNormalizeDeclaration("""
2870TestNormalizeDeclaration("""
2887TestNormalizeDeclaration("""
2909TestNormalizeDeclaration("""
2929TestNormalizeDeclaration(
2936TestNormalizeDeclaration(
2944TestNormalizeDeclaration(
2951TestNormalizeDeclaration(
2958TestNormalizeDeclaration(
2971TestNormalizeDeclaration("delegate a b();", "delegate a b();");
2972TestNormalizeDeclaration("delegate a b(c);", "delegate a b(c);");
2973TestNormalizeDeclaration("delegate a b(c,d);", "delegate a b(c, d);");
2979TestNormalizeDeclaration(
2985TestNormalizeDeclaration(
2992TestNormalizeDeclaration(
3000TestNormalizeDeclaration(
3013TestNormalizeDeclaration(
3020TestNormalizeDeclaration(
3027TestNormalizeDeclaration(
3034TestNormalizeDeclaration(
3041TestNormalizeDeclaration(
3048TestNormalizeDeclaration(
3056TestNormalizeDeclaration(
3065TestNormalizeDeclaration(
3079TestNormalizeDeclaration(
3091TestNormalizeDeclaration("record class C(int I, int J);", "record class C(int I, int J);");
3092TestNormalizeDeclaration("record struct S(int I, int J);", "record struct S(int I, int J);");
3098TestNormalizeDeclaration("class C ( int I , int J ) ; ", "class C(int I, int J);");
3099TestNormalizeDeclaration("struct S ( int I , int J ) ; ", "struct S(int I, int J);");
3100TestNormalizeDeclaration("interface S ( int I , int J ) ; ", "interface S(int I, int J);");
3101TestNormalizeDeclaration("class C ( ) ; ", "class C();");
3102TestNormalizeDeclaration("struct S ( ) ; ", "struct S();");
3103TestNormalizeDeclaration("interface S ( ) ; ", "interface S();");
3109TestNormalizeDeclaration("class C ; ", "class C;");
3110TestNormalizeDeclaration("struct C ; ", "struct C;");
3111TestNormalizeDeclaration("interface C ; ", "interface C;");
3112TestNormalizeDeclaration("enum C ; ", "enum C;");
3118TestNormalizeDeclaration("""
3145TestNormalizeDeclaration(
3154TestNormalizeDeclaration(
3165TestNormalizeDeclaration(
3283TestNormalizeDeclaration(
3300TestNormalizeDeclaration("""
3320TestNormalizeDeclaration("""
3329TestNormalizeDeclaration("""
3338TestNormalizeDeclaration("""
3347TestNormalizeDeclaration("""
3377TestNormalizeDeclaration("""
3390TestNormalizeDeclaration("""
3613TestNormalizeDeclaration("""
3686TestNormalizeDeclaration("""
3821TestNormalizeDeclaration("new(string prefix,string uri)[10]", "new (string prefix, string uri)[10]");
3822TestNormalizeDeclaration("(string prefix,string uri)[]ns", "(string prefix, string uri)[] ns");
3823TestNormalizeDeclaration("(string prefix,(string uri,string help))ns", "(string prefix, (string uri, string help)) ns");
3824TestNormalizeDeclaration("(string prefix,string uri)ns", "(string prefix, string uri) ns");
3825TestNormalizeDeclaration("public void Foo((string prefix,string uri)ns)", "public void Foo((string prefix, string uri) ns)");
3826TestNormalizeDeclaration("public (string prefix,string uri)Foo()", "public (string prefix, string uri) Foo()");
3832TestNormalizeDeclaration("""
3848TestNormalizeDeclaration("""
3864TestNormalizeDeclaration("""
3880TestNormalizeDeclaration("""
3896TestNormalizeDeclaration("""
3927TestNormalizeDeclaration(code, code);
3999TestNormalizeDeclaration(
4008TestNormalizeDeclaration(code, code);
4014TestNormalizeDeclaration(
4022TestNormalizeDeclaration(
4031TestNormalizeDeclaration(code, code);
4037TestNormalizeDeclaration(
4045TestNormalizeDeclaration(
4053TestNormalizeDeclaration(
5902TestNormalizeDeclaration(
5932TestNormalizeDeclaration(text, expected);
5940TestNormalizeDeclaration(
5949TestNormalizeDeclaration(
5986TestNormalizeDeclaration("""
6019TestNormalizeDeclaration("""