NDepend.API Documentation
FieldsUsed Property (IMethod)
NDepend.CodeModel Namespace > IMethod Interface : FieldsUsed Property
Gets a sequence of fields that this method is using. If this method is declared in a third-party assembly, gets an empty sequence.
Syntax
IEnumerable<IField> FieldsUsed {get;}
Remarks
This property getter has a O(this.FieldsUsed.Count) 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

IMethod Interface
IMethod Members
FieldsAssigned Property
FieldsReadButNotAssigned Property
AssignField Method
MethodsUsingMe Property
MethodsAssigningMe Property
MethodsReadingMeButNotAssigningMe Property
ThatAssignField Method
ThatAssignAnyFields Method
ThatIndirectlyAssignAnyFields Method
DepthOfAssignField Method
DepthOfAssignAnyFields Method
NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.AssignField(NDepend.CodeModel.IMethod,System.String)
IndirectlyAssignField Method
DepthOfAssignField Method