PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Constructor­Depth Structure / Constructor­Depth Methods / Constructor­Depth.​Increment Method

ConstructorDepth.Increment Method

Creates a new instance of the ConstructorDepth type with a depth level that is one more than the current one.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public ConstructorDepth Increment()

Return Value

Type: ConstructorDepth
A new ConstructorDepth, incremented of one from the current ConstructorDepth.
See Also