3 instantiations of RelativePathResolver
Microsoft.CodeAnalysis.Workspaces (3)
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (2)
55
new
(searchPaths, BaseDirectory);
58
new
(SearchPaths, baseDirectory);
Workspace\CommandLineProject.cs (1)
41
new
RelativePathResolver
(commandLineArguments.ReferencePaths, commandLineArguments.BaseDirectory);
9 references to RelativePathResolver
Microsoft.CodeAnalysis.Workspaces (9)
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (6)
16
internal class RelativePathResolver : IEquatable<
RelativePathResolver
>
22
/// Initializes a new instance of the <see cref="
RelativePathResolver
"/> class.
54
public
RelativePathResolver
WithSearchPaths(ImmutableArray<string> searchPaths) =>
57
public
RelativePathResolver
WithBaseDirectory(string? baseDirectory) =>
60
public bool Equals(
RelativePathResolver
? other) =>
66
public override bool Equals(object? obj) => Equals(obj as
RelativePathResolver
);
Workspace\CommandLineProject.cs (1)
40
var
relativePathResolver =
Workspace\Host\Metadata\WorkspaceMetadataFileReferenceResolver.cs (2)
17
internal readonly
RelativePathResolver
PathResolver;
19
public WorkspaceMetadataFileReferenceResolver(IMetadataService metadataService,
RelativePathResolver
pathResolver)