示例#1
0
 public static PSIceErrorCode read__(IceInternal.BasicStream is__, PSIceErrorCode v__)
 {
     if (v__ == null)
     {
         v__ = new PSIceErrorCode();
     }
     v__.read__(is__);
     return(v__);
 }
示例#2
0
 public static void write__(IceInternal.BasicStream os__, PSIceErrorCode v__)
 {
     if (v__ == null)
     {
         nullMarshalValue__.write__(os__);
     }
     else
     {
         v__.write__(os__);
     }
 }
示例#3
0
        public override bool Equals(object other__)
        {
            if (object.ReferenceEquals(this, other__))
            {
                return(true);
            }
            if (other__ == null)
            {
                return(false);
            }
            if (GetType() != other__.GetType())
            {
                return(false);
            }
            PSIceErrorCode o__ = (PSIceErrorCode)other__;

            if (!Code.Equals(o__.Code))
            {
                return(false);
            }
            if (Message == null)
            {
                if (o__.Message != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!Message.Equals(o__.Message))
                {
                    return(false);
                }
            }
            return(true);
        }