PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Caller­Info Structure / Caller­Info Properties / Caller­Info.​Method­Name Property

CallerInfo.MethodName Property

Gets the name of the caller method.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public string MethodName { get; }

Property Value

Type: String
See Also