1 write to Value
Microsoft.DotNet.InternalAbstractions (1)
FilePath.cs (1)
21Value = value;
36 references to Value
dotnet-aot (32)
parent\dotnet\CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (2)
86if (!_fileSystem.File.Exists(toolCommand.Executable.Value)) 92return ToolCommandSpecCreator.CreateToolCommandSpec(toolCommand.Name.Value, toolCommand.Executable.Value, toolCommand.Runner,
parent\dotnet\Commands\Tool\List\ToolListLocalCommand.cs (2)
76p => p.SourceManifest.Value); 89Manifest = p.SourceManifest.Value
parent\dotnet\Commands\Tool\Uninstall\ToolUninstallLocalCommand.cs (1)
64manifestFile.Value).Green());
parent\dotnet\NugetPackageDownloader\FirstPartyNuGetPackageSigningVerifier.cs (2)
100using (var packageReader = new PackageArchiveReader(nupkgToVerify.Value)) 148var args = new[] { "verify", "--all", nupkgToVerify.Value };
parent\dotnet\NugetPackageDownloader\NuGetPackageDownloader.cs (1)
504string nugetConfigFileName = Path.GetFileName(packageSourceLocation.NugetConfig.Value.Value);
parent\dotnet\ToolManifest\ToolManifestEditor.cs (12)
53_fileSystem.File.WriteAllText(manifest.Value, deserializedManifest.ToJson()); 61manifest.Value, 76_fileSystem.File.WriteAllText(manifest.Value, deserializedManifest.ToJson()); 106throw new ArgumentException($"Manifest {manifest.Value} does not contain package id '{packageId}'."); 109_fileSystem.File.WriteAllText(manifest.Value, deserializedManifest.ToJson()); 115if (_dangerousFileDetector.IsDangerous(manifest.Value)) 118string.Format(CliStrings.ManifestHasMarkOfTheWeb, manifest.Value)); 138using (Stream jsonStream = _fileSystem.File.OpenRead(possibleManifest.Value)) 219possibleManifest.Value, e.Message)); 235errors.Add(string.Format(CliStrings.ManifestMissingIsRoot, path.Value)); 302path.Value, 431manifest.Value,
parent\dotnet\ToolManifest\ToolManifestFinder.cs (9)
44throw new ToolManifestCannotBeFoundException(string.Format(CliStrings.CannotFindAManifestFile, string.Join(Environment.NewLine, allPossibleManifests.Select(f => "\t" + f.manifestfile.Value)))); 72if (!_fileSystem.File.Exists(possibleManifest.Value)) 106if (!_fileSystem.File.Exists(possibleManifest.Value)) 138if (!_fileSystem.File.Exists(possibleManifest.Value)) 197if (_fileSystem.File.Exists(possibleManifest.Value)) 210throw new ToolManifestCannotBeFoundException(string.Format(CliStrings.CannotFindAManifestFile, string.Join(Environment.NewLine, EnumerateDefaultAllPossibleManifests().Select(f => "\t" + f.manifestfile.Value)))); 233|| _fileSystem.File.Exists(currentSearchDirectory.Value.WithFile(".git").Value)) 279if (_fileSystem.File.Exists(possibleManifest.Value)) 297throw new ToolManifestCannotBeFoundException(string.Format(CliStrings.CannotFindAManifestFile, string.Join(Environment.NewLine, EnumerateDefaultAllPossibleManifests().Select(f => "\t" + f.manifestfile.Value))));
parent\dotnet\ToolPackage\LocalToolsResolverCache.cs (2)
110return _cacheVersionedDirectory.WithFile(packageId.ToString()).Value; 129PathToExecutable = toolCommand.Executable.Value
parent\dotnet\ToolPackage\ToolCommand.cs (1)
24return $"ToolCommandName: {Name.Value} - Runner: {Runner} - FilePath: {Executable.Value}";
Microsoft.DotNet.Configurer (2)
FileSentinel.cs (2)
26return _fileSystem.File.Exists(_file.Value); 31_fileSystem.CreateIfNotExists(_file.Value);
Microsoft.DotNet.InternalAbstractions (2)
FilePath.cs (2)
26return Value; 31return new DirectoryPath(Path.GetDirectoryName(Value)!);