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