4 references to WithReferences
Microsoft.CodeAnalysis.Scripting (1)
ScriptOptions.cs (1)
259
=>
WithReferences
((IEnumerable<Assembly>)references);
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
ScriptOptionsTests.cs (3)
90
Assert.Throws<ArgumentNullException>("references", () => options.
WithReferences
((IEnumerable<Assembly>)null));
91
Assert.Throws<ArgumentNullException>("references", () => options.
WithReferences
(default(ImmutableArray<Assembly>)));
93
Assert.Throws<ArgumentNullException>("references[0]", () => options.
WithReferences
(ImmutableArray.Create((Assembly)null)));