Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 13887 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
If I pass a local file URI as a parameter to System.Net.WebClient.DownloadData(string uri), it returns the content correctly but does not close the file afterwards.
var webclient = new System.Net.WebClient();
string uri = "file:///tmp/foo";
byte  fooContent = webclient.DownloadData(url);
After running this, fooContent contains the data from /tmp/foo, but that file remains opened (in consequence causing an IOException if you want to write to it)