using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Reflection { /// Specifies flags that control binding and the way in which the search for members and types is conducted by reflection. // Token: 0x02000216 RID: 534 [Token(Token = "0x2000216")] [Flags] [ComVisible(true)] [Serializable] public enum BindingFlags { /// Specifies that no binding flags are defined. // Token: 0x04000A27 RID: 2599 [Token(Token = "0x4000A27")] Default = 0, /// Specifies that the case of the member name should not be considered when binding. // Token: 0x04000A28 RID: 2600 [Token(Token = "0x4000A28")] IgnoreCase = 1, /// Specifies that only members declared at the level of the supplied type's hierarchy should be considered. Inherited members are not considered. // Token: 0x04000A29 RID: 2601 [Token(Token = "0x4000A29")] DeclaredOnly = 2, /// Specifies that instance members are to be included in the search. // Token: 0x04000A2A RID: 2602 [Token(Token = "0x4000A2A")] Instance = 4, /// Specifies that static members are to be included in the search. // Token: 0x04000A2B RID: 2603 [Token(Token = "0x4000A2B")] Static = 8, /// Specifies that public members are to be included in the search. // Token: 0x04000A2C RID: 2604 [Token(Token = "0x4000A2C")] Public = 16, /// Specifies that non-public members are to be included in the search. // Token: 0x04000A2D RID: 2605 [Token(Token = "0x4000A2D")] NonPublic = 32, /// 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. // Token: 0x04000A2E RID: 2606 [Token(Token = "0x4000A2E")] FlattenHierarchy = 64, /// Specifies that a method is to be invoked. This must not be a constructor or a type initializer. /// This flag is passed to an method to invoke a method. // Token: 0x04000A2F RID: 2607 [Token(Token = "0x4000A2F")] InvokeMethod = 256, /// 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 method to invoke a constructor. // Token: 0x04000A30 RID: 2608 [Token(Token = "0x4000A30")] CreateInstance = 512, /// Specifies that the value of the specified field should be returned. /// This flag is passed to an method to get a field value. // Token: 0x04000A31 RID: 2609 [Token(Token = "0x4000A31")] GetField = 1024, /// Specifies that the value of the specified field should be set. /// This flag is passed to an method to set a field value. // Token: 0x04000A32 RID: 2610 [Token(Token = "0x4000A32")] SetField = 2048, /// Specifies that the value of the specified property should be returned. /// This flag is passed to an method to invoke a property getter. // Token: 0x04000A33 RID: 2611 [Token(Token = "0x4000A33")] GetProperty = 4096, /// Specifies that the value of the specified property should be set. For COM properties, specifying this binding flag is equivalent to specifying and . /// This flag is passed to an method to invoke a property setter. // Token: 0x04000A34 RID: 2612 [Token(Token = "0x4000A34")] SetProperty = 8192, /// Specifies that the member on a COM object should be invoked. specifies a property-setting function that uses a value. Use if a property has both and and you need to distinguish which one is called. // Token: 0x04000A35 RID: 2613 [Token(Token = "0x4000A35")] PutDispProperty = 16384, /// Specifies that the member on a COM object should be invoked. specifies a property-setting function that uses a reference instead of a value. Use if a property has both and and you need to distinguish which one is called. // Token: 0x04000A36 RID: 2614 [Token(Token = "0x4000A36")] PutRefDispProperty = 32768, /// 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 object, since that implies that the caller is supplying implementations that will pick the appropriate method. // Token: 0x04000A37 RID: 2615 [Token(Token = "0x4000A37")] ExactBinding = 65536, /// Not implemented. // Token: 0x04000A38 RID: 2616 [Token(Token = "0x4000A38")] SuppressChangeType = 131072, /// 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 . // Token: 0x04000A39 RID: 2617 [Token(Token = "0x4000A39")] OptionalParamBinding = 262144, /// Used in COM interop to specify that the return value of the member can be ignored. // Token: 0x04000A3A RID: 2618 [Token(Token = "0x4000A3A")] IgnoreReturn = 16777216 } }