using System; using System.Globalization; using Cpp2IlInjected; namespace System.Reflection.Emit { /// Defines and represents a method (or constructor) on a dynamic class. // Token: 0x02000276 RID: 630 [Token(Token = "0x2000276")] public abstract class MethodBuilder : MethodInfo { /// Retrieves the attributes for this method. /// Read-only. Retrieves the for this method. // Token: 0x170002A9 RID: 681 // (get) Token: 0x060016C9 RID: 5833 RVA: 0x000100B0 File Offset: 0x0000E2B0 [Token(Token = "0x170002A9")] public override MethodAttributes Attributes { [Token(Token = "0x60016C9")] [Address(RVA = "0x30BC8B0", Offset = "0x30BB8B0", VA = "0x1830BC8B0", Slot = "22")] get { return MethodAttributes.PrivateScope; } } /// Returns the type that declares this method. /// Read-only. The type that declares this method. // Token: 0x170002AA RID: 682 // (get) Token: 0x060016CA RID: 5834 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170002AA")] public override Type DeclaringType { [Token(Token = "0x60016CA")] [Address(RVA = "0x30BC900", Offset = "0x30BB900", VA = "0x1830BC900", Slot = "9")] get { return null; } } /// Retrieves the name of this method. /// Read-only. Retrieves a string containing the simple name of this method. // Token: 0x170002AB RID: 683 // (get) Token: 0x060016CB RID: 5835 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170002AB")] public override string Name { [Token(Token = "0x60016CB")] [Address(RVA = "0x30BC980", Offset = "0x30BB980", VA = "0x1830BC980", Slot = "8")] get { return null; } } /// Sets the number of generic type parameters for the current method, specifies their names, and returns an array of objects that can be used to define their constraints. /// An array of strings that represent the names of the generic type parameters. /// An array of objects representing the type parameters of the generic method. /// Generic type parameters have already been defined for this method. /// -or- /// The method has been completed already. /// -or- /// The method has been called for the current method. /// /// is . /// -or- /// An element of is . /// /// is an empty array. // Token: 0x060016CC RID: 5836 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016CC")] [Address(RVA = "0x30BC6A0", Offset = "0x30BB6A0", VA = "0x1830BC6A0")] public GenericTypeParameterBuilder[] DefineGenericParameters(string[] names) { return null; } /// Returns an for this method with a default Microsoft intermediate language (MSIL) stream size of 64 bytes. /// Returns an object for this method. /// The method should not have a body because of its or flags, for example because it has the flag. /// -or- /// The method is a generic method, but not a generic method definition. That is, the property is , but the property is . // Token: 0x060016CD RID: 5837 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016CD")] [Address(RVA = "0x30BC780", Offset = "0x30BB780", VA = "0x1830BC780")] public ILGenerator GetILGenerator() { return null; } /// Returns the parameters of this method. /// An array of objects that represent the parameters of the method. /// This method is not currently supported. Retrieve the method using and call on the returned . // Token: 0x060016CE RID: 5838 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016CE")] [Address(RVA = "0x30BC800", Offset = "0x30BB800", VA = "0x1830BC800", Slot = "19")] public override ParameterInfo[] GetParameters() { return null; } /// Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle. /// Read-only. The internal handle for the method. Use this handle to access the underlying metadata handle. /// This method is not currently supported. Retrieve the method using and call on the returned . // Token: 0x170002AC RID: 684 // (get) Token: 0x060016CF RID: 5839 RVA: 0x000100C8 File Offset: 0x0000E2C8 [Token(Token = "0x170002AC")] public override RuntimeMethodHandle MethodHandle { [Token(Token = "0x60016CF")] [Address(RVA = "0x30BC950", Offset = "0x30BB950", VA = "0x1830BC950", Slot = "21")] get { return default(RuntimeMethodHandle); } } /// Retrieves the class that was used in reflection to obtain this object. /// Read-only. The type used to obtain this method. // Token: 0x170002AD RID: 685 // (get) Token: 0x060016D0 RID: 5840 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170002AD")] public override Type ReflectedType { [Token(Token = "0x60016D0")] [Address(RVA = "0x30BC9D0", Offset = "0x30BB9D0", VA = "0x1830BC9D0", Slot = "10")] get { return null; } } /// Return the base implementation for a method. /// The base implementation of this method. // Token: 0x060016D1 RID: 5841 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016D1")] [Address(RVA = "0x30BC6F0", Offset = "0x30BB6F0", VA = "0x1830BC6F0", Slot = "44")] public override MethodInfo GetBaseDefinition() { return null; } /// Returns all the custom attributes defined for this method. /// Specifies whether to search this member's inheritance chain to find the custom attributes. /// Returns an array of objects representing all the custom attributes of this method. /// This method is not currently supported. Retrieve the method using and call on the returned . // Token: 0x060016D2 RID: 5842 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016D2")] [Address(RVA = "0x30BC720", Offset = "0x30BB720", VA = "0x1830BC720", Slot = "12")] public override object[] GetCustomAttributes(bool inherit) { return null; } /// Returns the custom attributes identified by the given type. /// The custom attribute type. /// Specifies whether to search this member's inheritance chain to find the custom attributes. /// Returns an array of objects representing the attributes of this method that are of type . /// This method is not currently supported. Retrieve the method using and call on the returned . // Token: 0x060016D3 RID: 5843 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016D3")] [Address(RVA = "0x30BC750", Offset = "0x30BB750", VA = "0x1830BC750", Slot = "13")] public override object[] GetCustomAttributes(Type attributeType, bool inherit) { return null; } /// Returns the implementation flags for the method. /// Returns the implementation flags for the method. // Token: 0x060016D4 RID: 5844 RVA: 0x000100E0 File Offset: 0x0000E2E0 [Token(Token = "0x60016D4")] [Address(RVA = "0x30BC7D0", Offset = "0x30BB7D0", VA = "0x1830BC7D0", Slot = "20")] public override MethodImplAttributes GetMethodImplementationFlags() { return MethodImplAttributes.IL; } /// Dynamically invokes the method reflected by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder. /// The object on which to invoke the specified method. If the method is static, this parameter is ignored. /// This must be a bit flag from : , , and so on. /// An object that enables the binding, coercion of argument types, invocation of members, and retrieval of MemberInfo objects via reflection. If binder is , the default binder is used. For more details, see . /// An argument list. This is an array of arguments with the same number, order, and type as the parameters of the method to be invoked. If there are no parameters this should be . /// An instance of used to govern the coercion of types. If this is null, the for the current thread is used. (Note that this is necessary to, for example, convert a that represents 1000 to a value, since 1000 is represented differently by different cultures.) /// Returns an object containing the return value of the invoked method. /// This method is not currently supported. Retrieve the method using and call on the returned . // Token: 0x060016D5 RID: 5845 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60016D5")] [Address(RVA = "0x30BC850", Offset = "0x30BB850", VA = "0x1830BC850", Slot = "23")] public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) { return null; } /// Checks if the specified custom attribute type is defined. /// The custom attribute type. /// Specifies whether to search this member's inheritance chain to find the custom attributes. /// /// if the specified custom attribute type is defined; otherwise, . /// This method is not currently supported. Retrieve the method using and call on the returned . // Token: 0x060016D6 RID: 5846 RVA: 0x000100F8 File Offset: 0x0000E2F8 [Token(Token = "0x60016D6")] [Address(RVA = "0x30BC880", Offset = "0x30BB880", VA = "0x1830BC880", Slot = "14")] public override bool IsDefined(Type attributeType, bool inherit) { return default(bool); } } }