PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsSource­Line­Info
Open sandboxFocus

SourceLineInfo Class

Represents a position in a file of source code.

Inheritance
SourceLineInfo
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class SourceLineInfo : ValueType

Constructors

Name Description
SourceLineInfo(String, Int32, Int32)

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.