public NativeType(NativeHeap heap, NativeModule module, string name, ulong eeType, Desktop.IMethodTableData mtData) { _heap = heap; _module = module; _name = name; _eeType = eeType; if (mtData != null) { _baseSize = mtData.BaseSize; _componentSize = mtData.ComponentSize; _containsPointers = mtData.ContainsPointers; } }
public NativeType(NativeHeap heap, int index, NativeModule module, string name, ulong eeType, Desktop.IMethodTableData mtData) { _heap = heap; _module = module; _name = name; _eeType = eeType; _index = index; _gcDesc = new Lazy <GCDesc>(FillGCDesc); if (mtData != null) { _baseSize = mtData.BaseSize; _componentSize = mtData.ComponentSize; _containsPointers = mtData.ContainsPointers; } }