Property.Verify C# (CSharp) Method

Verify() public method

public Verify ( ) : bool
return bool
            public bool Verify() {
               if(get != null && set != null) {
                  if(!get.name.equals(set.name)) {
                     throw new IllegalStateException("Property names do not match for '"+get.name+"' and '"+set.name+"'");
                  }
                  if(!get.type.equals(set.type)) {
                     throw new IllegalStateException("Property types do not match for '"+get.type+"' and '"+set.type+"'");
                  }
               }
               return true;
            }
            public String ToString() {