7 references to AddReferences
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (3)
InteractiveSessionReferencesTests.cs (3)
205var options2 = options1.AddReferences("System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"); 213var options3 = options2.AddReferences(typeof(System.Windows.Forms.Form).Assembly.Location); 227AddReferences("System.Core", "System.dll").
Microsoft.CodeAnalysis.Scripting.UnitTests (4)
ScriptOptionsTests.cs (4)
29AddReferences("System.Linq"). 30AddReferences("System.Linq"); 53Assert.Throws<ArgumentNullException>("references", () => options.AddReferences((string[])null)); 54Assert.Throws<ArgumentNullException>("references[0]", () => options.AddReferences(new string[] { null }));