30 references to getData
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (30)
Parsing\LambdaAttributeParsingTests.cs (30)
898yield return getData("[A] x => x", tests => tests.LambdaExpression_01()); 899yield return getData("[A] async x => x", tests => tests.LambdaExpression_01(SyntaxKind.AsyncKeyword)); 900yield return getData("[A] static x => x", tests => tests.LambdaExpression_01(SyntaxKind.StaticKeyword)); 901yield return getData("[A] async static x => x", tests => tests.LambdaExpression_01(SyntaxKind.AsyncKeyword, SyntaxKind.StaticKeyword)); 902yield return getData("[A] static async x => x", tests => tests.LambdaExpression_01(SyntaxKind.StaticKeyword, SyntaxKind.AsyncKeyword)); 904yield return getData("[A]() => { }", tests => tests.LambdaExpression_02()); 905yield return getData("[A]async () => { }", tests => tests.LambdaExpression_02(SyntaxKind.AsyncKeyword)); 906yield return getData("[A]static () => { }", tests => tests.LambdaExpression_02(SyntaxKind.StaticKeyword)); 907yield return getData("[A]async static () => { }", tests => tests.LambdaExpression_02(SyntaxKind.AsyncKeyword, SyntaxKind.StaticKeyword)); 908yield return getData("[A]static async () => { }", tests => tests.LambdaExpression_02(SyntaxKind.StaticKeyword, SyntaxKind.AsyncKeyword)); 910yield return getData("[A] (x) => { }", tests => tests.LambdaExpression_03()); 911yield return getData("[A] async (x) => { }", tests => tests.LambdaExpression_03(SyntaxKind.AsyncKeyword)); 912yield return getData("[A] static (x) => { }", tests => tests.LambdaExpression_03(SyntaxKind.StaticKeyword)); 913yield return getData("[A] async static (x) => { }", tests => tests.LambdaExpression_03(SyntaxKind.AsyncKeyword, SyntaxKind.StaticKeyword)); 914yield return getData("[A] static async (x) => { }", tests => tests.LambdaExpression_03(SyntaxKind.StaticKeyword, SyntaxKind.AsyncKeyword)); 916yield return getData("[A] (object x) => { }", tests => tests.LambdaExpression_04()); 917yield return getData("[A] async (object x) => { }", tests => tests.LambdaExpression_04(SyntaxKind.AsyncKeyword)); 918yield return getData("[A] static (object x) => { }", tests => tests.LambdaExpression_04(SyntaxKind.StaticKeyword)); 919yield return getData("[A] async static (object x) => { }", tests => tests.LambdaExpression_04(SyntaxKind.AsyncKeyword, SyntaxKind.StaticKeyword)); 920yield return getData("[A] static async (object x) => { }", tests => tests.LambdaExpression_04(SyntaxKind.StaticKeyword, SyntaxKind.AsyncKeyword)); 922yield return getData("[A(B)]() => { }", tests => tests.LambdaExpression_05()); 923yield return getData("[A, B]() => { }", tests => tests.LambdaExpression_06()); 924yield return getData("[A][B]() => { }", tests => tests.LambdaExpression_07()); 925yield return getData("[A] (ref int x) => ref x", tests => tests.LambdaExpression_08()); 927yield return getData("[return: A] static x => x", tests => tests.LambdaExpression_09()); 928yield return getData("([A] int x) => x", tests => tests.LambdaExpression_10()); 929yield return getData("([A] out int x) => { }", tests => tests.LambdaExpression_11()); 930yield return getData("([A] ref int x) => ref x", tests => tests.LambdaExpression_12()); 931yield return getData("([A] x) => x", tests => tests.LambdaExpression_13()); 932yield return getData("(int x, [A] int y) => x", tests => tests.LambdaExpression_14());