Using Resharper, I extracted an interface of an existing class. This class has some attributes set on a few members, and Resharper also put these on the interface members.
Can I delete these attributes from the interface? Attributes on an interface aren't inherited when implementing an interface right?
They aren't used by the implementing class - but still might be critical. For example, WCF defines service-contracts and operation-contracts by the attributes on the interface.
If they aren't of use in your case, then delete them. Otherwise, leave them alone ;-p
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With