diff options
author | jbevain <jbevain@gmail.com> | 2011-07-23 20:32:47 +0400 |
---|---|---|
committer | jbevain <jbevain@gmail.com> | 2011-07-23 20:32:47 +0400 |
commit | e1823b7e04496cdf0505c5dc5d07f544a21096cd (patch) | |
tree | 671f50c51d7a8e1734d5fbe63b4e0831b4eb2d9a /Mono.Cecil | |
parent | be93c3351878c5a96648f729a6a1a55e23f15882 (diff) |
Expose the attributes of return type parameters
Diffstat (limited to 'Mono.Cecil')
-rw-r--r-- | Mono.Cecil/MethodReturnType.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mono.Cecil/MethodReturnType.cs b/Mono.Cecil/MethodReturnType.cs index f2d3c00..f2e2eaa 100644 --- a/Mono.Cecil/MethodReturnType.cs +++ b/Mono.Cecil/MethodReturnType.cs @@ -55,6 +55,11 @@ namespace Mono.Cecil { set { Parameter.MetadataToken = value; } } + public ParameterAttributes Attributes { + get { return Parameter.Attributes; } + set { Parameter.Attributes = value; } + } + public bool HasCustomAttributes { get { return parameter != null && parameter.HasCustomAttributes; } } |