NDepend.API Documentation
MethodsAssigningMe Property
NDepend.CodeModel Namespace > IField Interface : MethodsAssigningMe Property
Gets a sequence of methods that are assigning this field.
Syntax
IEnumerable<IMethod> MethodsAssigningMe {get;}
Remarks
For an instance field, constructor(s) of its class that assign the field are not counted. For a static field, the class constructor that assigns the field is not counted. This property getter has a O(this.MethodsUsingMe.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

IField Interface
IField Members
FieldsUsed Property
FieldsAssigned Property
FieldsReadButNotAssigned Property
AssignField Method
MethodsUsingMe 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