Ejemplo n.º 1
0
        public override unsafe bool Equals(Object value)
        {
            BaseInfoTable that = value as BaseInfoTable;

            return((that != null) &&
                   (this.fromAssembly == that.fromAssembly &&
                    CultureInfo.InvariantCulture.CompareInfo.Compare(
                        this.fileName, that.fileName, CompareOptions.IgnoreCase) == 0));
        }
Ejemplo n.º 2
0
        public override bool Equals(object value)
        {
            BaseInfoTable table = value as BaseInfoTable;

            if (table == null)
            {
                return(false);
            }
            return((this.fromAssembly == table.fromAssembly) && (CultureInfo.InvariantCulture.CompareInfo.Compare(this.fileName, table.fileName, CompareOptions.IgnoreCase) == 0));
        }