23 lines
1.0 KiB
C#
23 lines
1.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
/// <summary>Allows an object to control its own serialization and deserialization.</summary>
|
|
// Token: 0x02000441 RID: 1089
|
|
[Token(Token = "0x2000441")]
|
|
[ComVisible(true)]
|
|
public interface ISerializable
|
|
{
|
|
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
|
|
/// <param name="context">The destination (see <see cref="T:System.Runtime.Serialization.StreamingContext" />) for this serialization.</param>
|
|
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
|
// Token: 0x0600248E RID: 9358
|
|
[Token(Token = "0x600248E")]
|
|
[Address(Slot = "0")]
|
|
void GetObjectData(SerializationInfo info, StreamingContext context);
|
|
}
|
|
}
|