{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "I have \n\nvar files = zip.Entries.ToList();\n                var compressedContent = files.Find(f => (f.FileName == \"name.ext\"));\n                var memoryStream = new MemoryStream();\n                compressedContent.Extract(memoryStream);\n\nAnytime after the Extract method is called the Stream is closed and inaccessible. Since .Extract()'s return type is void, how am I intended to access the extracted information?",
    "LastUpdatedDate": "2015-04-29T00:41:02.15-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Unassigned",
      "Severity": 0,
      "Id": 0
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2014-06-02T13:46:24.597-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "entry.Extract(stream) disposing stream?",
    "Type": {
      "Name": "Unassigned",
      "Id": 5
    },
    "VoteCount": 5,
    "Id": 16858
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "I agree my code\r\n\r\n```\n           StreamWriter sw = new StreamWriter(stRes);\n            using ( ZipFile zip = ZipFile.Read(wNomDocument) ) {\n                ZipEntry e = zip[\"word\\\\document.xml\"];\n                e.Extract(sw.BaseStream);\n            }\n            sw.Close();          \n```\r\n\r\nuse to run. Since I update to latest version it throws a \"File closed exception\"\r\n\r\nnow I use, as a quick and dirty fix.\r\n\r\n```\n           StreamWriter sw = new StreamWriter(stRes);\n            using ( ZipFile zip = ZipFile.Read(wNomDocument) ) {\n                ZipEntry e = zip[\"word\\\\document.xml\"];\n                e.Extract(sw.BaseStream);\n            }\n            try {\n                sw.Close();          \n            } catch { }\n```",
      "PostedDate": "2014-06-03T06:14:29.853-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2014-06-03T06:14:43.54-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2014-06-12T06:40:28.953-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Please fix this. Thank you.",
      "PostedDate": "2014-06-12T06:44:53.76-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2015-04-28T08:09:53.297-07:00",
      "Id": -2147483648
    },
    {
      "Message": "God damn it! I wasted a day and a half on this thinking I did something wrong somewhere because the library couldn't possibly have such a noticeable bug in a release.\r\n\r\nHow is this not fixed yet?\r\n\r\nHas the project been abandoned?",
      "PostedDate": "2015-04-28T08:22:44.33-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2015-04-29T00:30:13.887-07:00",
      "Id": -2147483648
    },
    {
      "Message": "A fork of this project has a fix:\nhttps://github.com/haf/DotNetZip.Semverd/pull/12\n",
      "PostedDate": "2015-04-29T00:41:02.15-07:00",
      "Id": -2147483648
    }
  ]
}