MemberAliasMethodInfo

Provides a methods of representing aliased methods.

In this case, what we're representing is a method on a parent class with the same name.

We aggregate the MethodInfo associated with this member and return a mangled form of the name. The name that we return is "parentname+methodName".

namespace Sirenix.Utilities
{
public sealed class MemberAliasMethodInfo : System.Reflection.MethodInfo
}

Requirements

Namespace: Sirenix.Utilities
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

  • FieldInfo

Static Fields

Return Type Definition Description
string FAKE_NAME_SEPARATOR_STRING The default fake name separator string.

Constructors

Definition Description
MemberAliasMethodInfo(MethodInfo, string) Initializes a new instance of the MemberAliasMethodInfo class.
MemberAliasMethodInfo(MethodInfo, string, string) Initializes a new instance of the MemberAliasMethodInfo class.

Properties

Return Type Definition Description
MethodInfo AliasedMethod Gets the aliased method.
MethodAttributes Attributes Gets the attributes associated with this method.
Type DeclaringType Gets the class that declares this member.
RuntimeMethodHandle MethodHandle Gets a handle to the internal metadata representation of a method.
string Name Gets the name of the current member.
Type ReflectedType Gets the class object that was used to obtain this instance of MemberInfo.
ICustomAttributeProvider ReturnTypeCustomAttributes Gets the custom attributes for the return type.

Methods

Return Type Definition Description
MethodInfo GetBaseDefinition() When overridden in a derived class, returns the MethodInfo object for the method on the direct or indirect base class in which the method represented by this instance was first declared.
Object[] GetCustomAttributes(bool) When overridden in a derived class, returns an array of all custom attributes applied to this member.
Object[] GetCustomAttributes(Type, bool) When overridden in a derived class, returns an array of custom attributes applied to this member and identified by Type.
MethodImplAttributes GetMethodImplementationFlags() When overridden in a derived class, returns the MethodImplAttributes flags.
ParameterInfo[] GetParameters() When overridden in a derived class, gets the parameters of the specified method or constructor.
Object Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) When overridden in a derived class, invokes the reflected method or constructor with the given parameters.
bool IsDefined(Type, bool) When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member.