using System; using System.Globalization; using Cpp2IlInjected; namespace System.Reflection.Emit { /// Defines and represents a method (or constructor) on a dynamic class. // Token: 0x0200026F RID: 623 [Token(Token = "0x200026F")] public abstract class MethodBuilder : MethodInfo { /// Retrieves the attributes for this method. /// Read-only. Retrieves the for this method. // Token: 0x1700029E RID: 670 // (get) Token: 0x0600168A RID: 5770 RVA: 0x0000FD50 File Offset: 0x0000DF50 [Token(Token = "0x1700029E")] public override MethodAttributes Attributes { [Token(Token = "0x600168A")] [Address(RVA = "0x2A0AC30", Offset = "0x2A09A30", VA = "0x182A0AC30", Slot = "22")] get { return MethodAttributes.PrivateScope; } } /// Returns the type that declares this method. /// Read-only. The type that declares this method. // Token: 0x1700029F RID: 671 // (get) Token: 0x0600168B RID: 5771 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700029F")] public override Type DeclaringType { [Token(Token = "0x600168B")] [Address(RVA = "0x2A0AC80", Offset = "0x2A09A80", VA = "0x182A0AC80", Slot = "9")] get { return null; } } /// Retrieves the name of this method. /// Read-only. Retrieves a string containing the simple name of this method. // Token: 0x170002A0 RID: 672 // (get) Token: 0x0600168C RID: 5772 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170002A0")] public override string Name { [Token(Token = "0x600168C")] [Address(RVA = "0x2A0AD00", Offset = "0x2A09B00", VA = "0x182A0AD00", 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: 0x0600168D RID: 5773 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600168D")] [Address(RVA = "0x2A0AA20", Offset = "0x2A09820", VA = "0x182A0AA20")] 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: 0x0600168E RID: 5774 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600168E")] [Address(RVA = "0x2A0AB00", Offset = "0x2A09900", VA = "0x182A0AB00")] 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: 0x0600168F RID: 5775 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600168F")] [Address(RVA = "0x2A0AB80", Offset = "0x2A09980", VA = "0x182A0AB80", 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: 0x170002A1 RID: 673 // (get) Token: 0x06001690 RID: 5776 RVA: 0x0000FD68 File Offset: 0x0000DF68 [Token(Token = "0x170002A1")] public override RuntimeMethodHandle MethodHandle { [Token(Token = "0x6001690")] [Address(RVA = "0x2A0ACD0", Offset = "0x2A09AD0", VA = "0x182A0ACD0", 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: 0x170002A2 RID: 674 // (get) Token: 0x06001691 RID: 5777 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170002A2")] public override Type ReflectedType { [Token(Token = "0x6001691")] [Address(RVA = "0x2A0AD50", Offset = "0x2A09B50", VA = "0x182A0AD50", Slot = "10")] get { return null; } } /// Return the base implementation for a method. /// The base implementation of this method. // Token: 0x06001692 RID: 5778 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001692")] [Address(RVA = "0x2A0AA70", Offset = "0x2A09870", VA = "0x182A0AA70", 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: 0x06001693 RID: 5779 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001693")] [Address(RVA = "0x2A0AAA0", Offset = "0x2A098A0", VA = "0x182A0AAA0", 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: 0x06001694 RID: 5780 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001694")] [Address(RVA = "0x2A0AAD0", Offset = "0x2A098D0", VA = "0x182A0AAD0", 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: 0x06001695 RID: 5781 RVA: 0x0000FD80 File Offset: 0x0000DF80 [Token(Token = "0x6001695")] [Address(RVA = "0x2A0AB50", Offset = "0x2A09950", VA = "0x182A0AB50", 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: 0x06001696 RID: 5782 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001696")] [Address(RVA = "0x2A0ABD0", Offset = "0x2A099D0", VA = "0x182A0ABD0", 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: 0x06001697 RID: 5783 RVA: 0x0000FD98 File Offset: 0x0000DF98 [Token(Token = "0x6001697")] [Address(RVA = "0x2A0AC00", Offset = "0x2A09A00", VA = "0x182A0AC00", Slot = "14")] public override bool IsDefined(Type attributeType, bool inherit) { return default(bool); } } }