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

IMethodSignature Interface

Exposes the semantics of a method signature.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public interface IMethodSignature : IModuleElement, 

The IMethodSignature type exposes the following members.

Public propertyCallingConvention
Gets the method calling convention.
Public propertyDeclaringAssembly
Gets the declaring assembly.
(Inherited from IModuleElement.)
Public propertyGenericParameterCount
Gets the number of generic parameters or arguments (i.e. the arity).
Public propertyModule
Gets the declaring module.
(Inherited from IModuleElement.)
Public propertyParameterCount
Gets the number of parameters.
Public propertyReturnType
Gets the return type.
Public methodEquals
Indicates whether the current object is equal to another object of the same type.
(Inherited from IEquatable<IMethodSignature>.)
Public methodGetParameterType
Gets the type of a parameter given its position.
Public methodMapGenericArguments
Resolves all generic arguments in the current method signature.
Public methodReferencesAnyGenericArgument
Determines whether generic arguments are used in the current signature.
Public methodTranslate
Translates the current element so that it can be used in a given module.
(Inherited from IModuleElement.)
Public methodTranslateMethodSignature
Translates the current method signature so that it is meaningful in another module than the one to which it primarily belong.
Extension Methods
Public Extension MethodDefinitionMatchesReference (Defined by CompareExtensions.)
See Also