Example #1
0
        /** get the value object for the given global variable. */
        public CorValue GetGlobalVariableValue(int fieldToken)
        {
            ICorDebugValue v = null;

            m_module.GetGlobalVariableValue((uint)fieldToken, out v);
            return(new CorValue(v));
        }
Example #2
0
        /** get the value object for the given global variable. */
        public Value GetGlobalVariableValue(int fieldDef)
        {
            ICorDebugValue v = null;

            m_mod.GetGlobalVariableValue((uint)fieldDef, out v);
            return(new Value(v));
        }