diff options
author | jbevain <jbevain@gmail.com> | 2010-04-25 22:00:00 +0400 |
---|---|---|
committer | jbevain <jbevain@gmail.com> | 2010-04-25 22:00:00 +0400 |
commit | b5bc57b174be24a3b6338df8e56bce30768e4aaa (patch) | |
tree | e0aa64a96bbef40fa9eea2a9b18cf6cff6fbeee9 /Mono.Cecil/ParameterDefinition.cs | |
parent | 42bd13a1ae6d1d1836069c7fc0028569e3af1925 (diff) |
get rid of ref methods
Diffstat (limited to 'Mono.Cecil/ParameterDefinition.cs')
-rw-r--r-- | Mono.Cecil/ParameterDefinition.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mono.Cecil/ParameterDefinition.cs b/Mono.Cecil/ParameterDefinition.cs index 3f49a31..23afe81 100644 --- a/Mono.Cecil/ParameterDefinition.cs +++ b/Mono.Cecil/ParameterDefinition.cs @@ -89,7 +89,7 @@ namespace Mono.Cecil { if (custom_attributes != null) return custom_attributes; - return this.GetCustomAttributes (ref custom_attributes, parameter_type.Module); + return custom_attributes = this.GetCustomAttributes (parameter_type.Module); } } @@ -107,7 +107,7 @@ namespace Mono.Cecil { if (marshal_info != null) return marshal_info; - return this.GetMarshalInfo (ref marshal_info, parameter_type.Module); + return marshal_info = this.GetMarshalInfo (parameter_type.Module); } set { marshal_info = value; } } |