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