4 writes to objectType
mscorlib (4)
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (4)
86
objectType
= null;
126
objectType
= Converter.typeofMarshalByRefObject;
129
objectType
= obj.GetType();
198
this.
objectType
= objectType;
39 references to objectType
mscorlib (39)
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (28)
78
SerTrace.Log( this, objectInfoId," objectType ",
objectType
," ObjectEnd");
84
SerTrace.Log( this, objectInfoId," objectType ",
objectType
," InternalInit");
131
if (
objectType
.IsArray)
143
if (surrogateSelector != null && (serializationSurrogate = surrogateSelector.GetSurrogate(
objectType
, context, out surrogateSelectorTemp)) != null)
146
si = new SerializationInfo(
objectType
, converter);
147
if (!
objectType
.IsPrimitive)
153
if (!
objectType
.IsSerializable) {
155
objectType
.FullName,
objectType
.Assembly.FullName));
157
si = new SerializationInfo(
objectType
, converter, !FormatterServices.UnsafeTypeForwardersIsEnabled());
161
SerTrace.Log( this, objectInfoId," Constructor 1 trace 4 ISerializable "+
objectType
);
163
CheckTypeForwardedFrom(cache,
objectType
, binderAssemblyString);
169
CheckTypeForwardedFrom(cache,
objectType
, binderAssemblyString);
294
SerTrace.Log( this,objectInfoId+" ",
objectType
," InitSiWrite ",cache.memberNames[i]," Type ",cache.memberTypes[i]," data ",memberData[i]);
325
cache = (SerObjectInfoCache)serObjectInfoInit.seenBeforeTable[
objectType
];
328
SerTrace.Log( this,objectInfoId," ",
objectType
," InitMemberInfo new cache");
329
cache = new SerObjectInfoCache(
objectType
);
330
serObjectInfoInit.seenBeforeTable.Add(
objectType
, cache);
337
SerTrace.Log( this,objectInfoId," ",
objectType
," InitMemberInfo Entry");
340
cache = (SerObjectInfoCache)serObjectInfoInit.seenBeforeTable[
objectType
];
343
SerTrace.Log( this,objectInfoId," ",
objectType
," InitMemberInfo new cache");
344
cache = new SerObjectInfoCache(
objectType
);
346
cache.memberInfos = FormatterServices.GetSerializableMembers(
objectType
, context);
358
serObjectInfoInit.seenBeforeTable.Add(
objectType
, cache);
369
SerTrace.Log( this,objectInfoId," ",
objectType
," InitMemberInfo Exit");
378
SerTrace.Log( this,objectInfoId," ",
objectType
," GetTypeFullName isSi ",isSi, " "+cache.fullTypeName);
384
SerTrace.Log( this,objectInfoId," ",
objectType
," GetAssemblyString Entry isSi ",isSi, " ",cache.assemblyString);
392
binder.BindToName(
objectType
, out binderAssemblyString, out binderTypeName);
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (11)
357
SerTrace.Log( this, "Write 1 objectInfo obj ",objectInfo.obj," objectId ", objectInfo.objectId, " objectType ", objectInfo.
objectType
);
358
Type objType = objectInfo.
objectType
;
487
if (!Object.ReferenceEquals(objectInfo.
objectType
, Converter.typeofString))
522
if (!Object.ReferenceEquals(objectInfo.
objectType
, Converter.typeofString))
734
Type arrayType = objectInfo.
objectType
;
1299
return TypeToNameInfo(objectInfo.
objectType
, objectInfo, ToCode(objectInfo.
objectType
), null);
1304
return TypeToNameInfo(objectInfo.
objectType
, objectInfo, ToCode(objectInfo.
objectType
), nameInfo);
1343
SerTrace.Log( this, "GetAssemblyId Entry ",objectInfo.
objectType
," isSi ",objectInfo.isSi);
1381
serWriter.WriteAssembly(objectInfo.
objectType
, serializedAssemblyString, (int)assemId, isNew);