private static bool Equals()

in ILRepack/Mixins/AssemblyNameReferenceCollectionMixins.cs [44:60]


        private static bool Equals(AssemblyNameReference a, AssemblyNameReference b)
        {
            if (ReferenceEquals(a, b))
                return true;
            if (a.Name != b.Name)
                return false;
            if (!Equals(a.Version, b.Version))
                return false;
            if (a.Culture != b.Culture)
                return false;
            if (!Equals(a.PublicKeyToken, b.PublicKeyToken))
                return false;
            // unsure about this one, but there's #41 and duplicate asm references can't really hurt
            if (a.IsRetargetable != b.IsRetargetable)
                return false;
            return true;
        }