コード例 #1
0
ファイル: ChildEvaluator.cs プロジェクト: zpublic/vs-chromium
        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();
            }
        }