System/PCL: Implement HttpWebRequest.SupportsCookieContainer, WebRequest.CreateHttp...
[mono.git] / mcs / class / System / System.Configuration / SettingsContext.cs
index 2b0f8cfceebaa7964d2c1df5b031ff8601631e7f..5cc36bc23fee7f9adf0de5ed0bd5cedc8b9b8164 100644 (file)
@@ -26,7 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System;
 using System.Collections;
 
@@ -36,8 +35,14 @@ namespace System.Configuration
        [Serializable] 
        public class SettingsContext : Hashtable
        {
+               [NonSerialized]
+               ApplicationSettingsBase current;
+
+               internal ApplicationSettingsBase CurrentSettings {
+                       get { return current; }
+                       set { current = value; }
+               }
        }
 
 }
 
-#endif