NDepend.API Documentation
IType Interface Properties

NDepend.CodeModel Namespace : IType Interface

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

Public Properties
 NameDescription
 PropertyGets the Association Between Classes for this type, computed as the number of members of others types it directly uses in the body of its child methods.  
 PropertyGets the IType object representing the base class of this class, if any, otherwise gets null.  
 Property Gets a sequence of all base classes of this class. The sequence is empty if this type doesn't have any base class.  
 PropertyGets the IMethod object representing this class constructor, if any, otherwise gets null.  
 Property Gets a sequence of constructors of this type. The sequence doesn't contain class constructor.  
 PropertyGets a value indicating whether this type contains a dependency cycle between its MethodsAndConstructors. Gets null if this type is declared in a third-party assembly.  
 Property Gets a numeric nullable value measuring this type child methods additive source code complexity.  
 Property Gets a numeric nullable value measuring this type's depth of inheritance.  
 Property Gets a sequence of all types derived from this type. The sequence is empty if this type has no derived type.  
 Property Gets a sequence of types that derives directly from this type. The sequence is empty if this type has no derived type.  
 Property Gets a sequence of types nested in this type. The sequence doesn't contain types nested in types nested in this type.  
 Property Gets a sequence of events of this type.  
 Property Gets a sequence of fields of this type.  
 Property Gets a value indicating whether this type contains a finalizer method.  
 Property Gets a numeric nullable value measuring this type child methods additive IL code complexity.  
 Property Gets a sequence of non-static fields of this type.  
 PropertyGets a sequence of non-static members of this type. The sequence contains non-static constructors, non-static methods and non-static fields, but doesn't contain nested types. See DirectNestedTypes and NestedTypes.  
 Property Gets a sequence of non-static methods of this type. The sequence doesn't contain non-static constructors but contain non-static properties getters and setters, and non-static events adders and removers.  
 Property Gets a sequence of non-static methods and constructors of this type. The sequence also contains non-static properties getters and setters, and non-static events adders and removers.  
 Property Gets a sequence of non-static methods and constructors of this type. The sequence also contains non-static properties getters and setters, and non-static events adders and removers.  
 Property Gets a sequence of interfaces implemented by this type. The sequence returned is empty if this type doesn't implement any interface.  
 Property Gets a value indicating whether this type is an abstract class or an interface.  
 PropertyGets a value indicating whether this type is an attribute class, deriving from System.Attribute.  
 Property Gets a value indicating whether this type is a class.  
 PropertyGets a value indicating whether this type is a delegate class, deriving from System.MulticastDelegate.  
 Property Gets a value indicating whether this type is an enumeration.  
 PropertyGets a value indicating whether this type is an exception class, deriving from System.Exception.  
 Property Gets a value indicating whether this type is a generic type.  
 PropertyGets a value indicating whether this type is immutable. A type is considered as immutable if its instance fields cannot be modified once an instance has been built by a constructor.  
 Property Gets a value indicating whether this type is an interface.  
 Property Gets a value indicating whether this type is nested in a parent type.  
 PropertyGets a value indicating whether this type is declared with the C# keyword readonly.  
 PropertyGets a value indicating whether this type is a record class, defined with the C# keyword record.  
 PropertyGets a value indicating whether this class is declared with the sealed keyword in C#, NotInheritable keyword in VB.NET.  
 Property Gets a value indicating whether this type is serializable.  
 Property Gets a value indicating whether this type is a structure.  
 PropertyReturns a value indicating if this type is defined through the attribute System.Runtime.CompilerServices.TypeForwardedToAttribute.  
 Property Gets a value indicating whether this type is used from an attribute tagging an assembly.  
 PropertyGets a value indicating whether this type contains at least a method with an IL body that uses the box IL instruction.  
 PropertyGets a value indicating whether this type contains at least a method that contains unsafe code that is using pinning.  
 PropertyGets a value indicating whether this type contains at least a method that contains unsafe code that is using some pointers.  
 PropertyGets a value indicating whether this type contains at least a method with an IL body that uses the unbox IL instruction.  
 PropertyGets a value indicating whether this type is declared with the C# keyword file.  
 PropertyGets a numeric nullable value assessing the class members cohesion, through the standard Lack of Cohesion Of Methods code metric.  
 PropertyGets a numeric nullable value assessing the class members cohesion, through the standard Lack of Cohesion Of Methods Henderson-Sellers code metric.  
 PropertyGets a sequence of members of this type. The sequence contains constructors, methods and fields, but doesn't contain nested types. See DirectNestedTypes and NestedTypes.  
 Property Gets a sequence of methods of this type. The sequence doesn't contain constructors nor class constructors but contain properties getters and setters, and events adders and removers.  
 Property Gets a sequence of methods and constructors of this type. The sequence also contains properties getters and setters, and events adders and removers.  
 Property Gets a sequence of methods and constructors of this type. The sequence also contains properties getters and setters, and events adders and removers.  
 Property Gets a numeric nullable value counting this class's number of derived classes, or this interface number of implementer types.  
 Property Gets a numeric value counting this class's number of implemented interfaces, or this interface number of extended interfaces.  
 Property Gets the number of types this type is using. Gets null if this type is declared in a third-party assembly.  
 Property Gets the number of types that use this type.  
 Property Gets a sequence of types nested in this type, or nested in a type nested in this type (recursive).  
 Property Gets a sequence of parent type(s) in which this type is nested.  
 Property Gets a sequence of properties of this type.  
 PropertyGets a numeric nullable value assessing this type rank, computed by the original Google Parge Rank algorithm.  
 Property Gets a numeric nullable value measuring this type's instance object footprint, measured in bytes.  
 Property Gets a sequence of static fields of this type.  
 PropertyGets a sequence of static members of this type. The sequence contains the class constructor (if any), static methods and fields, but doesn't contain nested types. See DirectNestedTypes and NestedTypes.  
 Property Gets a sequence of static methods of this type. The sequence doesn't contain the class constructor (if any) but contain static properties getters and setters, and static events adders and removers.  
 PropertyIf this type is defined through the attribute System.Runtime.CompilerServices.TypeForwardedToAttribute, returns the name of the assembly that contains the declaration of this type. Else returns null.  
 Property If this type is an interface, gets a sequence of types implementing this interface, otherwise gets an empty sequence.  
 Property Gets a sequence of types that this type is using. If this type is declared in a third-party assembly, gets an empty sequence.  
 Property Gets a sequence of types that are using this type.  
Top
See Also

Reference

IType Interface
NDepend.CodeModel Namespace