Пример #1
0
 public bool IsDeclaredOn(TypeModel typeModel) => this.PropertyInfo.DeclaringType == typeModel.Type;
Пример #2
0
 public bool IsDeclaredOn(TypeModel typeModel) => typeModel.Type.Equals(this.DeclaringMember);