public void GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValue("DeclaringType", _declaringType); info.AddValue("Name", _name); info.AddValue("MemberType", _memberType); info.AddValue("BindingFlags", _bindingFlags); info.AddValueArray("GenericArguments", _genericArguments); info.AddValueArray("ParameterTypes", _parameterTypes); }
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValue("Name", Name); info.AddValue("Member", Member); info.AddValueArray("AmbiguousMembers", AmbiguousMembers); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValueArray("Types", _types); info.AddValueArray("Methods", _methods); info.AddValueArray("Targets", _targets); }