MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIDeclarationDepth
Open sandboxFocus

Property Depth


Gets the depth of the current declaration in the code model. The value of the Depth property has no absolute meaning, only a relative one, i.e. it is only relevant when comparing the depth of two declarations. A declaration has always a greater depth than the declaration in which it is contained. A type has always a greater depths than the base it derives from or the interfaces it implements.

int Depth { get; }
Property Value
Type Description