public override bool Equals(object obj) { if (!(obj is BinaryFileName)) throw new ArgumentOutOfRangeException("obj", SR.Exceptions.General.Msg_ParamtereIsNotABinaryFileName); return this == (BinaryFileName) obj; }