Share via


ISymUnmanagedENCUpdate::UpdateMethodLines Method

Allows updating the line information for a method that has not been recompiled, but whose lines have moved independently. A delta for each statement is allowed.

HRESULT UpdateMethodLines(
    [in]  mdMethodDef  mdMethodToken,
    [in, size_is(cDeltas)] INT32*  pDeltas,
    [in]  ULONG        cDeltas);

Parameters

  • mdMethodToken
    [in] The metadata of the method token.

  • pDeltas
    [in] An array of INT32 values that indicates deltas for each sequence point in the method.

  • cDeltas
    [in] A ULONG containing the size of the pDeltas parameter.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl, CorSym.h

See Also

Reference

ISymUnmanagedENCUpdate Interface