PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Source­Line­Info Structure

SourceLineInfo Structure

Represents a position in a file of source code.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public readonly struct SourceLineInfo

The SourceLineInfo type exposes the following members.

Constructors
  NameDescription
Public methodSourceLineInfo
Initializes a new SourceLineInfo.
Properties
  NameDescription
Public propertyColumn
Gets the column in File.
Public propertyFile
Gets the path to the source code file.
Public propertyIsNull
Determines whether the current SourceLineInfo is null.
Public propertyLine
Gets the line in File.
See Also