// ISerializable public void GetObjectData(SerializationInfo info, StreamingContext context) { Type[] genericArguments = IsGenericMethod && !IsGenericMethodDefinition ? GetGenericArguments() : null; MemberInfoSerializationHolder.Serialize(info, Name, ReflectedType, ToString(), MemberTypes.Method, genericArguments); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.GetSerializationInfo(info, this.Name, this.ReflectedTypeHandle.GetRuntimeType(), this.ToString(), MemberTypes.Constructor); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.GetSerializationInfo(info, this.Name, this.ReflectedType, null, MemberTypes.Event); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.GetSerializationInfo(info, this.Name, this.ReflectedTypeInternal, this.ToString(), this.SerializationToString(), MemberTypes.Property, (Type[])null); }
// Get the serialization data for this property. public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.Serialize (info, MemberTypes.Property, Name, null, ReflectedType); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException(nameof(info)); } Contract.EndContractBlock(); MemberInfoSerializationHolder.GetSerializationInfo(info, this); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } if (this.m_reflectedTypeCache.IsGlobal) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_GlobalMethodSerialization")); } MemberInfoSerializationHolder.GetSerializationInfo(info, this.Name, this.ReflectedTypeInternal, this.ToString(), MemberTypes.Method, (this.IsGenericMethod & !this.IsGenericMethodDefinition) ? this.GetGenericArguments() : null); }
// ISerializable Implementation // public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.GetSerializationInfo(info, this.Name, this.InternalReflectedClass(false), this.ToString(), System.Reflection.MemberTypes.Field); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } Contract.EndContractBlock(); MemberInfoSerializationHolder.GetSerializationInfo( info, Name, ReflectedTypeInternal, ToString(), MemberTypes.Field); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException(nameof(info)); } Contract.EndContractBlock(); if (m_reflectedTypeCache.IsGlobal) { throw new NotSupportedException(SR.NotSupported_GlobalMethodSerialization); } MemberInfoSerializationHolder.GetSerializationInfo(info, this); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.GetSerializationInfo( info, Name, ReflectedTypeInternal, ToString(), SerializationToString(), MemberTypes.Constructor, null); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) { throw new ArgumentNullException("info"); } MemberInfoSerializationHolder.GetSerializationInfo( info, Name, ReflectedTypeInternal, ToString(), SerializationToString(), MemberTypes.Method, IsGenericMethod & !IsGenericMethodDefinition ? GetGenericArguments() : null); }
[System.Security.SecurityCritical] // auto-generated public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) throw new ArgumentNullException("info"); Contract.EndContractBlock(); if (m_reflectedTypeCache.IsGlobal) throw new NotSupportedException(Environment.GetResourceString("NotSupported_GlobalMethodSerialization")); MemberInfoSerializationHolder.GetSerializationInfo( info, Name, ReflectedTypeInternal, ToString(), SerializationToString(), MemberTypes.Method, IsGenericMethod & !IsGenericMethodDefinition ? GetGenericArguments() : null); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { Type[] genericArguments = (!this.IsGenericMethod || this.IsGenericMethodDefinition) ? null : this.GetGenericArguments(); MemberInfoSerializationHolder.Serialize(info, this.Name, this.ReflectedType, this.ToString(), MemberTypes.Method, genericArguments); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { MemberInfoSerializationHolder.Serialize(info, this.Name, this.ReflectedType, this.ToString(), MemberTypes.Event); }
// ISerializable public void GetObjectData(SerializationInfo info, StreamingContext context) { MemberInfoSerializationHolder.Serialize(info, Name, ReflectedType, ToString(), MemberTypes.Property); }
public static void Serialize(SerializationInfo info, string name, Type klass, string signature, MemberTypes type) { MemberInfoSerializationHolder.Serialize(info, name, klass, signature, type, null); }
// Token: 0x060045CD RID: 17869 RVA: 0x000FE6F9 File Offset: 0x000FC8F9 public static void GetSerializationInfo(SerializationInfo info, string name, RuntimeType reflectedClass, string signature, MemberTypes type) { MemberInfoSerializationHolder.GetSerializationInfo(info, name, reflectedClass, signature, null, type, null); }