Open sandboxFocus

Struct SourceLineInfo

Represents a position in a file of source code.

Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Common.dll
Syntax
public readonly struct SourceLineInfo

Constructors

Name Description
SourceLineInfo(string, int, int)

Initializes a new instance of the SourceLineInfo struct.

Properties

Name Description
Column

Gets the column in File.

File

Gets the path to the source code file.

IsNull

Gets a value indicating whether the current SourceLineInfo is null.

Line

Gets the line in File.