public RuntimeValue GetLocalVariableValue(uint index) { if (IsIL) { ICorDebugValue value; ComILFrame.GetLocalVariable(index, out value); return(new RuntimeValue(Session, value)); } throw new ArgumentException("Can only get variable value from an IL frame."); }
public uint GetILOffset(out CorDebugMappingResult result) { result = CorDebugMappingResult.MAPPING_NO_INFO; if (IsIL) { uint offset; ComILFrame.GetIP(out offset, out result); return(offset); } throw new InvalidOperationException("Can only get IL offset from an IL frame."); }