1 write to ReferencePaths
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1501.ReferencePaths = searchPaths,
20 references to ReferencePaths
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
567string? resolvedPath = FileUtilities.ResolveRelativePath(reference.FilePath, basePath: null, baseDirectory: BaseDirectory, searchPaths: ReferencePaths, fileExists: File.Exists);
CommandLine\CommonCompiler.cs (1)
220var pathResolver = new CompilerRelativePathResolver(FileSystem, Arguments.ReferencePaths, Arguments.BaseDirectory!);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
516AssertEx.Equal(new[] { RuntimeEnvironment.GetRuntimeDirectory() }.Concat(new[] { @"x", @"..\goo", @"../bar", @"a b" }.Select(prependBasePath)), args.ReferencePaths.ToArray()); 567AssertEx.Equal(ImmutableArray<string>.Empty, parser.ReferencePaths); 4688}, parsedArgs.ReferencePaths);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
540var referencePaths = args.ReferencePaths;
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LoadedProject.cs (1)
159var relativePathResolver = new RelativePathResolver(commandLineArguments.ReferencePaths, commandLineArguments.BaseDirectory);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
188arguments.ReferencePaths,
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (10)
CommandLineTests.vb (10)
3578AssertEx.Equal(ImmutableArray.Create(sdkPath), parser.ReferencePaths) 3597AssertEx.Equal(ImmutableArray(Of String).Empty, parser.ReferencePaths) 3606AssertEx.Equal(ImmutableArray.Create(sdkDir.Path), parser.ReferencePaths) 4988AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, "c:\", "d:\x\y\z", Path.Combine(_baseDirectory, "abc")) 4992AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, "c:\Windows", Path.Combine(_baseDirectory, "abc\def")) 5079AssertReferencePathsEqual(parsedArgs.ReferencePaths, "d:\sdk1") 5083AssertReferencePathsEqual(parsedArgs.ReferencePaths, "d:\Windows") 5086AssertReferencePathsEqual(parsedArgs.ReferencePaths, "c:\Windows", "d:\blah") 5089AssertReferencePathsEqual(parsedArgs.ReferencePaths, "c:\lib2", "c:\Windows", "d:\blah") 5378AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, Path.GetDirectoryName(file.ToString()), "c:\lib2")
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
41new RelativePathResolver(commandLineArguments.ReferencePaths, commandLineArguments.BaseDirectory);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
193pathResolver: new RelativePathResolver(commandLineArgs.ReferencePaths, commandLineArgs.BaseDirectory)));