This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+102
View File
@@ -0,0 +1,102 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Reflection
{
/// <summary>Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.</summary>
// Token: 0x0200021D RID: 541
[Token(Token = "0x200021D")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum BindingFlags
{
/// <summary>Specifies that no binding flags are defined.</summary>
// Token: 0x04000A31 RID: 2609
[Token(Token = "0x4000A31")]
Default = 0,
/// <summary>Specifies that the case of the member name should not be considered when binding.</summary>
// Token: 0x04000A32 RID: 2610
[Token(Token = "0x4000A32")]
IgnoreCase = 1,
/// <summary>Specifies that only members declared at the level of the supplied type's hierarchy should be considered. Inherited members are not considered.</summary>
// Token: 0x04000A33 RID: 2611
[Token(Token = "0x4000A33")]
DeclaredOnly = 2,
/// <summary>Specifies that instance members are to be included in the search.</summary>
// Token: 0x04000A34 RID: 2612
[Token(Token = "0x4000A34")]
Instance = 4,
/// <summary>Specifies that static members are to be included in the search.</summary>
// Token: 0x04000A35 RID: 2613
[Token(Token = "0x4000A35")]
Static = 8,
/// <summary>Specifies that public members are to be included in the search.</summary>
// Token: 0x04000A36 RID: 2614
[Token(Token = "0x4000A36")]
Public = 16,
/// <summary>Specifies that non-public members are to be included in the search.</summary>
// Token: 0x04000A37 RID: 2615
[Token(Token = "0x4000A37")]
NonPublic = 32,
/// <summary>Specifies that public and protected static members up the hierarchy should be returned. Private static members in inherited classes are not returned. Static members include fields, methods, events, and properties. Nested types are not returned.</summary>
// Token: 0x04000A38 RID: 2616
[Token(Token = "0x4000A38")]
FlattenHierarchy = 64,
/// <summary>Specifies that a method is to be invoked. This must not be a constructor or a type initializer.
/// This flag is passed to an <see langword="InvokeMember" /> method to invoke a method.</summary>
// Token: 0x04000A39 RID: 2617
[Token(Token = "0x4000A39")]
InvokeMethod = 256,
/// <summary>Specifies that reflection should create an instance of the specified type. Calls the constructor that matches the given arguments. The supplied member name is ignored. If the type of lookup is not specified, (Instance | Public) will apply. It is not possible to call a type initializer.
/// This flag is passed to an <see langword="InvokeMember" /> method to invoke a constructor.</summary>
// Token: 0x04000A3A RID: 2618
[Token(Token = "0x4000A3A")]
CreateInstance = 512,
/// <summary>Specifies that the value of the specified field should be returned.
/// This flag is passed to an <see langword="InvokeMember" /> method to get a field value.</summary>
// Token: 0x04000A3B RID: 2619
[Token(Token = "0x4000A3B")]
GetField = 1024,
/// <summary>Specifies that the value of the specified field should be set.
/// This flag is passed to an <see langword="InvokeMember" /> method to set a field value.</summary>
// Token: 0x04000A3C RID: 2620
[Token(Token = "0x4000A3C")]
SetField = 2048,
/// <summary>Specifies that the value of the specified property should be returned.
/// This flag is passed to an <see langword="InvokeMember" /> method to invoke a property getter.</summary>
// Token: 0x04000A3D RID: 2621
[Token(Token = "0x4000A3D")]
GetProperty = 4096,
/// <summary>Specifies that the value of the specified property should be set. For COM properties, specifying this binding flag is equivalent to specifying <see langword="PutDispProperty" /> and <see langword="PutRefDispProperty" />.
/// This flag is passed to an <see langword="InvokeMember" /> method to invoke a property setter.</summary>
// Token: 0x04000A3E RID: 2622
[Token(Token = "0x4000A3E")]
SetProperty = 8192,
/// <summary>Specifies that the <see langword="PROPPUT" /> member on a COM object should be invoked. <see langword="PROPPUT" /> specifies a property-setting function that uses a value. Use <see langword="PutDispProperty" /> if a property has both <see langword="PROPPUT" /> and <see langword="PROPPUTREF" /> and you need to distinguish which one is called.</summary>
// Token: 0x04000A3F RID: 2623
[Token(Token = "0x4000A3F")]
PutDispProperty = 16384,
/// <summary>Specifies that the <see langword="PROPPUTREF" /> member on a COM object should be invoked. <see langword="PROPPUTREF" /> specifies a property-setting function that uses a reference instead of a value. Use <see langword="PutRefDispProperty" /> if a property has both <see langword="PROPPUT" /> and <see langword="PROPPUTREF" /> and you need to distinguish which one is called.</summary>
// Token: 0x04000A40 RID: 2624
[Token(Token = "0x4000A40")]
PutRefDispProperty = 32768,
/// <summary>Specifies that types of the supplied arguments must exactly match the types of the corresponding formal parameters. Reflection throws an exception if the caller supplies a non-null <see langword="Binder" /> object, since that implies that the caller is supplying <see langword="BindToXXX" /> implementations that will pick the appropriate method.</summary>
// Token: 0x04000A41 RID: 2625
[Token(Token = "0x4000A41")]
ExactBinding = 65536,
/// <summary>Not implemented.</summary>
// Token: 0x04000A42 RID: 2626
[Token(Token = "0x4000A42")]
SuppressChangeType = 131072,
/// <summary>Returns the set of members whose parameter count matches the number of supplied arguments. This binding flag is used for methods with parameters that have default values and methods with variable arguments (varargs). This flag should only be used with <see cref="M:System.Type.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[])" />.</summary>
// Token: 0x04000A43 RID: 2627
[Token(Token = "0x4000A43")]
OptionalParamBinding = 262144,
/// <summary>Used in COM interop to specify that the return value of the member can be ignored.</summary>
// Token: 0x04000A44 RID: 2628
[Token(Token = "0x4000A44")]
IgnoreReturn = 16777216
}
}