Ejemplo n.º 1
0
        private void CreateDefaultEnumContext()
        {
            if (defEnumContext_ != null)
            {
                return;
            }

            string name     = null;
            string fullName = null;

            Utility.GetExpressionName(expression_, out name, out fullName);
            DkmEvaluationResult defaultEvaluationResult = CppExpressionEvaluator.Evaluate(expression_, fullName + ",!");

            DkmEvaluationResult[] defInitialChildren;
            expression_.GetChildrenCallback(defaultEvaluationResult, 0, expression_.InspectionContext, out defInitialChildren, out defEnumContext_);

            foreach (DkmEvaluationResult evalResult in defInitialChildren)
            {
                evalResult.Close();
            }
        }