NDepend.API Documentation
NestedTypes Property
NDepend.CodeModel Namespace > IType Interface : NestedTypes Property
Gets a sequence of types nested in this type, or nested in a type nested in this type (recursive).
Syntax
IEnumerable<IType> NestedTypes {get;}
Remarks
This property getter has a O(this.TypesUsed.Count) time complexity.
Notice that for third-party nested types, the property IType.IsNested is set to true, but the parent/nested relation is not resolved. Hence for third-party types, an empty sequence is returned by this property.
Requirements

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

See Also

Reference

IType Interface
IType Members
DirectNestedTypes Property