Files
2026-06-04 11:42:34 +02:00

65 lines
1.6 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Serialization
{
/// <summary>Holds the value, <see cref="T:System.Type" />, and name of a serialized object. </summary>
// Token: 0x02000492 RID: 1170
[ComVisible(true)]
public struct SerializationEntry
{
// Token: 0x06002C48 RID: 11336 RVA: 0x00091ED8 File Offset: 0x000900D8
internal SerializationEntry(string name, Type type, object value)
{
this.name = name;
this.objectType = type;
this.value = value;
}
/// <summary>Gets the name of the object.</summary>
/// <returns>The name of the object.</returns>
// Token: 0x170008A4 RID: 2212
// (get) Token: 0x06002C49 RID: 11337 RVA: 0x00091EF0 File Offset: 0x000900F0
public string Name
{
get
{
return this.name;
}
}
/// <summary>Gets the <see cref="T:System.Type" /> of the object.</summary>
/// <returns>The <see cref="T:System.Type" /> of the object.</returns>
// Token: 0x170008A5 RID: 2213
// (get) Token: 0x06002C4A RID: 11338 RVA: 0x00091EF8 File Offset: 0x000900F8
public Type ObjectType
{
get
{
return this.objectType;
}
}
/// <summary>Gets the value contained in the object.</summary>
/// <returns>The value contained in the object.</returns>
// Token: 0x170008A6 RID: 2214
// (get) Token: 0x06002C4B RID: 11339 RVA: 0x00091F00 File Offset: 0x00090100
public object Value
{
get
{
return this.value;
}
}
// Token: 0x0400112E RID: 4398
private string name;
// Token: 0x0400112F RID: 4399
private Type objectType;
// Token: 0x04001130 RID: 4400
private object value;
}
}