NDepend.API Documentation
IMethod Interface Properties

NDepend.CodeModel Namespace : IMethod Interface

For a list of all members of this type, see IMethod members.

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
See Also

Reference

IMethod Interface
NDepend.CodeModel Namespace