public ClrInstanceFieldDecorator(ClrInstanceField clrInstanceField, ThreadDispatcher threadDispatcher, IClrHeapDecorator heap) { _clrInstanceField = clrInstanceField; _threadDispatcher = threadDispatcher; _threadDispatcher.Process(() => { Name = _clrInstanceField.Name; HasSimpleValue = _clrInstanceField.HasSimpleValue; Type = new ClrTypeDecorator(heap, _threadDispatcher, _clrInstanceField.Type); IsObjectAndNotString = _clrInstanceField.IsObjectReference() &&_clrInstanceField.ElementType != ClrElementType.String; }); }
public ClrTypeDecorator(IClrHeapDecorator clrHeapDecorator, ThreadDispatcher threadDispatcher, ClrType clrType) { _clrHeapDecorator = clrHeapDecorator; _threadDispatcher = threadDispatcher; _clrType = clrType; }