public override bool Equals(Object o) { if (!(o is FormatInformation)) { return false; } FormatInformation other = (FormatInformation)o; return this.errorCorrectionLevel == other.errorCorrectionLevel && this.dataMask == other.dataMask; } }