Mono Class Library: System.Reflection Namespace

System.Reflection.MethodAttributes Enumeration

Specifies flags for method attributes. [Edit]
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum MethodAttributes

Remarks

This enumeration is used by the MethodBase.Attributes property. [Edit]

Members

Member NameDescription
Abstract Specifies that the type that declares the method does not provide an implementation. [Edit]
Assembly Specifies that the method is accessible throughout the assembly. [Edit]
CheckAccessOnOverrideDocumentation for this section has not yet been entered. [Edit]
FamANDAssem Specifies that the method is accessible only to members of the type that defines the method and its subclasses in the assembly that contains the defining type. [Edit]
Family Specifies that the method is accessible only to the members of the type that defines it and its subclasses. [Edit]
FamORAssem Specifies that the method is accessible to members of the type that defines the method and its subclasses, and throughout the assembly. [Edit]
Final Specifies that the method cannot be overridden. [Edit]
HasSecurityDocumentation for this section has not yet been entered. [Edit]
HideBySig

Specifies that the method is hidden by name and signature.

Note: A method that is not hidden by name and signature is hidden by name only.

[Edit]
MemberAccessMask Specifies a bit-mask that, when combined with the attributes of a method using the logical AND operator, yields the bits that specify the accessibility of a method. [Edit]
NewSlot Specifies that the method always gets a new slot in the v-table. [Edit]
PinvokeImpl Specifies that the method implementation is forwarded through PInvoke (Platform Invocation Services). [Edit]
Private Specifies that the method is accessible only to members in the defining type. [Edit]
PrivateScope Specifies that the member cannot be referenced. [Edit]
Public Specifies that the method is accessible to members of any type. [Edit]
RequireSecObjectDocumentation for this section has not yet been entered. [Edit]
ReservedMaskDocumentation for this section has not yet been entered. [Edit]
ReuseSlot

Specifies that the method will reuse an existing slot in the v-table.

Note: This is the default behavior.

[Edit]
RTSpecialNameDocumentation for this section has not yet been entered. [Edit]
SpecialName

Specifies that the method is treated in a special way by some tools.

Note:

For more information on special names, see Partition I of the CLI Specification.

For more information on SpecialName in metadata, see Partition II of the CLI Specification.

[Edit]
Static

Specifies that the method is invoked on the defining type.

Note: For method invocation, the target of a static method is a Type object that represents the type where the method is defined.

[Edit]
UnmanagedExportDocumentation for this section has not yet been entered. [Edit]
Virtual Specifies that the method is virtual. [Edit]
VtableLayoutMaskSpecifies a bit-mask that, when combined with the attributes of a method using the logical AND operator, yields the v-table attributes of a method. [Edit]

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0