Exemple #1
0
        private object GetSimpleValueImpl(ulong address, ClrType type)
        {
            if (SimpleValueHelper.IsSimpleValue(type))
            {
                var value = SimpleValueHelper.GetSimpleValue(address, type, false);
                return(value);
            }

            return(address);
        }
Exemple #2
0
        public override void Init()
        {
            if (ClrDumpObject == null)
            {
                return;
            }

            mainFieldValues = FieldValueInformation.GetChildren(ClrDumpObject);
            SimpleValue     = ClrDump.Eval(() =>
            {
                return(SimpleValueHelper.IsSimpleValue(ClrDumpObject.ClrType)
                    ? SimpleValueHelper.GetSimpleValue(ClrDumpObject.Address, ClrDumpObject.ClrType)
                    : null);
            });
        }
Exemple #3
0
 private static object GetSimpleValueImpl(ulong address, ClrType type) => SimpleValueHelper.IsSimpleValue(type) ? SimpleValueHelper.GetSimpleValue(address, type, false) : address;