This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,52 @@
using System;
using Cpp2IlInjected;
namespace System.ComponentModel.Design.Serialization
{
/// <summary>Indicates a serializer for the serialization manager to use to serialize the values of the type this attribute is applied to. This class cannot be inherited.</summary>
// Token: 0x020001C9 RID: 457
[Token(Token = "0x20001C9")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public sealed class DesignerSerializerAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.DesignerSerializerAttribute" /> class.</summary>
/// <param name="serializerTypeName">The fully qualified name of the data type of the serializer.</param>
/// <param name="baseSerializerTypeName">The fully qualified name of the base data type of the serializer. Multiple serializers can be supplied for a class as long as the serializers have different base types.</param>
// Token: 0x06000C37 RID: 3127 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C37")]
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
public DesignerSerializerAttribute(string serializerTypeName, string baseSerializerTypeName)
{
}
/// <summary>Indicates a unique ID for this attribute type.</summary>
/// <returns>A unique ID for this attribute type.</returns>
// Token: 0x17000236 RID: 566
// (get) Token: 0x06000C38 RID: 3128 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000236")]
public override object TypeId
{
[Token(Token = "0x6000C38")]
[Address(RVA = "0x4E8920", Offset = "0x4E7720", VA = "0x1804E8920", Slot = "4")]
get
{
return null;
}
}
// Token: 0x04000659 RID: 1625
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000659")]
private string serializerTypeName;
// Token: 0x0400065A RID: 1626
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400065A")]
private string serializerBaseTypeName;
// Token: 0x0400065B RID: 1627
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400065B")]
private string typeId;
}
}
@@ -0,0 +1,76 @@
using System;
using System.Collections;
using System.Reflection;
using Cpp2IlInjected;
namespace System.ComponentModel.Design.Serialization
{
/// <summary>Provides the information necessary to create an instance of an object. This class cannot be inherited.</summary>
// Token: 0x020001CA RID: 458
[Token(Token = "0x20001CA")]
public sealed class InstanceDescriptor
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> class using the specified member information and arguments.</summary>
/// <param name="member">The member information for the descriptor. This can be a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.ConstructorInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />. If this is a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, it must represent a <see langword="static" /> member.</param>
/// <param name="arguments">The collection of arguments to pass to the member. This parameter can be <see langword="null" /> or an empty collection if there are no arguments. The collection can also consist of other instances of <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" />.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, and it does not represent a <see langword="static" /> member.
/// -or-
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.PropertyInfo" /> and is not readable.
/// -or-
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" /> or <see cref="T:System.Reflection.ConstructorInfo" />, and the number of arguments in <paramref name="arguments" /> does not match the signature of <paramref name="member" />.
/// -or-
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.ConstructorInfo" /> and represents a <see langword="static" /> member.
/// -or-
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.FieldInfo" />, and the number of arguments in <paramref name="arguments" /> is not zero.</exception>
// Token: 0x06000C39 RID: 3129 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C39")]
[Address(RVA = "0x4EF090", Offset = "0x4EDE90", VA = "0x1804EF090")]
public InstanceDescriptor(MemberInfo member, ICollection arguments)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> class using the specified member information, arguments, and value indicating whether the specified information completely describes the instance.</summary>
/// <param name="member">The member information for the descriptor. This can be a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.ConstructorInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />. If this is a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, it must represent a <see langword="static" /> member.</param>
/// <param name="arguments">The collection of arguments to pass to the member. This parameter can be <see langword="null" /> or an empty collection if there are no arguments. The collection can also consist of other instances of <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" />.</param>
/// <param name="isComplete">
/// <see langword="true" /> if the specified information completely describes the instance; otherwise, <see langword="false" />.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, and it does not represent a <see langword="static" /> member
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.PropertyInfo" /> and is not readable.
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" /> or <see cref="T:System.Reflection.ConstructorInfo" /> and the number of arguments in <paramref name="arguments" /> does not match the signature of <paramref name="member" />.
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.ConstructorInfo" /> and represents a <see langword="static" /> member
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.FieldInfo" />, and the number of arguments in <paramref name="arguments" /> is not zero.</exception>
// Token: 0x06000C3A RID: 3130 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C3A")]
[Address(RVA = "0x4EEAA0", Offset = "0x4ED8A0", VA = "0x1804EEAA0")]
public InstanceDescriptor(MemberInfo member, ICollection arguments, bool isComplete)
{
}
/// <summary>Invokes this instance descriptor and returns the object the descriptor describes.</summary>
/// <returns>The object this instance descriptor describes.</returns>
// Token: 0x06000C3B RID: 3131 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C3B")]
[Address(RVA = "0x4EE590", Offset = "0x4ED390", VA = "0x1804EE590")]
public object Invoke()
{
return null;
}
// Token: 0x0400065C RID: 1628
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400065C")]
private MemberInfo member;
// Token: 0x0400065D RID: 1629
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400065D")]
private ICollection arguments;
// Token: 0x0400065E RID: 1630
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400065E")]
private bool isComplete;
}
}
@@ -0,0 +1,61 @@
using System;
using Cpp2IlInjected;
namespace System.ComponentModel.Design.Serialization
{
/// <summary>Indicates the base serializer to use for a root designer object. This class cannot be inherited.</summary>
// Token: 0x020001CB RID: 459
[Token(Token = "0x20001CB")]
[Obsolete]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
[Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). http://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class RootDesignerSerializerAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute" /> class using the specified attributes.</summary>
/// <param name="serializerTypeName">The fully qualified name of the data type of the serializer.</param>
/// <param name="baseSerializerTypeName">The name of the base type of the serializer. A class can include multiple serializers as they all have different base types.</param>
/// <param name="reloadable">
/// <see langword="true" /> if this serializer supports dynamic reloading of the document; otherwise, <see langword="false" />.</param>
// Token: 0x06000C3C RID: 3132 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C3C")]
[Address(RVA = "0x4FF0A0", Offset = "0x4FDEA0", VA = "0x1804FF0A0")]
public RootDesignerSerializerAttribute(string serializerTypeName, string baseSerializerTypeName, bool reloadable)
{
}
/// <summary>Gets a unique ID for this attribute type.</summary>
/// <returns>An object containing a unique ID for this attribute type.</returns>
// Token: 0x17000237 RID: 567
// (get) Token: 0x06000C3D RID: 3133 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000237")]
public override object TypeId
{
[Token(Token = "0x6000C3D")]
[Address(RVA = "0x4FF0F0", Offset = "0x4FDEF0", VA = "0x1804FF0F0", Slot = "4")]
get
{
return null;
}
}
// Token: 0x0400065F RID: 1631
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400065F")]
private bool reloadable;
// Token: 0x04000660 RID: 1632
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000660")]
private string serializerTypeName;
// Token: 0x04000661 RID: 1633
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000661")]
private string serializerBaseTypeName;
// Token: 0x04000662 RID: 1634
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000662")]
private string typeId;
}
}