87 references to BinaryHeaderEnum
mscorlib (87)
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (46)
419
internal
BinaryHeaderEnum
binaryHeaderEnum;
429
internal SerializationHeaderRecord(
BinaryHeaderEnum
binaryHeaderEnum, Int32 topId, Int32 headerId, Int32 majorVersion, Int32 minorVersion)
467
binaryHeaderEnum = (
BinaryHeaderEnum
)headerBytes[0];
516
sout.WriteByte((Byte)
BinaryHeaderEnum
.Assembly);
558
sout.WriteByte((Byte)
BinaryHeaderEnum
.CrossAppDomainAssembly);
609
sout.WriteByte((Byte)
BinaryHeaderEnum
.Object);
765
sout.WriteByte((Byte)
BinaryHeaderEnum
.MethodCall);
1043
sout.WriteByte((Byte)
BinaryHeaderEnum
.MethodReturn);
1201
sout.WriteByte((Byte)
BinaryHeaderEnum
.ObjectString);
1243
sout.WriteByte((Byte)
BinaryHeaderEnum
.CrossAppDomainString);
1284
sout.WriteByte((Byte)
BinaryHeaderEnum
.CrossAppDomainMap);
1332
sout.WriteByte((Byte)
BinaryHeaderEnum
.MemberPrimitiveTyped);
1366
internal
BinaryHeaderEnum
binaryHeaderEnum;
1377
internal BinaryObjectWithMap(
BinaryHeaderEnum
binaryHeaderEnum)
1394
binaryHeaderEnum =
BinaryHeaderEnum
.ObjectWithMapAssemId;
1396
binaryHeaderEnum =
BinaryHeaderEnum
.ObjectWithMap;
1426
if (binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMapAssemId)
1450
if (binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMapAssemId)
1460
internal
BinaryHeaderEnum
binaryHeaderEnum;
1474
internal BinaryObjectWithMapTyped(
BinaryHeaderEnum
binaryHeaderEnum)
1513
binaryHeaderEnum =
BinaryHeaderEnum
.ObjectWithMapTypedAssemId;
1515
binaryHeaderEnum =
BinaryHeaderEnum
.ObjectWithMapTyped;
1559
if (binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMapTypedAssemId)
1622
private
BinaryHeaderEnum
binaryHeaderEnum;
1631
internal BinaryArray(
BinaryHeaderEnum
binaryHeaderEnum)
1649
binaryHeaderEnum =
BinaryHeaderEnum
.Array;
1654
binaryHeaderEnum =
BinaryHeaderEnum
.ArraySinglePrimitive;
1656
binaryHeaderEnum =
BinaryHeaderEnum
.ArraySingleString;
1658
binaryHeaderEnum =
BinaryHeaderEnum
.ArraySingleObject;
1669
case
BinaryHeaderEnum
.ArraySinglePrimitive:
1675
case
BinaryHeaderEnum
.ArraySingleString:
1680
case
BinaryHeaderEnum
.ArraySingleObject:
1711
case
BinaryHeaderEnum
.ArraySinglePrimitive:
1721
case
BinaryHeaderEnum
.ArraySingleString:
1731
case
BinaryHeaderEnum
.ArraySingleObject:
1901
sout.WriteByte((Byte)
BinaryHeaderEnum
.MemberReference);
1923
BinaryUtil.NVTraceI("binaryHeaderEnum (Byte)", ((Enum)
BinaryHeaderEnum
.MemberReference).ToString());
1947
sout.WriteByte((Byte)
BinaryHeaderEnum
.ObjectNull);
1951
sout.WriteByte((Byte)
BinaryHeaderEnum
.ObjectNullMultiple256);
1957
sout.WriteByte((Byte)
BinaryHeaderEnum
.ObjectNullMultiple);
1967
Read(input,
BinaryHeaderEnum
.ObjectNull);
1970
public void Read(__BinaryParser input,
BinaryHeaderEnum
binaryHeaderEnum)
1975
case
BinaryHeaderEnum
.ObjectNull:
1978
case
BinaryHeaderEnum
.ObjectNullMultiple256:
1982
case
BinaryHeaderEnum
.ObjectNullMultiple:
2029
sout.WriteByte((Byte)
BinaryHeaderEnum
.MessageEnd);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
178
SerializationHeaderRecord record = new SerializationHeaderRecord(
BinaryHeaderEnum
.SerializedStreamHeader, topId, headerId, minorVersion, majorVersion);
system\runtime\serialization\formatters\binary\binaryparser.cs (40)
115
BinaryHeaderEnum
binaryHeaderEnum =
BinaryHeaderEnum
.Object;
126
binaryHeaderEnum = (
BinaryHeaderEnum
)inByte;
130
case
BinaryHeaderEnum
.Assembly:
131
case
BinaryHeaderEnum
.CrossAppDomainAssembly:
134
case
BinaryHeaderEnum
.Object:
137
case
BinaryHeaderEnum
.CrossAppDomainMap:
140
case
BinaryHeaderEnum
.ObjectWithMap:
141
case
BinaryHeaderEnum
.ObjectWithMapAssemId:
144
case
BinaryHeaderEnum
.ObjectWithMapTyped:
145
case
BinaryHeaderEnum
.ObjectWithMapTypedAssemId:
149
case
BinaryHeaderEnum
.MethodCall:
150
case
BinaryHeaderEnum
.MethodReturn:
154
case
BinaryHeaderEnum
.ObjectString:
155
case
BinaryHeaderEnum
.CrossAppDomainString:
158
case
BinaryHeaderEnum
.Array:
159
case
BinaryHeaderEnum
.ArraySinglePrimitive:
160
case
BinaryHeaderEnum
.ArraySingleObject:
161
case
BinaryHeaderEnum
.ArraySingleString:
164
case
BinaryHeaderEnum
.MemberPrimitiveTyped:
167
case
BinaryHeaderEnum
.MemberReference:
170
case
BinaryHeaderEnum
.ObjectNull:
171
case
BinaryHeaderEnum
.ObjectNullMultiple256:
172
case
BinaryHeaderEnum
.ObjectNullMultiple:
175
case
BinaryHeaderEnum
.MessageEnd:
194
if (binaryHeaderEnum !=
BinaryHeaderEnum
.Assembly)
393
internal void ReadAssembly(
BinaryHeaderEnum
binaryHeaderEnum)
397
if (binaryHeaderEnum ==
BinaryHeaderEnum
.CrossAppDomainAssembly)
419
internal void ReadMethodObject(
BinaryHeaderEnum
binaryHeaderEnum)
422
if (binaryHeaderEnum ==
BinaryHeaderEnum
.MethodCall)
546
internal void ReadObjectWithMap(
BinaryHeaderEnum
binaryHeaderEnum)
567
if (record.binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMapAssemId)
578
else if (record.binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMap)
645
internal void ReadObjectWithMapTyped(
BinaryHeaderEnum
binaryHeaderEnum)
667
if (record.binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMapTypedAssemId)
678
else if (record.binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectWithMapTyped)
740
private void ReadObjectString(
BinaryHeaderEnum
binaryHeaderEnum)
747
if (binaryHeaderEnum ==
BinaryHeaderEnum
.ObjectString)
873
private void ReadArray(
BinaryHeaderEnum
binaryHeaderEnum)
1120
private void ReadObjectNull(
BinaryHeaderEnum
binaryHeaderEnum)