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