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: 0x0200045D RID: 1117
|
|
[Token(Token = "0x200045D")]
|
|
[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: 0x0600269A RID: 9882
|
|
[Token(Token = "0x600269A")]
|
|
[Address(Slot = "0")]
|
|
void GetObjectData(SerializationInfo info, StreamingContext context);
|
|
}
|
|
}
|