20 references to LockFileItem
dotnet (1)
ToolPackage\ToolPackageDownloader.cs (1)
250var newItem = new LockFileItem(item.Path);
NuGet.Commands (15)
RestoreCommand\LockFileBuilder.cs (1)
652lockFile.PackageFolders.AddRange(packageFolders.Select(path => new LockFileItem(path)));
RestoreCommand\Utility\LockFileUtils.cs (14)
469lockFileLib.CompileTimeAssemblies.Add(new LockFileItem(contractPath)); 638var lockFileItem = new LockFileItem(relativePath); 691results.Add(new LockFileItem(fixedPath)); 727var newItem = new LockFileItem(item.Path); 772var lockFileItem = new LockFileItem(item.Path); 1174ClearIfExists(lockFileLib.RuntimeAssemblies, static path => new LockFileItem(path)); 1181ClearIfExists(lockFileLib.CompileTimeAssemblies, static path => new LockFileItem(path)); 1182ClearIfExists(lockFileLib.EmbedAssemblies, static path => new LockFileItem(path)); 1187ClearIfExists(lockFileLib.NativeLibraries, static path => new LockFileItem(path)); 1192ClearIfExists(lockFileLib.AnalyzerAssets, static path => new LockFileItem(path), copyProperties: false); 1207ClearIfExists(lockFileLib.Build, static path => new LockFileItem(path)); 1208ClearIfExists(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path)); 1215ClearIfExists(lockFileLib.Build, static path => new LockFileItem(path)); 1216ClearIfExists(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path));
NuGet.ProjectModel (4)
LockFile\LockFileContentFile.cs (1)
20public LockFileContentFile(string path) : base(path)
LockFile\LockFileItem.cs (1)
90public 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));