using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Runtime.Serialization { /// Allows users to control class loading and mandate what class to load. // Token: 0x02000472 RID: 1138 [Token(Token = "0x2000472")] [ComVisible(true)] [Serializable] public abstract class SerializationBinder { /// When overridden in a derived class, controls the binding of a serialized object to a type. /// The type of the object the formatter creates a new instance of. /// Specifies the name of the serialized object. /// Specifies the name of the serialized object. // Token: 0x06002717 RID: 10007 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002717")] [Address(RVA = "0x1A47E80", Offset = "0x1A46E80", VA = "0x181A47E80", Slot = "4")] public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName) { } /// When overridden in a derived class, controls the binding of a serialized object to a type. /// Specifies the name of the serialized object. /// Specifies the name of the serialized object. /// The type of the object the formatter creates a new instance of. // Token: 0x06002718 RID: 10008 [Token(Token = "0x6002718")] [Address(Slot = "5")] public abstract Type BindToType(string assemblyName, string typeName); /// Initializes a new instance of the class. // Token: 0x06002719 RID: 10009 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002719")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected SerializationBinder() { } } }