This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
@@ -0,0 +1,80 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Serialization
{
/// <summary>Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.</summary>
// Token: 0x0200045F RID: 1119
[Token(Token = "0x200045F")]
[ComVisible(true)]
[Serializable]
public struct StreamingContext
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.StreamingContext" /> class with a given context state.</summary>
/// <param name="state">A bitwise combination of the <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> values that specify the source or destination context for this <see cref="T:System.Runtime.Serialization.StreamingContext" />.</param>
// Token: 0x06002562 RID: 9570 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002562")]
[Address(RVA = "0x29A06B0", Offset = "0x299F4B0", VA = "0x1829A06B0")]
public StreamingContext(StreamingContextStates state)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.StreamingContext" /> class with a given context state, and some additional information.</summary>
/// <param name="state">A bitwise combination of the <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> values that specify the source or destination context for this <see cref="T:System.Runtime.Serialization.StreamingContext" />.</param>
/// <param name="additional">Any additional information to be associated with the <see cref="T:System.Runtime.Serialization.StreamingContext" />. This information is available to any object that implements <see cref="T:System.Runtime.Serialization.ISerializable" /> or any serialization surrogate. Most users do not need to set this parameter.</param>
// Token: 0x06002563 RID: 9571 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002563")]
[Address(RVA = "0x25643D0", Offset = "0x25631D0", VA = "0x1825643D0")]
public StreamingContext(StreamingContextStates state, object additional)
{
}
/// <summary>Determines whether two <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances contain the same values.</summary>
/// <param name="obj">An object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if the specified object is an instance of <see cref="T:System.Runtime.Serialization.StreamingContext" /> and equals the value of the current instance; otherwise, <see langword="false" />.</returns>
// Token: 0x06002564 RID: 9572 RVA: 0x00015C00 File Offset: 0x00013E00
[Token(Token = "0x6002564")]
[Address(RVA = "0x29A0600", Offset = "0x299F400", VA = "0x1829A0600", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a hash code of this object.</summary>
/// <returns>The <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> value that contains the source or destination of the serialization for this <see cref="T:System.Runtime.Serialization.StreamingContext" />.</returns>
// Token: 0x06002565 RID: 9573 RVA: 0x00015C18 File Offset: 0x00013E18
[Token(Token = "0x6002565")]
[Address(RVA = "0x4C4D90", Offset = "0x4C3B90", VA = "0x1804C4D90", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Gets the source or destination of the transmitted data.</summary>
/// <returns>During serialization, the destination of the transmitted data. During deserialization, the source of the data.</returns>
// Token: 0x1700053D RID: 1341
// (get) Token: 0x06002566 RID: 9574 RVA: 0x00015C30 File Offset: 0x00013E30
[Token(Token = "0x1700053D")]
public StreamingContextStates State
{
[Token(Token = "0x6002566")]
[Address(RVA = "0x4C4D90", Offset = "0x4C3B90", VA = "0x1804C4D90")]
get
{
return (StreamingContextStates)0;
}
}
// Token: 0x040014ED RID: 5357
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40014ED")]
internal object m_additionalContext;
// Token: 0x040014EE RID: 5358
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x40014EE")]
internal StreamingContextStates m_state;
}
}