63 references to Primitives
System.Reflection.MetadataLoadContext (63)
System\Reflection\DefaultBinder.CanConvert.cs (63)
17Primitives widerCodes = s_primitiveConversions[(int)(Type.GetTypeCode(source))]; 18Primitives targetCode = (Primitives)(1 << (int)(Type.GetTypeCode(target))); 43private static readonly Primitives[] s_primitiveConversions = new Primitives[] 48/* Boolean */ Primitives.Boolean, 49/* Char */ Primitives.Char | Primitives.UInt16 | Primitives.UInt32 | Primitives.Int32 | Primitives.UInt64 | Primitives.Int64 | Primitives.Single | Primitives.Double, 50/* SByte */ Primitives.SByte | Primitives.Int16 | Primitives.Int32 | Primitives.Int64 | Primitives.Single | Primitives.Double, 51/* Byte */ Primitives.Byte | Primitives.Char | Primitives.UInt16 | Primitives.Int16 | Primitives.UInt32 | Primitives.Int32 | Primitives.UInt64 | Primitives.Int64 | Primitives.Single | Primitives.Double, 52/* Int16 */ Primitives.Int16 | Primitives.Int32 | Primitives.Int64 | Primitives.Single | Primitives.Double, 53/* UInt16 */ Primitives.UInt16 | Primitives.UInt32 | Primitives.Int32 | Primitives.UInt64 | Primitives.Int64 | Primitives.Single | Primitives.Double, 54/* Int32 */ Primitives.Int32 | Primitives.Int64 | Primitives.Single | Primitives.Double, 55/* UInt32 */ Primitives.UInt32 | Primitives.UInt64 | Primitives.Int64 | Primitives.Single | Primitives.Double, 56/* Int64 */ Primitives.Int64 | Primitives.Single | Primitives.Double, 57/* UInt64 */ Primitives.UInt64 | Primitives.Single | Primitives.Double, 58/* Single */ Primitives.Single | Primitives.Double, 59/* Double */ Primitives.Double, 60/* Decimal */ Primitives.Decimal, 61/* DateTime */ Primitives.DateTime, 63/* String */ Primitives.String,