NDepend.API Documentation
AssignField Method (IMethod)
NDepend.CodeModel Namespace > IMethod Interface : AssignField Method
The field object.
Gets a value indicating whether this method is assigning the field fieldAssigned.
Syntax
bool AssignField( 
   IField fieldAssigned
)

Parameters

fieldAssigned
The field object.
Remarks
This method has a O(fieldAssigned.MethodsAssigningMe.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
FieldsReadButNotAssigned Property
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