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

MessageLocation.StartLine Property

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

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: (
public int StartLine { get; }

Property Value

Type: Int32
See Also