1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 namespace System.Reflection.Metadata 6 { 7 /// <summary> 8 /// Represents a primitive type found in metadata signatures. 9 /// </summary> 10 public enum PrimitiveTypeCode : byte 11 { 12 Boolean = SignatureTypeCode.Boolean, 13 Byte = SignatureTypeCode.Byte, 14 SByte = SignatureTypeCode.SByte, 15 Char = SignatureTypeCode.Char, 16 Int16 = SignatureTypeCode.Int16, 17 UInt16 = SignatureTypeCode.UInt16, 18 Int32 = SignatureTypeCode.Int32, 19 UInt32 = SignatureTypeCode.UInt32, 20 Int64 = SignatureTypeCode.Int64, 21 UInt64 = SignatureTypeCode.UInt64, 22 Single = SignatureTypeCode.Single, 23 Double = SignatureTypeCode.Double, 24 IntPtr = SignatureTypeCode.IntPtr, 25 UIntPtr = SignatureTypeCode.UIntPtr, 26 Object = SignatureTypeCode.Object, 27 String = SignatureTypeCode.String, 28 TypedReference = SignatureTypeCode.TypedReference, 29 Void = SignatureTypeCode.Void, 30 } 31 } 32