34 references to ObjectValue
System.Runtime.Serialization.Formatters (34)
System\Runtime\Serialization\ObjectManager.cs (34)
139if (holder == null || holder.CanObjectValueChange || holder.ObjectValue == null) 161if (holder.ObjectValue != null && holder.ObjectValue is ValueType) 182object? returnValue = surrogate.SetObjectData(holder.ObjectValue!, holder.SerializationInfo, _context, uselessSelector); 185if (!holder.CanSurrogatedObjectValueChange && returnValue != holder.ObjectValue) 197Debug.Assert(holder.ObjectValue is ISerializable, "holder.m_object is ISerializable"); 198CompleteISerializableObject(holder.ObjectValue, holder.SerializationInfo, _context); 208DoValueTypeFixup(null, holder, holder.ObjectValue); 242tempObject = holder.ObjectValue; 243Debug.Assert(holder.ObjectValue != null); 244holder.SetObjectValue(((IObjectReference)(holder.ObjectValue)).GetRealObject(_context), this); 248if (holder.ObjectValue == null) 257} while ((holder.ObjectValue is IObjectReference) && (tempObject != holder.ObjectValue)); 282object? fixupObj = holder.ObjectValue; 307fixupObj = holder.ObjectValue; //Save the most derived 314if (tempHolder.ObjectValue == null) 343if (!(holder.ObjectValue is Array) && holder.ObjectValue != null) 345fixupObj = holder.ObjectValue; 381if (arrayIndex != null && holder.ObjectValue != null) 383((Array)(holder.ObjectValue)).SetValue(fixupObj, arrayIndex); 409if (holder.ObjectValue == null) 442object? holderValue = tempObjectHolder.ObjectValue; 499Debug.Assert(holder.ObjectValue is Array); 506((Array)(holder.ObjectValue)).SetValue(tempObjectHolder.ObjectValue, ((int[])fixupInfo)); 526if (!DoValueTypeFixup((FieldInfo)tempMember, holder, tempObjectHolder.ObjectValue)) 533FormatterServices.SerializationSetValue(tempMember, holder.ObjectValue, tempObjectHolder.ObjectValue); 603if (temp.ObjectValue != null) 630return holder.ObjectValue; 720if (temp.ObjectValue != null) 835if (temp.ObjectValue == null)