PostSharp 6.5 / / 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: 6.5.16.0 (6.5.16.0)
Syntax
C#
public int StartLine { get; }

Property Value

Type: Int32
See Also