12 references to WithFilePath
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
InteractiveSessionReferencesTests.cs (2)
172", options.WithFilePath(@"C:\dir\a.csx")); 174var state = await script.RunAsync().ContinueWith<IEnumerable<int>>("x", options.WithFilePath(null));
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (8)
InteractiveSessionTests.cs (2)
1244ScriptOptions.WithFilePath(scriptPath)); 1264ScriptOptions.WithFilePath(scriptPath));
ScriptTests.cs (6)
851var opts = ScriptOptions.WithEmitDebugInformation(true).WithFilePath("debug.csx").WithFileEncoding(null); 865var opts = ScriptOptions.WithEmitDebugInformation(true).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8); 872var opts = ScriptOptions.WithEmitDebugInformation(false).WithFilePath(null).WithFileEncoding(null); 879var opts = ScriptOptions.WithEmitDebugInformation(false).WithFilePath("debug.csx").WithFileEncoding(Encoding.UTF8); 887var opts = ScriptOptions.WithEmitDebugInformation(true).WithFilePath("debug.csx"); 894var opts = ScriptOptions.WithEmitDebugInformation(false).WithFilePath("debug.csx");
Microsoft.CodeAnalysis.InteractiveHost (2)
Interactive\Core\InteractiveHost.Service.cs (2)
568WithFilePath(initializationScriptPath). 655var scriptOptions = options.WithFilePath(path);