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, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

INamespace Interface
INamespace Members