Beispiel #1
0
 protected static void ASSERT_ARGUMETNS_OF_SAME_BASE_TYPE <TBaseType>(SIBaseType a, SIBaseType b)
 {
     if (!(a is TBaseType && b is TBaseType))
     {
         throw new NotAllArgumentsOfSameBaseType();
     }
 }
Beispiel #2
0
 protected static void ASSERT_ARGUMETNS_OF_SAME_TYPE(SIBaseType a, SIBaseType b)
 {
     if (a.GetType() != b.GetType())
     {
         throw new NotAllArgumentsOfSameType();
     }
 }