2 writes to ReferencePaths
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
1557ReferencePaths = referencePaths,
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1481.ReferencePaths = searchPaths,
19 references to ReferencePaths
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
561string? resolvedPath = FileUtilities.ResolveRelativePath(reference.FilePath, basePath: null, baseDirectory: BaseDirectory, searchPaths: ReferencePaths, fileExists: File.Exists);
CommandLine\CommonCompiler.cs (1)
217var pathResolver = new CompilerRelativePathResolver(FileSystem, Arguments.ReferencePaths, Arguments.BaseDirectory!);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
459AssertEx.Equal(new[] { RuntimeEnvironment.GetRuntimeDirectory() }.Concat(new[] { @"x", @"..\goo", @"../bar", @"a b" }.Select(prependBasePath)), args.ReferencePaths.ToArray()); 510AssertEx.Equal(ImmutableArray<string>.Empty, parser.ReferencePaths); 4493}, parsedArgs.ReferencePaths);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
546var referencePaths = args.ReferencePaths;
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
178arguments.ReferencePaths,
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (10)
CommandLineTests.vb (10)
3570AssertEx.Equal(ImmutableArray.Create(sdkPath), parser.ReferencePaths) 3589AssertEx.Equal(ImmutableArray(Of String).Empty, parser.ReferencePaths) 3598AssertEx.Equal(ImmutableArray.Create(sdkDir.Path), parser.ReferencePaths) 4980AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, "c:\", "d:\x\y\z", Path.Combine(_baseDirectory, "abc")) 4984AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, "c:\Windows", Path.Combine(_baseDirectory, "abc\def")) 5043AssertReferencePathsEqual(parsedArgs.ReferencePaths, "d:\sdk1") 5047AssertReferencePathsEqual(parsedArgs.ReferencePaths, "d:\Windows") 5050AssertReferencePathsEqual(parsedArgs.ReferencePaths, "c:\Windows", "d:\blah") 5053AssertReferencePathsEqual(parsedArgs.ReferencePaths, "c:\lib2", "c:\Windows", "d:\blah") 5342AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, Path.GetDirectoryName(file.ToString()), "c:\lib2")
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
44new RelativePathResolver(commandLineArguments.ReferencePaths, commandLineArguments.BaseDirectory);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
192pathResolver: new RelativePathResolver(commandLineArgs.ReferencePaths, commandLineArgs.BaseDirectory)));