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)); }
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)); }