Expression.DebugInfo Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a DebugInfoExpression with the specified span.
Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Syntax
'Declaration
Public Shared Function DebugInfo ( _
document As SymbolDocumentInfo, _
startLine As Integer, _
startColumn As Integer, _
endLine As Integer, _
endColumn As Integer _
) As DebugInfoExpression
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.
Return Value
Type: System.Linq.Expressions.DebugInfoExpression
An instance of DebugInfoExpression.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.