91 references to BinaryTypeEnum
mscorlib (91)
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (74)
38internal static BinaryTypeEnum GetBinaryTypeInfo(Type type, WriteObjectInfo objectInfo, String typeName, ObjectWriter objectWriter, out Object typeInformation, out int assemId) 41BinaryTypeEnum binaryTypeEnum; 47binaryTypeEnum = BinaryTypeEnum.String; 52binaryTypeEnum = BinaryTypeEnum.Object; 55binaryTypeEnum = BinaryTypeEnum.StringArray; 57binaryTypeEnum = BinaryTypeEnum.ObjectArray; 59binaryTypeEnum = BinaryTypeEnum.PrimitiveArray; 80binaryTypeEnum = BinaryTypeEnum.ObjectUrt; 85binaryTypeEnum = BinaryTypeEnum.ObjectUser; 93binaryTypeEnum = BinaryTypeEnum.Primitive; 105internal static BinaryTypeEnum GetParserBinaryTypeInfo(Type type, out Object typeInformation) 108BinaryTypeEnum binaryTypeEnum; 112binaryTypeEnum = BinaryTypeEnum.String; 114binaryTypeEnum = BinaryTypeEnum.Object; 116binaryTypeEnum = BinaryTypeEnum.ObjectArray; 118binaryTypeEnum = BinaryTypeEnum.StringArray; 120binaryTypeEnum = BinaryTypeEnum.PrimitiveArray; 128binaryTypeEnum = BinaryTypeEnum.ObjectUrt; 130binaryTypeEnum = BinaryTypeEnum.ObjectUser; 135binaryTypeEnum = BinaryTypeEnum.Primitive; 146internal static void WriteTypeInfo(BinaryTypeEnum binaryTypeEnum, Object typeInformation, int assemId, __BinaryWriter sout) 152case BinaryTypeEnum.Primitive: 153case BinaryTypeEnum.PrimitiveArray: 157case BinaryTypeEnum.String: 158case BinaryTypeEnum.Object: 159case BinaryTypeEnum.StringArray: 160case BinaryTypeEnum.ObjectArray: 162case BinaryTypeEnum.ObjectUrt: 166case BinaryTypeEnum.ObjectUser: 178internal static Object ReadTypeInfo(BinaryTypeEnum binaryTypeEnum, __BinaryParser input, out int assemId) 186case BinaryTypeEnum.Primitive: 187case BinaryTypeEnum.PrimitiveArray: 190case BinaryTypeEnum.String: 191case BinaryTypeEnum.Object: 192case BinaryTypeEnum.StringArray: 193case BinaryTypeEnum.ObjectArray: 195case BinaryTypeEnum.ObjectUrt: 198case BinaryTypeEnum.ObjectUser: 212internal static void TypeFromInfo(BinaryTypeEnum binaryTypeEnum, 230case BinaryTypeEnum.Primitive: 235case BinaryTypeEnum.String: 239case BinaryTypeEnum.Object: 244case BinaryTypeEnum.ObjectArray: 248case BinaryTypeEnum.StringArray: 252case BinaryTypeEnum.PrimitiveArray: 256case BinaryTypeEnum.ObjectUser: 257case BinaryTypeEnum.ObjectUrt: 1465internal BinaryTypeEnum[] binaryTypeEnumA; 1499internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, Int32 assemId) 1546binaryTypeEnumA = new BinaryTypeEnum[numMembers]; 1552binaryTypeEnumA[i] = (BinaryTypeEnum)input.ReadByte(); 1554if (binaryTypeEnumA[i] != BinaryTypeEnum.ObjectUrt && binaryTypeEnumA[i] != BinaryTypeEnum.ObjectUser) 1618internal BinaryTypeEnum binaryTypeEnum; 1638internal void Set(Int32 objectId, Int32 rank, Int32[] lengthA, Int32[] lowerBoundA, BinaryTypeEnum binaryTypeEnum, Object typeInformation, BinaryArrayTypeEnum binaryArrayTypeEnum, int assemId) 1653if (binaryTypeEnum == BinaryTypeEnum.Primitive) 1655else if (binaryTypeEnum == BinaryTypeEnum.String) 1657else if (binaryTypeEnum == BinaryTypeEnum.Object) 1718binaryTypeEnum = BinaryTypeEnum.Primitive; 1728binaryTypeEnum = BinaryTypeEnum.String; 1738binaryTypeEnum = BinaryTypeEnum.Object; 1756binaryTypeEnum = (BinaryTypeEnum)input.ReadByte(); 2074internal BinaryTypeEnum[] binaryTypeEnumA; 2098binaryTypeEnumA = new BinaryTypeEnum[memberTypes.Length]; 2104BinaryTypeEnum binaryTypeEnum = BinaryConverter.GetParserBinaryTypeInfo(memberTypes[i], out typeInformation); 2111internal ObjectMap(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) 2174internal static ObjectMap Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) 2193internal BinaryTypeEnum expectedType = BinaryTypeEnum.ObjectUrt; 2204internal BinaryTypeEnum binaryTypeEnum; 2213internal BinaryTypeEnum[] binaryTypeEnumA; 2241expectedType = BinaryTypeEnum.ObjectUrt; 2274internal bool GetNext(out BinaryTypeEnum outBinaryTypeEnum, out Object outTypeInformation) 2278outBinaryTypeEnum = BinaryTypeEnum.Primitive;
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (5)
291BinaryTypeEnum[] binaryTypeEnumA = new BinaryTypeEnum[numMembers]; 366BinaryTypeEnum binaryTypeEnum = BinaryConverter.GetBinaryTypeInfo(arrayElemTypeNameInfo.NItype, objectInfo, arrayElemTypeNameInfo.NIname, objectWriter, out typeInformation, out assemId); 453BinaryTypeEnum binaryTypeEnum = BinaryConverter.GetBinaryTypeInfo(arrayElemTypeNameInfo.NItype, objectInfo, arrayElemTypeNameInfo.NIname, objectWriter, out typeInformation, out assemId); 480BinaryTypeEnum binaryTypeEnum = BinaryConverter.GetBinaryTypeInfo(arrayElemTypeNameInfo.NItype, objectInfo, arrayElemTypeNameInfo.NIname, objectWriter, out typeInformation, out assemId);
system\runtime\serialization\formatters\binary\binaryparser.cs (12)
41internal BinaryTypeEnum expectedType = BinaryTypeEnum.ObjectUrt; 118case BinaryTypeEnum.ObjectUrt: 119case BinaryTypeEnum.ObjectUser: 120case BinaryTypeEnum.String: 121case BinaryTypeEnum.Object: 122case BinaryTypeEnum.ObjectArray: 123case BinaryTypeEnum.StringArray: 124case BinaryTypeEnum.PrimitiveArray: 184case BinaryTypeEnum.Primitive: 207expectedType = BinaryTypeEnum.ObjectUrt; 884if (record.binaryTypeEnum == BinaryTypeEnum.ObjectUser)