18 references to LockFileItem
dotnet (1)
ToolPackage\ToolPackageDownloader.cs (1)
249var newItem = new LockFileItem(item.Path);
NuGet.Commands (13)
RestoreCommand\LockFileBuilder.cs (1)
642lockFile.PackageFolders.AddRange(packageFolders.Select(path => new LockFileItem(path)));
RestoreCommand\Utility\LockFileUtils.cs (12)
439lockFileLib.CompileTimeAssemblies.Add(new LockFileItem(contractPath)); 608var lockFileItem = new LockFileItem(relativePath); 661results.Add(new LockFileItem(fixedPath)); 697var newItem = new LockFileItem(item.Path); 1039ClearIfExists(lockFileLib.RuntimeAssemblies, static path => new LockFileItem(path)); 1046ClearIfExists(lockFileLib.CompileTimeAssemblies, static path => new LockFileItem(path)); 1047ClearIfExists(lockFileLib.EmbedAssemblies, static path => new LockFileItem(path)); 1052ClearIfExists(lockFileLib.NativeLibraries, static path => new LockFileItem(path)); 1067ClearIfExists(lockFileLib.Build, static path => new LockFileItem(path)); 1068ClearIfExists(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path)); 1075ClearIfExists(lockFileLib.Build, static path => new LockFileItem(path)); 1076ClearIfExists(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path));
NuGet.ProjectModel (4)
LockFile\LockFileContentFile.cs (1)
20public LockFileContentFile(string path) : base(path)
LockFile\LockFileItem.cs (1)
89public static implicit operator LockFileItem(string path) => new LockFileItem(path);
LockFile\LockFileRuntimeTarget.cs (1)
13public LockFileRuntimeTarget(string path) : base(path)
Utf8JsonStreamLockFileConverters.cs (1)
9internal static readonly Utf8JsonStreamLockFileItemConverter<LockFileItem> LockFileItemConverter = new Utf8JsonStreamLockFileItemConverter<LockFileItem>((string filePath) => new LockFileItem(filePath));