1 write to ReferencePaths
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1500.ReferencePaths = searchPaths,
19 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 (2)
CommandLineTests.cs (2)
515AssertEx.Equal(new[] { RuntimeEnvironment.GetRuntimeDirectory() }.Concat(new[] { @"x", @"..\goo", @"../bar", @"a b" }.Select(prependBasePath)), args.ReferencePaths.ToArray()); 566AssertEx.Equal(ImmutableArray<string>.Empty, parser.ReferencePaths);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
540var referencePaths = args.ReferencePaths;
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LoadedProject.cs (1)
153var 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)
3577AssertEx.Equal(ImmutableArray.Create(sdkPath), parser.ReferencePaths) 3596AssertEx.Equal(ImmutableArray(Of String).Empty, parser.ReferencePaths) 3605AssertEx.Equal(ImmutableArray.Create(sdkDir.Path), parser.ReferencePaths) 4987AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, "c:\", "d:\x\y\z", Path.Combine(_baseDirectory, "abc")) 4991AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, "c:\Windows", Path.Combine(_baseDirectory, "abc\def")) 5078AssertReferencePathsEqual(parsedArgs.ReferencePaths, "d:\sdk1") 5082AssertReferencePathsEqual(parsedArgs.ReferencePaths, "d:\Windows") 5085AssertReferencePathsEqual(parsedArgs.ReferencePaths, "c:\Windows", "d:\blah") 5088AssertReferencePathsEqual(parsedArgs.ReferencePaths, "c:\lib2", "c:\Windows", "d:\blah") 5377AssertReferencePathsEqual(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)
192pathResolver: new RelativePathResolver(commandLineArgs.ReferencePaths, commandLineArgs.BaseDirectory)));