public override void LoadCache() { _reference = Reference; }
public FieldPtr(FieldDefinition reference) : base(new MetaDataRow(reference.TableIndex)) { this._reference = reference; }
public override void ClearCache() { _reference = null; }
public override void ClearCache() { field = null; }
public override void LoadCache() { _field = Field; }
public FieldRVA(FieldDefinition field, uint rva) : base(new MetaDataRow(rva, field.TableIndex)) { this._field = field; }
private void UpdateFieldDef(Workspace workspace, FieldDefinition fieldDef) { fieldDef.MetaDataRow.Parts[1] = GetStringIndex(workspace, fieldDef.Name); // TODO: serialize blob. }
public FieldLayout(FieldDefinition field, uint offset) : base(new MetaDataRow(offset, field.TableIndex)) { this._field = field; }