3 instantiations of ScriptSourceResolver
Microsoft.CodeAnalysis.Scripting (3)
ScriptSourceResolver.cs (3)
17
public static new ScriptSourceResolver Default { get; } = new
ScriptSourceResolver
(ImmutableArray<string>.Empty, null);
37
return new
ScriptSourceResolver
(ToImmutableArrayChecked(searchPaths, nameof(searchPaths)), BaseDirectory);
49
return new
ScriptSourceResolver
(SearchPaths, baseDirectory);
7 references to ScriptSourceResolver
Microsoft.CodeAnalysis.Scripting (7)
ScriptSourceResolver.cs (7)
15
public sealed class ScriptSourceResolver : SourceFileResolver, IEquatable<
ScriptSourceResolver
>
17
public static new
ScriptSourceResolver
Default { get; } = new ScriptSourceResolver(ImmutableArray<string>.Empty, null);
24
public
ScriptSourceResolver
WithSearchPaths(params string[] searchPaths)
27
public
ScriptSourceResolver
WithSearchPaths(IEnumerable<string> searchPaths)
30
public
ScriptSourceResolver
WithSearchPaths(ImmutableArray<string> searchPaths)
40
public
ScriptSourceResolver
WithBaseDirectory(string baseDirectory)
52
public bool Equals(
ScriptSourceResolver
other) => base.Equals(other);