PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Child­Info Class / Child­Info Properties / Child­Info.​Location­Name Property

ChildInfo.LocationName Property

Gets the name of the location to which the child is assigned.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 2023.0.3.0 (2023.0.3.0)
public string LocationName { get; }

Property Value

Type: String

This property should be only used to generate texts of error messages for developers (such as exceptions). It is not meant as a mechanism to uniquely identify the location (use DeclarationIdentifier for this purpose) or to generate messages for the end-user.

See Also