diff options
author | jbevain <jbevain@gmail.com> | 2011-04-10 02:08:38 +0400 |
---|---|---|
committer | jbevain <jbevain@gmail.com> | 2011-04-10 02:08:38 +0400 |
commit | da40ac81acec97280fd482a0bd626c6ca828f154 (patch) | |
tree | 906e37e16c05b033eef3136dc8233b75dd13cb73 /Mono.Cecil | |
parent | c0a86283dfa480cccbe12da5b8226fee72201271 (diff) |
Make sure methods are initialized in PropertyDefinition.HasParameters
Diffstat (limited to 'Mono.Cecil')
-rw-r--r-- | Mono.Cecil/PropertyDefinition.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mono.Cecil/PropertyDefinition.cs b/Mono.Cecil/PropertyDefinition.cs index 400ccca..42878a0 100644 --- a/Mono.Cecil/PropertyDefinition.cs +++ b/Mono.Cecil/PropertyDefinition.cs @@ -127,6 +127,8 @@ namespace Mono.Cecil { public bool HasParameters { get { + InitializeMethods (); + if (get_method != null) return get_method.HasParameters; |