NDepend.API Documentation
UncoverableByTestAttribute Class
Members 
NDepend.Attributes Namespace : UncoverableByTestAttribute Class
This attribute can be used to declare that a code element is not coverable by tests.
Syntax
[AttributeUsage(AttributeTargets.Assembly | 
    AttributeTargets.Class | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Struct)]
public sealed class UncoverableByTestAttribute : System.Attribute 
Remarks
This attribute is useful to keep a class deemed as 100% covered by tests, even if one of its methods is not coverable by tests (for example because it calls a blocking method such as MessageBox.Show()).
This attribute is typically defined through NDepend.Project.IProjectCoverage.UncoverableAttribute.
Inheritance Hierarchy

System.Object
   System.Attribute
      NDepend.Attributes.UncoverableByTestAttribute

Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

UncoverableByTestAttribute Members
NDepend.Attributes Namespace
UncoverableAttribute Property
HasAttribute Method
HasAttribute Method
AttributeClassesThatTagMe Property