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