NDepend.API Documentation
FieldsReadButNotAssigned Property
NDepend.CodeModel Namespace > IMethod Interface : FieldsReadButNotAssigned Property
Gets a sequence of fields that this method is reading but not assigning. If this method is declared in a third-party assembly, gets an empty sequence.
Syntax
IEnumerable<IField> FieldsReadButNotAssigned {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
FieldsUsed Property
FieldsAssigned 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