4 references to WithReferences
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
InteractiveSessionReferencesTests.cs (1)
1122var s0 = await CSharpScript.RunAsync("C c;", ScriptOptions.WithReferences(libFile.Path));
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
ScriptOptionsTests.cs (3)
65var options = empty.WithReferences("System.Linq", "system.linq"); 95Assert.Throws<ArgumentNullException>("references", () => options.WithReferences((string[])null)); 98Assert.Throws<ArgumentNullException>("references[0]", () => options.WithReferences(new string[] { null }));