NDepend.API Documentation
ContainsTypeDependencyCycle Property
NDepend.CodeModel Namespace > INamespace Interface : ContainsTypeDependencyCycle Property
Gets a value indicating whether this namespace contains a dependency cycle between its ChildTypes. Gets null if this namespace is declared in a third-party assembly.
Syntax
Nullable<bool> ContainsTypeDependencyCycle {get;}
Remarks
The result of this property getter is lazy computed.
The first time it is called it has a O(this.ChildTypes.Count ^2) time complexity.
Further calls result in a constant time complexity.
Requirements

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

See Also

Reference

INamespace Interface
INamespace Members