// Token: 0x06001EC9 RID: 7881 RVA: 0x00093BE4 File Offset: 0x00091DE4 internal BamlRecord CloneRecord(BamlRecord record) { BamlRecordType recordType = record.RecordType; BamlRecord bamlRecord; if (recordType != BamlRecordType.ElementStart) { if (recordType != BamlRecordType.PropertyCustom) { bamlRecord = this.AllocateRecord(record.RecordType); } else if (record is BamlPropertyCustomWriteInfoRecord) { bamlRecord = new BamlPropertyCustomWriteInfoRecord(); } else { bamlRecord = new BamlPropertyCustomRecord(); } } else if (record is BamlNamedElementStartRecord) { bamlRecord = new BamlNamedElementStartRecord(); } else { bamlRecord = new BamlElementStartRecord(); } record.Copy(bamlRecord); return(bamlRecord); }
// Token: 0x06001F9D RID: 8093 RVA: 0x000952C0 File Offset: 0x000934C0 internal override void Copy(BamlRecord record) { base.Copy(record); BamlPropertyCustomWriteInfoRecord bamlPropertyCustomWriteInfoRecord = (BamlPropertyCustomWriteInfoRecord)record; bamlPropertyCustomWriteInfoRecord._valueId = this._valueId; bamlPropertyCustomWriteInfoRecord._valueType = this._valueType; bamlPropertyCustomWriteInfoRecord._value = this._value; bamlPropertyCustomWriteInfoRecord._valueMemberName = this._valueMemberName; bamlPropertyCustomWriteInfoRecord._serializerType = this._serializerType; bamlPropertyCustomWriteInfoRecord._typeContext = this._typeContext; }
// Token: 0x06001ECA RID: 7882 RVA: 0x00093C48 File Offset: 0x00091E48 private BamlRecord AllocateWriteRecord(BamlRecordType recordType) { BamlRecord result; if (recordType == BamlRecordType.PropertyCustom) { result = new BamlPropertyCustomWriteInfoRecord(); } else { result = this.AllocateRecord(recordType); } return(result); }