system\runtime\serialization\objectmanager.cs (41)
224if (holder.ObjectValue!=null && holder.ObjectValue is ValueType) {
231if (holder==null || holder.CanObjectValueChange || holder.ObjectValue==null) {
236BCLDebug.Trace("SER", "[GetCompletionInfo]Object: ", ((holder.ObjectValue==null)?"<null>":"Non Null"));
258object returnValue = surrogate.SetObjectData(holder.ObjectValue, holder.SerializationInfo, m_context, uselessSelector);
261if (!holder.CanSurrogatedObjectValueChange && returnValue != holder.ObjectValue)
269Contract.Assert(holder.ObjectValue is ISerializable,"holder.m_object is ISerializable");
270BCLDebug.Trace("SER","[ObjectManager.FixupSpecialObject]Fixing up ISerializable object ",holder.ObjectValue," with id ",holder.m_id);
271CompleteISerializableObject(holder.ObjectValue, holder.SerializationInfo, m_context);
280DoValueTypeFixup(null, holder, holder.ObjectValue);
312tempObject = holder.ObjectValue;
315holder.SetObjectValue(((IObjectReference)(holder.ObjectValue)).GetRealObject(m_context), this);
321if (holder.ObjectValue==null) {
329} while ((holder.ObjectValue is IObjectReference) && (tempObject!=holder.ObjectValue));
359Object fixupObj=holder.ObjectValue;
369BCLDebug.Trace("SER", "[DoValueTypeFixup] valueType fixsite = ", holder.ObjectValue, " fixobj=",value);
385fixupObj = holder.ObjectValue; //Save the most derived
390if (tempHolder.ObjectValue == null) {
407if (holder.ObjectValue==null) {
417if (!(holder.ObjectValue is Array) && holder.ObjectValue!=null) {
418fixupObj = holder.ObjectValue;
463if (arrayIndex!=null && holder.ObjectValue!=null) {
464((Array)(holder.ObjectValue)).SetValue(fixupObj, arrayIndex);
501if (holder.ObjectValue==null) {
529Object holderValue = tempObjectHolder.ObjectValue;
578Contract.Assert(holder.ObjectValue is Array,"holder.ObjectValue is Array");
582((Array)(holder.ObjectValue)).SetValue(tempObjectHolder.ObjectValue, ((int[])fixupInfo));
603if (!DoValueTypeFixup((FieldInfo)tempMember, holder, tempObjectHolder.ObjectValue)) {
607FormatterServices.SerializationSetValue(tempMember, holder.ObjectValue, tempObjectHolder.ObjectValue);
676BCLDebug.Trace("SER", "[DoNewlyRegisteredObjectFixups]ObjectValue ", ((temp.ObjectValue==null)?"<null>":temp.ObjectValue));
679if (temp.ObjectValue!=null) {
706BCLDebug.Trace("SER", "GetObject. holder contains: ", ((holder.ObjectValue==null)?"<null>":holder.ObjectValue));
707return holder.ObjectValue;
802if (temp.ObjectValue!=null) {
925if (temp.ObjectValue == null) {