12 : base(from, to, isLiftedToNull)
40 TypeCode.Byte => (byte)
obj,
44 TypeCode.Int32 =>
obj,
45 TypeCode.Int64 => (long)
obj,
47 TypeCode.UInt32 => (uint)
obj,
49 TypeCode.Single => (float)
obj,
51 TypeCode.Decimal => (decimal)
obj,
61 TypeCode.Byte => (byte)
obj,
65 TypeCode.Int32 => (int)
obj,
68 TypeCode.UInt32 => (uint)
obj,
70 TypeCode.Single => (float)
obj,
72 TypeCode.Decimal => (decimal)
obj,
81 TypeCode.Byte => (byte)
obj,
85 TypeCode.Int32 => (int)
obj,
87 TypeCode.UInt16 => (ushort)
obj,
89 TypeCode.UInt64 =>
obj,
90 TypeCode.Single => (float)
obj,
92 TypeCode.Decimal => (decimal)
obj,
101 TypeCode.Byte => (byte)
obj,
105 TypeCode.Int32 => (int)
obj,
107 TypeCode.UInt16 => (ushort)
obj,
109 TypeCode.UInt64 => (ulong)
obj,
111 TypeCode.Double =>
obj,
112 TypeCode.Decimal => (decimal)
obj,
123 : base(from, to, isLiftedToNull)
153 TypeCode.Byte => (byte)
obj,
156 TypeCode.Char => unchecked((
char)checked((ushort)
obj)),
160 TypeCode.UInt32 => (uint)
obj,
162 TypeCode.Single => (float)
obj,
164 TypeCode.Decimal => (decimal)
obj,
177 TypeCode.Byte => (byte)
obj,
180 TypeCode.Char => unchecked((
char)checked((ushort)
obj)),
182 TypeCode.Int64 =>
obj,
183 TypeCode.UInt16 => (ushort)
obj,
185 TypeCode.UInt64 => (ulong)
obj,
187 TypeCode.Double => (double)
obj,
200 TypeCode.Byte => (byte)
obj,
203 TypeCode.Char => unchecked((
char)checked((ushort)
obj)),
205 TypeCode.Int64 => (long)
obj,
207 TypeCode.UInt32 => (uint)
obj,
210 TypeCode.Double => (double)
obj,
223 TypeCode.Byte => (byte)
obj,
226 TypeCode.Char => unchecked((
char)checked((ushort)
obj)),
228 TypeCode.Int64 => (long)
obj,
230 TypeCode.UInt32 => (uint)
obj,
232 TypeCode.Single => (float)
obj,
246 : base(to, to, isLiftedToNull)
256 TypeCode.SByte => (sbyte)
obj,
258 TypeCode.Char => (char)
obj,
260 TypeCode.Int64 => (long)
obj,
262 TypeCode.UInt32 => (uint)
obj,
296 return ((
int?)
obj).Value;
static Exception Unreachable
override string InstructionName
object ConvertInt32(int obj)
Checked(TypeCode from, TypeCode to, bool isLiftedToNull)
object ConvertDouble(double obj)
override object Convert(object obj)
object ConvertInt64(long obj)
object ConvertUInt64(ulong obj)
override string InstructionName
override object Convert(object obj)
ToUnderlying(TypeCode to, bool isLiftedToNull)
override string InstructionName
override object Convert(object obj)
Unchecked(TypeCode from, TypeCode to, bool isLiftedToNull)
object ConvertDouble(double obj)
object ConvertUInt64(ulong obj)
object ConvertInt64(long obj)
object ConvertInt32(int obj)
readonly bool _isLiftedToNull
override string ToString()
override string InstructionName
object Convert(object obj)
override int Run(InterpretedFrame frame)
override int ConsumedStack
override int ProducedStack
NumericConvertInstruction(TypeCode from, TypeCode to, bool isLiftedToNull)