Expression.DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) Method

Definition

Creates a DebugInfoExpression with the specified span.

public:
 static System::Linq::Expressions::DebugInfoExpression ^ DebugInfo(System::Linq::Expressions::SymbolDocumentInfo ^ document, int startLine, int startColumn, int endLine, int endColumn);
public static System.Linq.Expressions.DebugInfoExpression DebugInfo (System.Linq.Expressions.SymbolDocumentInfo document, int startLine, int startColumn, int endLine, int endColumn);
static member DebugInfo : System.Linq.Expressions.SymbolDocumentInfo * int * int * int * int -> System.Linq.Expressions.DebugInfoExpression
Public Shared Function DebugInfo (document As SymbolDocumentInfo, startLine As Integer, startColumn As Integer, endLine As Integer, endColumn As Integer) As DebugInfoExpression

Parameters

document
SymbolDocumentInfo

The SymbolDocumentInfo that represents the source file.

startLine
Int32

The start line of this DebugInfoExpression. Must be greater than 0.

startColumn
Int32

The start column of this DebugInfoExpression. Must be greater than 0.

endLine
Int32

The end line of this DebugInfoExpression. Must be greater or equal than the start line.

endColumn
Int32

The end column of this DebugInfoExpression. If the end line is the same as the start line, it must be greater or equal than the start column. In any case, must be greater than 0.

Returns

An instance of DebugInfoExpression.

Applies to