PostSharp 2023.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: 2023.0.3.0 (2023.0.3.0)
public ConstructorDepth Increment()

Return Value

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