ParameterDefinition Class |
Namespace: Mono.Cecil
public sealed class ParameterDefinition : ParameterReference, ICustomAttributeProvider, IMetadataTokenProvider, IConstantProvider, IMarshalInfoProvider
The ParameterDefinition type exposes the following members.
Name | Description | |
---|---|---|
ParameterDefinition(TypeReference) | Initializes a new instance of the ParameterDefinition class | |
ParameterDefinition(String, ParameterAttributes, TypeReference) | Initializes a new instance of the ParameterDefinition class |
Name | Description | |
---|---|---|
Attributes | ||
Constant | ||
CustomAttributes | ||
HasConstant | ||
HasCustomAttributes | ||
HasDefault | ||
HasFieldMarshal | ||
HasMarshalInfo | ||
Index | (Inherited from ParameterReference.) | |
IsIn | ||
IsLcid | ||
IsOptional | ||
IsOut | ||
IsReturnValue | ||
MarshalInfo | ||
MetadataToken | (Inherited from ParameterReference.) | |
Method | ||
Name | (Inherited from ParameterReference.) | |
ParameterType | (Inherited from ParameterReference.) | |
Sequence |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSequence | (Inherited from ParameterReference.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | (Overrides ParameterReferenceResolve.) | |
ToString | (Inherited from ParameterReference.) |
Name | Description | |
---|---|---|
_parameterType | (Inherited from ParameterReference.) |
Name | Description | |
---|---|---|
GetCategory |
Get the category name.
(Defined by ParameterDefinitionUtil.) | |
GetCustomAttribute |
Get the custom attribute with the specified name from the ICustomAttributeProvider. If there are multiple attributes with the name, the first one is returned.
(Defined by ICustomAttributeProviderUtil.) | |
GetCustomAttributes |
Get all custom attributes with the specified name from the ICustomAttributeProvider.
(Defined by ICustomAttributeProviderUtil.) | |
HasCustomAttribute |
Determine if the ICustomAttributeProvider has a custom attribute.
(Defined by ICustomAttributeProviderUtil.) | |
HasDynamicType |
Determine if the member has a dynamic type.
(Defined by ICustomAttributeProviderUtil.) | |
IsIn |
Check if the ParameterDefinition has the 'in' modifier.
(Defined by ParameterDefinitionUtil.) | |
IsOut |
Check if the ParameterDefinition has the 'out' modifier.
(Defined by ParameterDefinitionUtil.) | |
IsParams |
Check if the ParameterDefinition has the 'params' modifier.
(Defined by ParameterDefinitionUtil.) | |
IsRef |
Check if the ParameterDefinition has the 'ref' modifier.
(Defined by ParameterDefinitionUtil.) | |
IsThis |
Check if the ParameterDefinition has the 'this' modifier (actually, if it's parent MethodDefinition has the extension attribute, and
it's the first parameter of the method).
(Defined by ParameterDefinitionUtil.) |