Namespace NDepend.Attributes
The namespace NDepend.Attributes provides attributes used in default code queries and rules. The user can create its own attributes, and adapt default code queries and rules, or reuse these attributes.
Classes (9)
- CannotDecreaseVisibilityAttribute
This attribute can be used to signify that despite a member could have a lower visibility without provoking any syntax error, your intention is to not change this member visibility.
- CodeRuleAttribute
This attribute can be used to declare a code rule (or query) in your source code.
- FullBranchCoveredAttribute
This attribute can be used to declare that a method is 100% branch covered by tests (branch coverage is only available with NCover and OpenCover).
- FullCoveredAttribute
This attribute can be used to declare that a code element is 100% covered by tests.
- ImmutableAttribute
This attribute can be used to declare a type as immutable.
- IsNotDeadCodeAttribute
This attribute can be used to signify that despite a member could be removed without provoking any syntax error (we also say it is dead code), your intention is to not remove this member.
- MoreThan95PercentCoveredAttribute
This attribute can be used to declare that a code element is more than 95% covered by tests.
- PureAttribute
This attribute can be used to declare a method as pure.
- UncoverableByTestAttribute
This attribute can be used to declare that a code element is not coverable by tests.