[System] Fixes UdpClient.Receive with IPv6 endpoint
[mono.git] / mcs / class / System / System / UriComponents.cs
index 047206d013d2a9b8f4210c9153d823e66857f55d..bc5fe6b8caca5acb769e21082f4b3f08d9a3a334 100644 (file)
@@ -26,8 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 namespace System {
 
        [Flags]
@@ -41,6 +39,7 @@ namespace System {
                Query = 32,
                Fragment = 64,
                StrongPort = 128,
+               NormalizedHost = 256,
                KeepDelimiter = 0x40000000,
 
                HostAndPort = Host | StrongPort,
@@ -52,5 +51,3 @@ namespace System {
                SerializationInfoString = Int32.MinValue
        }
 }
-
-#endif