예제 #1
0
 /// <exception cref="System.IO.IOException"/>
 public static TestVersionedWritable.SimpleVersionedWritable Read(BinaryReader reader)
 {
     TestVersionedWritable.SimpleVersionedWritable result = new TestVersionedWritable.SimpleVersionedWritable
                                                                ();
     result.ReadFields(@in);
     return(result);
 }
예제 #2
0
 /// <summary>Required by test code, below.</summary>
 public override bool Equals(object o)
 {
     if (!(o is TestVersionedWritable.SimpleVersionedWritable))
     {
         return(false);
     }
     TestVersionedWritable.SimpleVersionedWritable other = (TestVersionedWritable.SimpleVersionedWritable
                                                            )o;
     return(this.state == other.state);
 }