Export (0) Print
Expand All
Expand Minimize

Expression.DebugInfo Method

Creates a DebugInfoExpression with the specified span.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public static DebugInfoExpression DebugInfo(
	SymbolDocumentInfo document,
	int startLine,
	int startColumn,
	int endLine,
	int endColumn
)

Parameters

document
Type: System.Linq.Expressions.SymbolDocumentInfo
The SymbolDocumentInfo that represents the source file.
startLine
Type: System.Int32
The start line of this DebugInfoExpression. Must be greater than 0.
startColumn
Type: System.Int32
The start column of this DebugInfoExpression. Must be greater than 0.
endLine
Type: System.Int32
The end line of this DebugInfoExpression. Must be greater or equal than the start line.
endColumn
Type: System.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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft