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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a DebugInfoExpression with the specified span.

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

Public Shared Function DebugInfo (
	document As SymbolDocumentInfo,
	startLine As Integer,
	startColumn As Integer,
	endLine As Integer,
	endColumn As Integer
) As DebugInfoExpression

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: