PostSharp 4.3 / / 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public ConstructorDepth Increment()

Return Value

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