10 references to RunAsync
Microsoft.CodeAnalysis.CSharp.Scripting (2)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (6)
InteractiveSessionTests.cs (6)
1043var s1 = await CSharpScript.RunAsync<int[]>("new int[] { 1,2,3,4,5,6 }", ScriptOptions);
1436CSharpScript.RunAsync<C<int>>("null", ScriptOptions);
1455CSharpScript.RunAsync<int>("null", ScriptOptions);
1468CSharpScript.RunAsync<string>("1+1", ScriptOptions);
1531var s0 = CSharpScript.RunAsync<int>("x + Y + Z()", options: ScriptOptions, globals: c);
1556var s0 = await CSharpScript.RunAsync<int>("Z()", options: ScriptOptions, globals: c, globalsType: typeof(I));