Exemplo n.º 1
0
        public void PackageHasChildrenConflicting(PackageIdentifier identifier)
        {
            _compatiblePackageVersions.Pop();
            CompatiblePackageVersions.Remove(identifier);

            var newIgnores = _incompatiblePackages.Pop();

            _incompatiblePackages.Pop();
            _incompatiblePackages.Push(newIgnores);
        }
Exemplo n.º 2
0
        public void PackageConflicts(PackageIdentifier identifier, CallStack failingCallStack)
        {
            var existingCompatible = CompatiblePackageVersions[identifier];

            _compatiblePackageVersions.Pop();
            CompatiblePackageVersions.Remove(identifier);

            _incompatiblePackages.Pop();
            IncompatiblePackageVersions.Add(identifier, existingCompatible.Successful, existingCompatible.Failed.Concat(failingCallStack));
        }