internal VerifyMemberRulePackage(Type declaringType, VerifiableMemberContract contract, CorrectValueRule rule) { DeclaringType = declaringType ?? throw new ArgumentNullException(nameof(declaringType)); _contract = contract ?? throw new ArgumentNullException(nameof(contract)); _rule = rule ?? throw new ArgumentNullException(nameof(rule)); }
private VerifyMemberRulePackage() { DeclaringType = typeof(object); _contract = default; _rule = default; }