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 SourceLineInfo.

Properties

Name Description
Column

Gets the column in File.

File

Gets the path to the source code file.

IsNull

Determines whether the current SourceLineInfo is null.

Line

Gets the line in File.