MethodAttributes PropertyAccessorAttributesFor(TypeMember property) { const MethodAttributes defaultPropertyAccessorAttributes = MethodAttributes.SpecialName | MethodAttributes.HideBySig; return defaultPropertyAccessorAttributes | MethodAttributesFor(property); }