int ICorDebugILFrame.EnumerateArguments(out ICorDebugValueEnum ppValueEnum) { #if ALL_VALUES ppValueEnum = new CorDebugEnum(this.Locals, typeof(ICorDebugValue), typeof(ICorDebugValueEnum)); return(Utility.COM_HResults.S_OK); #else ppValueEnum = null; return(Utility.COM_HResults.E_NOTIMPL); #endif }
private ClrValue[] GetValueList(ICorDebugValueEnum valueEnum) { uint count; valueEnum.GetCount(out count); ClrValue[] result = new ClrValue[count]; ICorDebugValue[] tmp = new ICorDebugValue[1]; uint fetched; int i = 0; while (i < result.Length && valueEnum.Next(1, tmp, out fetched) >= 0 && fetched == 1) { result[i] = new CorDebugValue(_runtime, tmp[0]); i++; } return(result); }
int ICorDebugILFrame.EnumerateArguments(out ICorDebugValueEnum ppValueEnum) { ppValueEnum = null; return(COM_HResults.E_NOTIMPL); }
int ICorDebugILFrame.EnumerateLocalVariables(out ICorDebugValueEnum ppValueEnum) { ppValueEnum = null; return(COM_HResults.E_NOTIMPL); }
int ICorDebugILFrame.EnumerateArguments( out ICorDebugValueEnum ppValueEnum ) { #if ALL_VALUES ppValueEnum = new CorDebugEnum(this.Locals, typeof(ICorDebugValue), typeof(ICorDebugValueEnum)); return Utility.COM_HResults.S_OK; #else ppValueEnum = null; return Utility.COM_HResults.E_NOTIMPL; #endif }