NDepend.API Documentation
IMethod Interface Members
Properties  Methods 

NDepend.CodeModel Namespace : IMethod Interface

The following tables list the members exposed by IMethod.

Public Properties
 NameDescription
 Property Gets a value indicating whether this method is explicitly accessign the this reference.  
 PropertyGets a value indicating whether this method assigns an instance field of its parent type  
 PropertyGets a value indicating whether this method assigns a static field of its parent type.  
 Property Gets a numeric nullable value measuring this method body complexity computed from source code.  
 Property Gets a sequence of fields that this method is assigning. If this method is declared in a third-party assembly, gets an empty sequence.  
 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.  
 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.  
 Property Gets a numeric nullable value measuring this method body complexity computed from IL code.  
 Property Gets a numeric nullable value measuring this method body maximum nesting scopes depth.  
 Property Gets a value indicating whether this method is an abstract method, or a method declared on an interface.  
 PropertyGets a value indicating whether this method is asynchronous, declared with the keyword async.  
 Property Gets a value indicating whether this method is a class constructor.  
 Property Gets a value indicating whether this method is an instance constructor.  
 Property Gets a value indicating whether this method is a default constructor. A default constructor is generated by the compiler on classes that don't have a constructor defined in source code.  
 Property Gets a value indicating whether this method is defined as the entry point.  
 Property Gets a value indicating whether this method is an event adder.  
 Property Gets a value indicating whether this method is an event remover.  
 Property Gets a value indicating whether this method is an explicit interface method implementation.  
 Property Gets a value indicating whether this method is an extension method.  
 PropertyGets a value indicating whether this method is declared with the sealed keyword in C#, NotOverridable keyword in VB.NET.  
 Property Gets a value indicating whether this method is a finalizer.  
 Property Gets a value indicating whether this method is a generic method.  
 Property Gets a value indicating whether this method is an indexer getter.  
 Property Gets a value indicating whether this method is an indexer setter.  
 Property Gets a value indicating whether this method has a new slot in the type's method table.  
 Property Gets a value indicating whether this method is an operator implementation method.  
 PropertyGets a value indicating whether this method one of several methods the same ICodeElement.SimpleName  
 PropertyGets a value indicating whether this method is tagged with the System.Runtime.InteropServices.DllImportAttribute attribute.  
 Property Gets a value indicating whether this method is a property setter.  
 PropertyGets a value indicating whether this method is a property initializer defined with the C# keyword init.  
 Property Gets a value indicating whether this method is a property getter.  
 PropertyGets a value indicating whether this method IL body is using the box IL instruction.  
 PropertyGets a value indicating whether this method contains unsafe code that is using pinning.  
 PropertyGets a value indicating whether this method contains unsafe code that is using some pointers.  
 PropertyGets a value indicating whether this method IL body is using the unbox IL instruction.  
 Property Gets a value indicating whether this method is declared as virtual.  
 Property Gets a sequence of fields, methods properties and events that this method is using and calling. If this method is declared in a third-party assembly, gets an empty sequence.  
 Property Gets a sequence of methods that this method is calling. If this method is declared in a third-party assembly, gets an empty sequence.  
 Property Gets a sequence of methods that are calling this method.  
 Property Gets the number of methods this method is calling. Gets null if this method is declared in a third-party assembly.  
 Property Gets the number of methods that call this method.  
 Property Gets the number of overloads of this method or this constructor. Gets 1 if this method is not overloaded. Gets null if this method is declared in a third-party assembly.  
 PropertyGets the number of parameters of a method. ref and out parameters are also counted. The this reference passed to instance methods in IL is not counted as a parameter.  
 Property Gets the number of variables declared in the body of this method. Gets null if this methods is abstract or if it is declared in a third-party assembly.  
 PropertyGets a sequence of methods declared in this method IMember.ParentType.IType.MethodsAndConstructors, sharing the same ICodeElement.SimpleName with this method. The sequence returned doesn't contain this method.  
 PropertyGets a sequence of methods declared in this method IMember.ParentType.IType.BaseClasses and IType.InterfacesImplemented, overridden by this method. If this method doesn't override any method, gets an empty sequence.  
 PropertyGets a sequence of methods declared in this method IMember.ParentType.IType.DerivedTypes, overriding this method. If this method is not overridden, gets an empty sequence.  
 PropertyGets a sequence of methods declared in this method IMember.ParentType.IType.DirectDerivedTypes, overriding this method. If this method is not overridden, gets an empty sequence.  
 PropertyIf this method is an event add or remove accessor, returns the parent IEvent object, else returns null.  
 PropertyIf this method is a property getter or setter, or an indexer getter or setter, returns the parent IProperty object, else returns null.  
 Property Gets a numeric nullable value measuring the percentage of branch coverage by tests for this method.  
 PropertyGets a numeric nullable value assessing this method rank, computed by the original Google Parge Rank algorithm.  
 PropertyGets a value indicating whether this method reads an instance field with a true value for IField.IField.IsImmutable  
 PropertyGets a value indicating whether this method reads a static field with a true value for IField.IField.IsImmutable  
 PropertyGets a value indicating whether this method reads an instance field with a false value for IField.IField.IsImmutable  
 PropertyGets a value indicating whether this method reads a static field with a false value for IField.IField.IsImmutable  
 PropertyGets the return type of this method. Gets null if the return type of this method is not in the scope of assemblies analyzed defined by NDepend.Project.IProject.NDepend.Project.IProject.CodeToAnalyze.  
