Skip to content
This repository
Browse code

Make sure methods are initialized in PropertyDefinition.HasParameters

  • Loading branch information...
commit da40ac81acec97280fd482a0bd626c6ca828f154 1 parent c0a8628
Jb Evain authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  Mono.Cecil/PropertyDefinition.cs
2  Mono.Cecil/PropertyDefinition.cs
@@ -127,6 +127,8 @@ public sealed class PropertyDefinition : PropertyReference, IMemberDefinition, I
127 127
128 128 public bool HasParameters {
129 129 get {
  130 + InitializeMethods ();
  131 +
130 132 if (get_method != null)
131 133 return get_method.HasParameters;
132 134

0 comments on commit da40ac8

Please sign in to comment.
Something went wrong with that request. Please try again.