in src/main/csharp/Selector/AlignedNumericValues.cs [132:151]
private Type GetType(T typeEnum)
{
switch(typeEnum)
{
case T.SByteType : return typeof(sbyte );
case T.ByteType : return typeof(byte );
case T.CharType : return typeof(char );
case T.ShortType : return typeof(short );
case T.UShortType: return typeof(ushort);
case T.IntType : return typeof(int );
case T.UIntType : return typeof(uint );
case T.LongType : return typeof(long );
case T.ULongType : return typeof(ulong );
case T.FloatType : return typeof(float );
case T.DoubleType: return typeof(double);
default:
throw new NotSupportedException(
string.Format("Unsupported data type {0}.", typeEnum));
}
}