class MethodInfo

in global :: System . Reflection

Discovers the attributes of a method and provides access to method metadata.


public static bool op_Equality( MethodInfo left, MethodInfo right )

Indicates whether two objects are equal.

  • left The first object to compare.
  • right The second object to compare.
  • Returns if is equal to ; otherwise, .

public ParameterInfo ReturnParameter { get; }

Gets a object that contains information about the return type of the method, such as whether the return type has custom modifiers.

  • Returns A object that contains information about the return type.

public Type ReturnType { get; }

Gets the return type of this method.

  • Returns The return type of this method.

public ICustomAttributeProvider ReturnTypeCustomAttributes { get; }

Gets the custom attributes for the return type.

  • Returns An object representing the custom attributes for the return type.

public IEnumerable<CustomAttributeData> CustomAttributes { get; }

😔 No documentation found.

public Type ReflectedType { get; }

😔 No documentation found.

public Type DeclaringType { get; }

😔 No documentation found.

public string Name { get; }

😔 No documentation found.

public bool IsSecurityTransparent { get; }

😔 No documentation found.

public bool IsSecuritySafeCritical { get; }

😔 No documentation found.

public bool IsSecurityCritical { get; }

😔 No documentation found.

public bool ContainsGenericParameters { get; }

😔 No documentation found.

public bool IsGenericMethodDefinition { get; }

😔 No documentation found.

public bool IsGenericMethod { get; }

😔 No documentation found.

public bool IsConstructedGenericMethod { get; }

😔 No documentation found.

public bool IsPublic { get; }

😔 No documentation found.

public int MetadataToken { get; }

😔 No documentation found.

public bool IsCollectible { get; }

😔 No documentation found.

public bool IsFamilyAndAssembly { get; }

😔 No documentation found.

public bool IsFamily { get; }

😔 No documentation found.

public bool IsAssembly { get; }

😔 No documentation found.

public bool IsVirtual { get; }

😔 No documentation found.

public bool IsStatic { get; }

😔 No documentation found.

public bool IsSpecialName { get; }

😔 No documentation found.

public bool IsHideBySig { get; }

😔 No documentation found.

public bool IsFinal { get; }

😔 No documentation found.

public bool IsConstructor { get; }

😔 No documentation found.

public bool IsAbstract { get; }

😔 No documentation found.

public bool IsPrivate { get; }

😔 No documentation found.

public bool IsFamilyOrAssembly { get; }

😔 No documentation found.