private void PushObjectToSerializationStack(object obj) { if (!obj.GetType().IsValueType) m_serializedStack.Push(obj); }