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