Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/Serialization/SerializationBinder.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

43 lines
2.0 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Serialization
{
/// <summary>Allows users to control class loading and mandate what class to load.</summary>
// Token: 0x02000472 RID: 1138
[Token(Token = "0x2000472")]
[ComVisible(true)]
[Serializable]
public abstract class SerializationBinder
{
/// <summary>When overridden in a derived class, controls the binding of a serialized object to a type.</summary>
/// <param name="serializedType">The type of the object the formatter creates a new instance of.</param>
/// <param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly" /> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="T:System.Type" /> name of the serialized object.</param>
// 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)
{
}
/// <summary>When overridden in a derived class, controls the binding of a serialized object to a type.</summary>
/// <param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly" /> name of the serialized object.</param>
/// <param name="typeName">Specifies the <see cref="T:System.Type" /> name of the serialized object.</param>
/// <returns>The type of the object the formatter creates a new instance of.</returns>
// Token: 0x06002718 RID: 10008
[Token(Token = "0x6002718")]
[Address(Slot = "5")]
public abstract Type BindToType(string assemblyName, string typeName);
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationBinder" /> class.</summary>
// Token: 0x06002719 RID: 10009 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002719")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected SerializationBinder()
{
}
}
}