Example #1
0
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (!(obj is ShortHandlerTestCase.Item))
     {
         return(false);
     }
     ShortHandlerTestCase.Item other = (ShortHandlerTestCase.Item)obj;
     return((other._short == this._short) && this._shortWrapper.Equals(other._shortWrapper
                                                                       ));
 }
Example #2
0
 /// <exception cref="System.Exception"></exception>
 public virtual void TestStoreObject()
 {
     ShortHandlerTestCase.Item storedItem = new ShortHandlerTestCase.Item((short)unchecked (
                                                                              (int)(0x1020)), (short)unchecked ((int)(0x1122)));
     DoTestStoreObject(storedItem);
 }
		/// <exception cref="System.Exception"></exception>
		public virtual void TestStoreObject()
		{
			ShortHandlerTestCase.Item storedItem = new ShortHandlerTestCase.Item((short)unchecked(
				(int)(0x1020)), (short)unchecked((int)(0x1122)));
			DoTestStoreObject(storedItem);
		}