示例#1
0
 private bool Equals(MethodMember other)
 {
     return(IsVirtual == other.IsVirtual && MethodForm == other.MethodForm && Visibility == other.Visibility &&
            Equals(Parameters, other.Parameters) && Equals(ReturnType, other.ReturnType) &&
            string.Equals(Name, other.Name) && string.Equals(FullName, other.FullName) &&
            Equals(DeclaringType, other.DeclaringType));
 }
 public PropertyMember(IType declaringType, string name, string fullName, IType type,
                       bool isVirtual, [CanBeNull] MethodMember getter, [CanBeNull] MethodMember setter)
 {
     Name          = name;
     FullName      = fullName;
     Type          = type;
     DeclaringType = declaringType;
     IsVirtual     = isVirtual;
     Getter        = getter;
     Setter        = setter;
 }
示例#3
0
 private bool Equals(MethodMember other)
 {
     return(FullName.Equals(other.FullName));
 }