10 references to RunAsync
Microsoft.CodeAnalysis.CSharp.Scripting (2)
CSharpScript.cs (2)
114
return
RunAsync
<object>(code, options, globals, globalsType, cancellationToken);
130
return
RunAsync
<T>(code, options, globals, globalsType, cancellationToken).GetEvaluationResultAsync();
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
InteractiveSessionReferencesTests.cs (2)
186
var s0 = await CSharpScript.
RunAsync
<Process>($@"
501
var s0 = await CSharpScript.
RunAsync
<int>("x", options, new C());
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (6)
InteractiveSessionTests.cs (6)
1042
var s1 = await CSharpScript.
RunAsync
<int[]>("new int[] { 1,2,3,4,5,6 }");
1435
CSharpScript.
RunAsync
<C<int>>("null");
1454
CSharpScript.
RunAsync
<int>("null");
1467
CSharpScript.
RunAsync
<string>("1+1");
1530
var s0 = CSharpScript.
RunAsync
<int>("x + Y + Z()", globals: c);
1555
var s0 = await CSharpScript.
RunAsync
<int>("Z()", globals: c, globalsType: typeof(I));