131 references to UsingNode
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (131)
Parsing\AwaitParsingTests.cs (40)
432UsingNode(@" 476UsingNode(@" 520UsingNode(@" 554UsingNode(@" 582UsingNode(@" 616UsingNode(@" 650UsingNode(@" 691UsingNode(@" 728UsingNode(@" 759UsingNode(@" 790UsingNode(@" 821UsingNode(@" 856UsingNode(@" 886UsingNode(@" 925UsingNode(@" 1011UsingNode(@" 1100UsingNode(@" 1848UsingNode(@" 1874UsingNode(@" 1904UsingNode(@" 1946UsingNode(@" 1988UsingNode(@" 2030UsingNode(@" 2061UsingNode(@" 2093UsingNode(@" 2125UsingNode(@" 2157UsingNode(@" 2183UsingNode(@" 2209UsingNode(@" 2235UsingNode(@" 2261UsingNode(@" 2287UsingNode(@" 2313UsingNode(@" 2339UsingNode(@" 2396UsingNode(@" 2436UsingNode(@" 2481UsingNode(@" 2528UsingNode(@" 2574UsingNode(@" 2620UsingNode(@"
Parsing\CrefParsingTests.cs (65)
42UsingNode("A"); 56UsingNode("A{B}"); 79UsingNode("A()"); 98UsingNode("A{B}()"); 130UsingNode("T.A"); 152UsingNode("T.A{B}"); 183UsingNode("T.A()"); 210UsingNode("T.A{B}()"); 254UsingNode("this"); 265UsingNode("this[A]"); 292UsingNode("T.this"); 311UsingNode("T.this[A]"); 413UsingNode("operator +"); 425UsingNode("operator checked +"); 457UsingNode("operator +(A)"); 481UsingNode("operator checked +(A)"); 541UsingNode("T.operator +"); 561UsingNode("T.operator checked +"); 610UsingNode("T.operator +(A)"); 642UsingNode("T.operator checked +(A)"); 680UsingNode("operator }}(A{A{T}})"); 723UsingNode("operator checked }}(A{A{T}})"); 818UsingNode("operator }}}(A{A{T}})").GetDiagnostics().Verify(); 869UsingNode("implicit operator A"); 885UsingNode("implicit operator checked A"); 926UsingNode("explicit operator A(B)"); 954UsingNode("explicit operator checked A(B)"); 1022UsingNode("T.implicit operator A"); 1046UsingNode("T.implicit operator checked A"); 1102UsingNode("T.explicit operator A(B)"); 1138UsingNode("T.explicit operator checked A(B)"); 1224UsingNode("A()"); 1239UsingNode("A(B)"); 1261UsingNode("A(B, C)"); 1295UsingNode("A(ref B, out C)"); 1331UsingNode("A(ref readonly B)"); 1359UsingNode("A(ref readonly B, C)"); 1395UsingNode("A(B, ref readonly C)"); 1431UsingNode("A(out B, ref readonly C)"); 1658UsingNode("A(B?)"); 1688UsingNode("A(B*, C**)"); 1735UsingNode("IntPtr.op_Explicit(void*)"); 1774UsingNode("A(B[], C[,][,,])"); 1856UsingNode("A(ref int?*[], out B::C{D}.E?[,][])"); 1968UsingNode("F(A{int[], B?, C?*[,]})"); 2060UsingNode("explicit operator int[]"); 2089UsingNode("explicit operator checked int[]"); 2120UsingNode("explicit operator C[]"); 2149UsingNode("explicit operator checked C[]"); 2185UsingNode("int.A"); 2207UsingNode("A.B.C"); 2237UsingNode("A{T}.B{U, V}.C"); 2290UsingNode("Alias::B.C"); 2320UsingNode("global::B.C"); 2354UsingNode("string"); 2368UsingNode("Alias::B"); 2390UsingNode("global::B"); 2412UsingNode("global::global"); 2438UsingNode("@string"); 2452UsingNode(@"\u0061"); // a 2466UsingNode("\u00CB"); // E with umlaut 2480UsingNode("2"); 2498UsingNode("string()"); 2517UsingNode("Alias::B()"); 2544UsingNode("Alias::B{T}()");
Parsing\DeclarationParsingTests.cs (5)
6982var tree = UsingNode(@" 7025var tree = UsingNode(@" 7068var tree = UsingNode(@" 8848UsingNode( 9021UsingNode(
Parsing\LambdaParameterParsingTests.cs (1)
646var tree = UsingNode(@"(int a, int b Main();");
Parsing\NameAttributeValueParsingTests.cs (7)
39UsingNode("A"); 52UsingNode("int"); 65UsingNode(""); 78UsingNode(" "); 93UsingNode("A.B"); 108UsingNode("A{T}"); 123UsingNode(".");
Parsing\RecordParsing.cs (1)
345UsingNode(text);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (8)
262UsingNode("x?.y!.z.ToString()"); 314UsingNode("x?.y!?.z.ToString()"); 656UsingNode("x?.y![1].z.ToString()"); 722UsingNode("x?.y!(0)"); 764UsingNode("x?.y!"); 860UsingNode("x?.y!!.z"); 899UsingNode("x?.y!!!!.z"); 946UsingNode("x?.y.z!!");
Parsing\VerbatimCrefParsingTests.cs (4)
38UsingNode("T:NotARealType"); 57UsingNode("T:NotARealType"); 77UsingNode("T:NotARealType"); 98UsingNode("T:NotARealType");