public ResultsViewMembersValueNodeProvider(DbgDotNetValueNodeProviderFactory valueNodeProviderFactory, LanguageValueNodeFactory valueNodeFactory, DmdType enumerableType, DbgDotNetValue instanceValue, string expression, DbgValueNodeEvaluationOptions evalOptions)
     : base(valueNodeFactory, resultsViewName, expression + ", results", default, evalOptions)
 {
     this.valueNodeProviderFactory = valueNodeProviderFactory;
     this.enumerableType           = enumerableType;
     this.instanceValue            = instanceValue;
 }
Ejemplo n.º 2
0
        public ArrayValueNodeProvider(DbgDotNetValueNodeProviderFactory owner, bool addParens, DmdType slotType, DbgDotNetValueNodeInfo valueInfo)
        {
            this.owner     = owner;
            this.addParens = addParens;
            this.slotType  = slotType;
            this.valueInfo = valueInfo;

            bool b = valueInfo.Value.GetArrayInfo(out arrayCount, out dimensionInfos) && dimensionInfos.Length != 0;

            Debug.Assert(b);
            if (!b)
            {
                dimensionInfos = new[] { new DbgDotNetArrayDimensionInfo(0, arrayCount) }
            }
            ;
            if (dimensionInfos.Length > 1)
            {
                indexes = new int[dimensionInfos.Length];
            }
        }
Ejemplo n.º 3
0
 public StaticMembersValueNodeProvider(DbgDotNetValueNodeProviderFactory valueNodeProviderFactory, LanguageValueNodeFactory valueNodeFactory, DbgDotNetText name, string expression, MemberValueNodeInfoCollection membersCollection, DbgValueNodeEvaluationOptions evalOptions)
     : base(valueNodeFactory, name, expression, membersCollection, evalOptions)
 {
     this.valueNodeProviderFactory = valueNodeProviderFactory;
 }