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