ISymUnmanagedWriter::SetMethodSourceRange Method
Specifies the true start and end of a method within a source file. Use this method to specify the extent of a method independently of the sequence points that exist within the method.
Syntax
HRESULT SetMethodSourceRange(
[in] ISymUnmanagedDocumentWriter *startDoc,
[in] ULONG32 startLine,
[in] ULONG32 startColumn,
[in] ISymUnmanagedDocumentWriter *endDoc,
[in] ULONG32 endLine,
[in] ULONG32 endColumn);
Parameters
startDoc
[in] A pointer to the document containing the starting position.
startLine
[in] The starting line number.
startColumn
[in] The starting column.
endDoc
[in] A pointer to the document containing the ending position.
endLine
[in] The ending line number.
endColumn
[in] The ending column number.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for