4 references to WithReferences
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
1702WithReferences(typeof(CSharpScript).GetTypeInfo().Assembly),
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
ScriptOptionsTests.cs (3)
68options = empty.WithReferences(typeof(int).GetTypeInfo().Assembly, typeof(int).GetTypeInfo().Assembly); 89Assert.Throws<ArgumentNullException>("references", () => options.WithReferences((Assembly[])null)); 92Assert.Throws<ArgumentNullException>("references[0]", () => options.WithReferences(new Assembly[] { null }));