[System] Fixes UdpClient.Receive with IPv6 endpoint
[mono.git] / mcs / class / System / System / UriComponents.cs
index 82578ac24afa76f9b44e09a636dca7614fb1d07d..bc5fe6b8caca5acb769e21082f4b3f08d9a3a334 100644 (file)
 namespace System {
 
        [Flags]
-#if NET_2_0
-       public
-#endif
-       enum UriComponents {
+       public enum UriComponents {
 
                Scheme = 1,
                UserInfo = 2,
@@ -42,6 +39,7 @@ namespace System {
                Query = 32,
                Fragment = 64,
                StrongPort = 128,
+               NormalizedHost = 256,
                KeepDelimiter = 0x40000000,
 
                HostAndPort = Host | StrongPort,