NDepend.API Documentation
ChildFields Property
NDepend.CodeModel Namespace > ICodeElementParent Interface : ChildFields Property
Gets a sequence of fields declared in this namespace. If this code element is declared in (or is) a third-party assembly, gets only fields used by the application.
Syntax
IEnumerable<IField> ChildFields {get;}
Remarks
The result includes instance and static fields, and enumeration values and literal constant fields.
This property getter has a O(this.ChildFields.Count) time complexity. If this is a ICodeBase, return the same sequence as ICodeBaseView.ICodeBaseView.Fields.
Requirements

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

See Also

Reference

ICodeElementParent Interface
ICodeElementParent Members