PostSharp 6.10 / / 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: (
public ConstructorDepth Increment()

Return Value

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