89 references to UsingNode
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (89)
Parsing\AsyncParsingTests.cs (7)
1234UsingNode("async => async", options); 1256UsingNode("async async => async", options); 1279UsingNode("async async => async async => async", options); 1311UsingNode("(async) => async", options); 1338UsingNode("async (async) => async", options); 1366UsingNode("async delegate { }", options); 1386UsingNode("async delegate (int x) { }", options);
Parsing\CrefParsingTests.cs (12)
352UsingNode("operator >>>", options); 367UsingNode("operator > >>", options); 383UsingNode("operator >> >", options); 399UsingNode("operator >>>=", options); 438UsingNode("operator unchecked +", TestOptions.RegularWithDocumentationComments, 506UsingNode("operator unchecked +(A)", TestOptions.RegularWithDocumentationComments, 582UsingNode("T.operator unchecked +", TestOptions.RegularWithDocumentationComments, 767UsingNode("operator unchecked }}(A{A{T}})", TestOptions.RegularWithDocumentationComments, 902UsingNode("implicit operator unchecked A", TestOptions.RegularWithDocumentationComments, 983UsingNode("explicit operator unchecked A(B)", TestOptions.RegularWithDocumentationComments, 1071UsingNode("T.implicit operator unchecked A", TestOptions.RegularWithDocumentationComments, 1175UsingNode("T.explicit operator unchecked A(B)", TestOptions.RegularWithDocumentationComments,
Parsing\DeclarationParsingTests.cs (12)
7112var tree = UsingNode(@" 7160var tree = UsingNode(@" 7204var tree = UsingNode(@" 8450var tree = UsingNode(@" 8497var tree = UsingNode( 8542var tree = UsingNode(@" 8663var tree = UsingNode(text, TestOptions.Regular7_3, 8740var tree = UsingNode( 8787var tree = UsingNode( 8835var tree = UsingNode( 8900UsingNode( 9046UsingNode(test,
Parsing\FunctionPointerTests.cs (9)
2206UsingNode(@" 2342UsingNode(@" 3351UsingNode(@" 3425UsingNode(@" 3498UsingNode(@" 3578UsingNode(@" 3868UsingNode($@" 3955UsingNode(@" 4129UsingNode("using t = delegate*<void>;", options: TestOptions.Regular9);
Parsing\MemberDeclarationParsingTests.cs (10)
1876UsingNode($$""" 2062UsingNode($$""" 9174UsingNode(@" 9245UsingNode(@" 9295UsingNode(@" 9363UsingNode(@" 9455UsingNode(@" 9505UsingNode(@" 9560UsingNode(@" 9618UsingNode(@"record R<T> where T : delegate", options: TestOptions.Regular,
Parsing\SingleLineDeclarationParsingTests.cs (27)
31UsingNode( 63UsingNode( 92UsingNode( 132UsingNode( 169UsingNode( 198UsingNode(test, TestOptions.Regular9); 219UsingNode( 252UsingNode( 282UsingNode( 307UsingNode( 335UsingNode( 360UsingNode( 392UsingNode( 427UsingNode( 462UsingNode( 497UsingNode( 529UsingNode( 561UsingNode( 591UsingNode( 621UsingNode( 651UsingNode( 681UsingNode( 706UsingNode( 737UsingNode( 767UsingNode( 790UsingNode( 824UsingNode(
Parsing\SuppressNullableWarningExpressionParsingTests.cs (12)
77UsingNode( 97UsingNode( 121UsingNode( 149UsingNode( 186UsingNode( 226UsingNode( 370UsingNode("x?.y?!.z.ToString()", options: null, 444UsingNode("x?.y?![0].ToString()", options: null, 525UsingNode("x?.y?!().ToString()", options: null, 596UsingNode("x?.y!?!.ToString()", options: null, 827UsingNode(text, options: TestOptions.Regular7_3); 830UsingNode(text, options: TestOptions.Regular8);