public void RemoveOperation(DwarfOperation operation) { if (operation == null) { throw new ArgumentNullException(nameof(operation)); } _operations.Remove(this, operation); }
protected override void Read(DwarfReader reader) { Offset = reader.Offset; var size = reader.ReadULEB128(); OperationLengthInBytes = size; var endPosition = reader.Offset + size; while (reader.Offset < endPosition) { var op = new DwarfOperation() { Offset = reader.Offset }; op.ReadInternal(reader); AddOperation(op); } Size = reader.Offset - Offset; }