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: 0x02000456 RID: 1110 [Token(Token = "0x2000456")] [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: 0x0600250B RID: 9483 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600250B")] [Address(RVA = "0xF2A2E0", Offset = "0xF290E0", VA = "0x180F2A2E0", 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: 0x0600250C RID: 9484 [Token(Token = "0x600250C")] [Address(Slot = "5")] public abstract Type BindToType(string assemblyName, string typeName); /// Initializes a new instance of the class. // Token: 0x0600250D RID: 9485 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600250D")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected SerializationBinder() { } } }