Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbevain <jbevain@gmail.com>2011-07-23 20:32:47 +0400
committerjbevain <jbevain@gmail.com>2011-07-23 20:32:47 +0400
commite1823b7e04496cdf0505c5dc5d07f544a21096cd (patch)
tree671f50c51d7a8e1734d5fbe63b4e0831b4eb2d9a /Mono.Cecil
parentbe93c3351878c5a96648f729a6a1a55e23f15882 (diff)
Expose the attributes of return type parameters
Diffstat (limited to 'Mono.Cecil')
-rw-r--r--Mono.Cecil/MethodReturnType.cs5
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; }
}