public void GetObjectData(SerializationInfo info, StreamingContext context)
{
if(info == null)
throw new ArgumentNullException("info");
if(m_ptr.ToPointer() == null)
throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFieldState"));
RuntimeType type = (RuntimeType)Type.GetTypeFromHandle(this);
info.AddValue("TypeObj", type, typeof(RuntimeType));
}
}