Пример #1
0
 private int method_7(int int_8)
 {
     switch (PubFunction.ConvertIntToTypeCode(int_8))
     {
     case TypeCode.SByte:
     case TypeCode.Byte:
     case TypeCode.Int16:
     case TypeCode.UInt16:
     case TypeCode.Int32:
     case TypeCode.UInt32:
     case TypeCode.Int64:
     case TypeCode.UInt64:
     case TypeCode.Double:
     case TypeCode.Decimal:
         return(2);
     }
     return(1);
 }
Пример #2
0
 private int method_6(int int_8)
 {
     switch (PubFunction.ConvertIntToTypeCode(int_8))
     {
     case TypeCode.Char:
     case TypeCode.SByte:
     case TypeCode.Byte:
     case TypeCode.Int16:
     case TypeCode.UInt16:
     case TypeCode.Int32:
     case TypeCode.UInt32:
     case TypeCode.Int64:
     case TypeCode.UInt64:
     case TypeCode.String:
         return(111);
     }
     return(2);
 }