2 writes to PackageType
dotnet (1)
ToolPackage\ToolPackageDownloader.cs (1)
163PackageType = [PackageType.DotnetTool]
NuGet.Commands (1)
RestoreCommand\Utility\LockFileUtils.cs (1)
188PackageType = packageTypes
4 references to PackageType
dotnet (1)
ToolPackage\ToolPackageDownloader.cs (1)
190if (lockFileLib.PackageType.Contains(PackageType.DotnetTool))
NuGet.Commands (2)
RestoreCommand\CompatibilityChecker.cs (2)
338return !compatibilityData.TargetLibrary.PackageType.Contains(PackageType.DotnetPlatform); 343if (compatibilityData.TargetLibrary.PackageType.Contains(PackageType.DotnetTool))
NuGet.ProjectModel (1)
LockFile\LockFileTargetLibrary.cs (1)
31private static readonly PropertyKey PackageTypeKey = new(nameof(PackageType));