4 references to ToImmutableArrayChecked
Microsoft.CodeAnalysis.Scripting (4)
ScriptMetadataResolver.cs (1)
46
_resolver.PathResolver.WithSearchPaths(
ToImmutableArrayChecked
(searchPaths, nameof(searchPaths)))));
ScriptOptions.cs (2)
223
=> WithReferences(
ToImmutableArrayChecked
(references, nameof(references)));
331
=> WithImports(
ToImmutableArrayChecked
(imports, nameof(imports)));
ScriptSourceResolver.cs (1)
37
return new ScriptSourceResolver(
ToImmutableArrayChecked
(searchPaths, nameof(searchPaths)), BaseDirectory);