ISymUnmanagedWriter5::MapTokenToSourceSpan Method

Maps the given metadata token to the given source line span in the specified source file.

Must be called between calls to OpenMapTokensToSourceSpans Method and CloseMapTokensToSourceSpans Method.

Syntax

HRESULT MapTokenToSourceSpan(    [in] mdToken token,    [in] ISymUnmanagedDocumentWriter* document,    [in] ULONG32 line,    [in] ULONG32 column,    [in] ULONG32 endLine,    [in] ULONG32 endColumn);  

Parameters

Parameter Description
token
document
line
column
endLine
endColumn

Return Value

Returns HRESULT.

Requirements

Header: CorSym.idl, CorSym.h

See also