Bug 33401 - CS0122 System.Net.HttpUtility is inaccessible due to its protection level
Summary: CS0122 System.Net.HttpUtility is inaccessible due to its protection level
Status: RESOLVED FEATURE
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: 4.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2015-08-26 14:55 UTC by John Miller [MSFT]
Modified: 2015-08-31 07:33 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description John Miller [MSFT] 2015-08-26 14:55:28 UTC
**Overview:**

   System.Net.HttpUtility is not accessible when tried in a Xamarin.iOS project.

**Steps to Reproduce:**

   1. C# console project
   2. var qs = System.Net.HttpUtility.ParseQueryString(String.Empty);
   3. Compile

**Actual Results:**

   Error CS0122: `System.Net.HttpUtility' is inaccessible due to its protection level (CS0122)

**Expected Results:**

   Expected this to be available. 

**Build Date & Platform:**

   Mono 4.0.3 ((detached/d6946b4)
   XI 8.10.4.46

**Additional Information:**

   This may be by design, please confirm.
Comment 1 Marek Safar 2015-08-31 07:33:19 UTC
There is no public System.Net.HttpUtility in System assembly. There is one in System.Windows.Forms and one in System.Web but that is in different namespace.