Top
Public Methods
 NameDescription
 MethodGets a value indicating whether this method is assigning the field fieldAssigned.  
 MethodGets a value indicating whether this method is calling a constructor of the type typeCreated.  
Top
Extension Methods
 NameDescription
Public Extension MethodGets the summed annual-interest of all issues relative to codeElement, and relative to all its children code elements, defined by codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren, if codeElement is a NDepend.CodeModel.ICodeElementParent.
Public Extension MethodGets NewerIssuesSet.NDepend.Issue.IIssuesSet.AllAnnualInterestIn of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, minus OlderIssuesSet.NDepend.Issue.IIssuesSet.AllAnnualInterestIn of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Public Extension MethodGets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.AnnualInterestPercent(AllDebt,AllAnnualInterest).
Public Extension MethodGets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.AnnualInterestPercent(AllDebtDiff,AllAnnualInterestDiff).
Public Extension MethodGets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.BreakingPoint(AllDebt,AllAnnualInterest).
Public Extension MethodGets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.BreakingPoint(AllDebtDiff,AllAnnualInterestDiff).
Public Extension MethodGets the summed debt of all issues relative to codeElement, and relative to all its children code elements, defined by codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren, if codeElement is a NDepend.CodeModel.ICodeElementParent.
Public Extension MethodGets NewerIssuesSet.NDepend.Issue.IIssuesSet.AllDebtIn of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, minus OlderIssuesSet.NDepend.Issue.IIssuesSet.AllDebtIn of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Public Extension MethodGets all issues relative to codeElement, and relative to all its child code elements, defined by codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren, if codeElement is a NDepend.CodeModel.ICodeElementParent.
Public Extension MethodGets the count of all issues relative to codeElement, and relative to all its children code elements, defined by codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren, if codeElement is a NDepend.CodeModel.ICodeElementParent.
Public Extension MethodOverloaded. Gets the summed annual-interest of all issues of rule.
Public Extension MethodOverloaded. Gets NewerIssuesSet.NDepend.Issue.IIssuesSet.AnnualInterest of NewerVersion(IRule) of rule, minus OlderIssuesSet.NDepend.Issue.IIssuesSet.AnnualInterest of OlderVersion(IRule) of rule.
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.AnnualInterestPercent(Debt(IRule),AnnualInterest(IRule)).
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.AnnualInterestPercent(DebtDiff(IRule),AnnualInterestDiff(IRule)).
Public Extension MethodReturns true if method is assigning a field whose NDepend.CodeModel.ICodeElement.FullName is assignedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the property getter NDepend.CodeModel.IMethod.NDepend.CodeModel.IMethod.AssignField must be used instead.
Public Extension MethodReturns true if this member is not tagged with System.ObsoleteAttribute in the older version of the code base, but is tagged as obsolete in the newer version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.BecameObsolete must be called instead.
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.BreakingPoint(Debt(IRule),AnnualInterest(IRule)).
Public Extension MethodOverloaded. Gets NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.NDepend.TechnicalDebt.ExtensionMethodsDebtUsableInCQLinq.BreakingPoint(DebtDiff(IRule),AnnualInterestDiff(IRule)).
Public Extension MethodReturns true if the code of this codeContainer object, has been modified. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.CodeWasChanged must be called instead.
Public Extension MethodReturns true if comments of this codeContainer object, have been modified. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.CommentsWereChanged must be called instead.
Public Extension MethodReturns the estimated cost, to reach a better rating, based on the fact that codeElement has actually a total debt estimated to AllDebt(codeElement).
Public Extension MethodReturns the estimated effort to reach ratingToReach, based on the fact that codeElement has actually a total debt estimated to AllDebt(codeElement).
Public Extension MethodReturns true if method is calling a constructor of a type, whose NDepend.CodeModel.ICodeElement.FullName is createdTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IMethod.NDepend.CodeModel.IMethod.CreateA must be used instead.
Public Extension MethodOverloaded. Gets the summed debt of all issues of rule.
Public Extension MethodOverloaded. Gets NewerIssuesSet.NDepend.Issue.IIssuesSet.Debt of NewerVersion(IRule) of rule, minus OlderIssuesSet.NDepend.Issue.IIssuesSet.Debt of OlderVersion(IRule) of rule.
Public Extension MethodGets the debt rating of codeElement in the range NDepend.TechnicalDebt.DebtRating.A (very good) to NDepend.TechnicalDebt.DebtRating.E (very bad).
Public Extension MethodGets a value that indicates if codeElement.NDepend.Issue.IIssuesSet.DebtRating is different for NDepend.CodeModel.ICompareContext.NewerVersion<T> and NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Public Extension MethodGets a value that indicates if codeElement.NDepend.Issue.IIssuesSet.DebtRating is better for NDepend.CodeModel.ICompareContext.NewerVersion<T> than for NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Public Extension MethodGets a value that indicates if codeElement.NDepend.Issue.IIssuesSet.DebtRating is better for NDepend.CodeModel.ICompareContext.OlderVersion<T> than for NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement.
Public Extension MethodEstimate the ratio of technical debt, measured through AllDebt(codeElement). This ratio is expressed in percentage, of estimated debt, compared to the estimated time it would take to rewrite codeElement from scratch.
Public Extension MethodGets NewerIssuesSet.NDepend.Issue.IIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, minus OlderIssuesSet.NDepend.Issue.IIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Public Extension MethodReturns a non-null depth value, if method is assigning, directly or indirectly, a field whose NDepend.CodeModel.ICodeElement.FullName is assignedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfAssignAnyFields must be used instead.
Public Extension MethodReturns a non-null depth value, if method is creating, directly or indirectly, an instance of a type, whose NDepend.CodeModel.ICodeElement.FullName is createdTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfCreateAny must be used instead.
Public Extension MethodReturns a non-null depth of usage value, if usedCodeElement is directly or indirectly used by a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is userCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfIsUsedByAny<TUsed,TUser> must be called instead.
Public Extension MethodReturns a non-null depth of usage value, if userCodeElement is directly or indirectly using a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is usedCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfIsUsingAny<TUser,TUsed> must be called instead.
Public Extension MethodEvaluate the total time to develop codeElement based on codeElement.NDepend.CodeModel.ExtensionMethodsHelpers.GetNbLinesOfCode_GuaranteedIfPDBFound, by applying a linear coefficent inferred from the project NDepend.TechnicalDebt.DebtSettings settings: NDepend.TechnicalDebt.DebtSettings.EstimatedNumberOfManDayToDevelop1000LogicalLinesOfCode and NDepend.TechnicalDebt.DebtSettings.NumberOfWorkHourPerDay.
Public Extension MethodReturns true if this codeElement.NDepend.CodeModel.ICodeElement.FullName string matches the regular expression regexString. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsNaming.NDepend.CodeModel.ExtensionMethodsNaming.WithFullNameLike<TCodeElement> must be called instead.
Public Extension MethodGet the image that represents the codeElement.
Public Extension MethodTry gets a number of lines of code for an application codeElement. This value is guaranteed not being zero if the code element is in an assembly for which PDB file has been found and parsed.
Public Extension MethodGets a value indicating whether the codeElement has annual-interest or not.
Public Extension MethodReturns true if this attributeTargetCodeElement is directly tagged by a attribute class whose NDepend.CodeModel.ICodeElement.FullName is attributeTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IAttributeTarget.NDepend.CodeModel.IAttributeTarget.HasAttribute must be called instead.
Public Extension MethodGets a value indicating whether the codeElement has debt or not.
Public Extension MethodGets a value indicating whether the codeElement has issues or not.
Public Extension MethodReturns true if method is assigning, directly or indirectly, a field whose NDepend.CodeModel.ICodeElement.FullName is assignedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.ThatIndirectlyAssignAnyFields must be used instead.
Public Extension MethodReturns true if method is calling, directly or indirectly, a constructor of a type, whose NDepend.CodeModel.ICodeElement.FullName is createdTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.ThatIndirectlyCreateAny must be used instead.
Public Extension MethodReturns true if usedCodeElement is, directly or indirectly, used by a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is userCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.IndirectlyUsedByAny<TUsed,TUser> must be called instead.
Public Extension MethodReturns true if userCodeElement is, directly or indirectly, using a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is usedCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.IndirectlyUsingAny<TUser,TUsed> must be called instead.
Public Extension MethodReturns true if this codeElement object is in the newer version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.IsInNewerBuild must be called instead.
Public Extension MethodReturns true if this codeElement object is in the older version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsInOlderBuild must be called instead.
Public Extension MethodReturns true if this codeElement object is in a third-party assembly (or is a third-party assembly itself), and if it is used by the older version of the code base, but not by the newer version. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsNotUsedAnymore must be called instead.
Public Extension MethodReturns true if this codeElement object is both in the newer and older versions of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsPresentInBothBuilds must be called instead.
Public Extension MethodOverloaded. Gets all issues of rule.
Public Extension MethodOverloaded. Gets all issues of rule that have no equivalent in OlderIssuesSet. These issues are considered as added.
Public Extension MethodOverloaded. Gets all issues of rule that have no equivalent in NewerIssuesSet. These issues are considered as fixed.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is userCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedBy must be called instead.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.IAssembly whose NDepend.CodeModel.ICodeElement.Name is userAssemblyName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByAssembly must be called instead.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.IEvent whose NDepend.CodeModel.ICodeElement.FullName is userEventFullName. This event can only be called in a ICQLinqExecutionContext, otherwise the event NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByEvent must be called instead.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.IMethod whose NDepend.CodeModel.ICodeElement.FullName is userMethodFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByMethod must be called instead.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.INamespace whose NDepend.CodeModel.ICodeElement.Name is userNamespaceName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByNamespace must be called instead.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.IProperty whose NDepend.CodeModel.ICodeElement.FullName is userPropertyFullName. This property can only be called in a ICQLinqExecutionContext, otherwise the property NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByProperty must be called instead.
Public Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.IType whose NDepend.CodeModel.ICodeElement.FullName is userTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByType must be called instead.
Public Extension MethodReturns true if this codeElement object is in a third-party assembly (or is a third-party assembly itself), and if it is used by the newer version of the code base, but not by the older version. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsUsedRecently must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is usedCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsing must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.IAssembly whose NDepend.CodeModel.ICodeElement.Name is usedAssemblyName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingAssembly must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.IEvent whose NDepend.CodeModel.ICodeElement.FullName is usedEventFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingEvent must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.IField whose NDepend.CodeModel.ICodeElement.FullName is usedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingField must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.IMethod whose NDepend.CodeModel.ICodeElement.FullName is usedMethodFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingMethod must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.INamespace whose NDepend.CodeModel.ICodeElement.Name is usedNamespaceName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingNamespace must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.IProperty whose NDepend.CodeModel.ICodeElement.FullName is usedPropertyFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingProperty must be called instead.
Public Extension MethodReturns true if this userCodeElement is directly using a NDepend.CodeModel.IType whose NDepend.CodeModel.ICodeElement.FullName is usedTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingType must be called instead.
Public Extension MethodReturns true if this codeElement.NDepend.CodeModel.ICodeElement.Name string matches the regular expression regexString. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsNaming.NDepend.CodeModel.ExtensionMethodsNaming.WithNameLike<TCodeElement> must be called instead.
Public Extension MethodReturns true if method has a return value of a type whose NDepend.CodeModel.ICodeElement.FullName is returnTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the property getter NDepend.CodeModel.IMethod.NDepend.CodeModel.IMethod.ReturnType must be used instead.
Public Extension MethodReturns true if this codeElement.NDepend.CodeModel.ICodeElement.SimpleName string matches the regular expression regexString. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsNaming.NDepend.CodeModel.ExtensionMethodsNaming.WithFullNameLike<TCodeElement> must be called instead.
Public Extension MethodOpens with a textual files compare/diff tool, the older and newer source versions of codeElement.
Public Extension MethodOverloaded. Opens the source file containing the declaration of this ICodeElement, and points to the declaration line.
Public Extension MethodReturns true if the visibility of this member has been changed. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.VisibilityWasChanged must be called instead.
Public Extension MethodReturns true if this codeElement object has been added and thus, is not present in the older version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.WasAdded must be called instead.
Public Extension MethodReturns true if this codeElement object was changed in any way (code change, comment change, visibility change...). This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.WasChanged must be called instead.
Public Extension MethodReturns true if this codeElement object has been removed and thus, is not present in the newer version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.WasRemoved must be called instead.
Top
See Also

Reference

IMethod Interface
NDepend.CodeModel Namespace