oh dear
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user