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