PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IMethod Interface / IMethod Properties

IMethod Properties

The IMethod type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the attributes of the method.
Public propertyCallingConvention
Gets the method calling convention.
(Inherited from IMethodSignature.)
Public propertyCustomAttributes
Gets the collection of custom attributes.
(Inherited from IMetadataDeclaration.)
Public propertyDeclaringAssembly
Gets the declaring assembly.
(Inherited from IModuleElement.)
Public propertyDeclaringType
Gets the declaring type.
(Inherited from IMember.)
Public propertyDomain
Gets the Domain to which the current element belongs.
(Inherited from IElement.)
Public propertyGenericParameterCount
Gets the number of generic parameters or arguments (i.e. the arity).
(Inherited from IMethodSignature.)
Public propertyIsAbstract
Determines whether the method is abstract.
Public propertyIsGenericDefinition
Determines whether the current instance is a generic definition, i.e. whether it can be used to construct generic instances.
(Inherited from IGeneric.)
Public propertyIsGenericInstance
Determines whether the current instance is a generic instance, i.e. whether it has been constructed from a generic definition.
(Inherited from IGeneric.)
Public propertyIsNew
Determines whether the method takes a new slot.
Public propertyIsSealed
Determines whether the method is sealed.
Public propertyIsStatic
Determines whether the current member is static.
(Inherited from IMember.)
Public propertyIsVirtual
Determines whether the method is virtual.
Public propertyMetadataToken
Gets the metadata token of the current declaration.
(Inherited from IMetadataDeclaration.)
Public propertyModule
Gets the declaring module.
(Inherited from IModuleElement.)
Public propertyName (Inherited from INamed.)
Public propertyParameterCount
Gets the number of parameters.
(Inherited from IMethodSignature.)
Public propertyParent
Gets the direct parent of the current element.
(Inherited from IElement.)
Public propertyParentMember
Gets the parent member of the current declaration.
(Inherited from IMetadataDeclaration.)
Public propertyParentType
Gets the parent type of the current declaration.
(Inherited from IMetadataDeclaration.)
Public propertyReturnType
Gets the return type.
(Inherited from IMethodSignature.)
Public propertyVisibility
Gets the Visibility of the current member.
(Inherited from IMember.)
See Also