4 references to WithReferences
Microsoft.CodeAnalysis.Scripting (1)
ScriptOptions.cs (1)
292
=>
WithReferences
((IEnumerable<string>)references);
Microsoft.CodeAnalysis.Scripting.UnitTests (3)
ScriptOptionsTests.cs (3)
96
Assert.Throws<ArgumentNullException>("references", () => options.
WithReferences
((IEnumerable<string>)null));
97
Assert.Throws<ArgumentNullException>("references", () => options.
WithReferences
(default(ImmutableArray<string>)));
99
Assert.Throws<ArgumentNullException>("references[0]", () => options.
WithReferences
(ImmutableArray.Create((string)null)));