PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message Class / Message Properties / Message.​Location­Start­Line Property
Message.LocationStartLine Property

Note: This API is now obsolete.

Gets the start line in the file that caused the message.
An integer greater or equal to 1, or NotAvailable if the line is unknown or does not apply.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: (
[ObsoleteAttribute("Use the Location property.")]
public int LocationStartLine { get; }

Property Value

Type: Int32
See Also