diff --git a/nanoFramework.System.Net/NetworkHelper/IPConfiguration.cs b/nanoFramework.System.Net/NetworkHelper/IPConfiguration.cs
index 16f46975..df400072 100644
--- a/nanoFramework.System.Net/NetworkHelper/IPConfiguration.cs
+++ b/nanoFramework.System.Net/NetworkHelper/IPConfiguration.cs
@@ -1,11 +1,14 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
+using System.Runtime.CompilerServices;
+
namespace nanoFramework.Networking
{
///
/// IP configuration to be used for static IP address configuration.
///
+ [ExcludeType]
public class IPConfiguration
{
///
diff --git a/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs b/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs
index 5d673739..2ffb4634 100644
--- a/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs
+++ b/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs
@@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.NetworkInformation
{
///
/// Options for .
///
+ [ExcludeType]
internal enum NetworkInformationOptions
{
///
diff --git a/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs b/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs
index 509dc600..88518f2a 100644
--- a/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs
+++ b/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs
@@ -5,12 +5,14 @@
//
using System;
+using System.Runtime.CompilerServices;
namespace System.Net.NetworkInformation
{
///
/// Enum of Phy protocols used for connection.
///
+ [ExcludeType]
[Flags]
public enum PhyProtocols
{
diff --git a/nanoFramework.System.Net/Properties/AssemblyInfo.cs b/nanoFramework.System.Net/Properties/AssemblyInfo.cs
index 99b0b811..af896784 100644
--- a/nanoFramework.System.Net/Properties/AssemblyInfo.cs
+++ b/nanoFramework.System.Net/Properties/AssemblyInfo.cs
@@ -16,7 +16,7 @@
////////////////////////////////////////////////////////////////
// update this whenever the native assembly signature changes //
-[assembly: AssemblyNativeVersion("100.20.0.1")]
+[assembly: AssemblyNativeVersion("100.20.0.2")]
////////////////////////////////////////////////////////////////
// Setting ComVisible to false makes the types in this assembly not visible
diff --git a/nanoFramework.System.Net/Security/NetworkSecurity.cs b/nanoFramework.System.Net/Security/NetworkSecurity.cs
index ec17d6ad..68741908 100644
--- a/nanoFramework.System.Net/Security/NetworkSecurity.cs
+++ b/nanoFramework.System.Net/Security/NetworkSecurity.cs
@@ -60,6 +60,7 @@ public enum SslProtocols
///
/// The verification scheme to use for authentication.
///
+ [ExcludeType]
public enum SslVerification
{
///
diff --git a/nanoFramework.System.Net/Sockets/AddressFamily.cs b/nanoFramework.System.Net/Sockets/AddressFamily.cs
index b7c7cad8..65c9c9c6 100644
--- a/nanoFramework.System.Net/Sockets/AddressFamily.cs
+++ b/nanoFramework.System.Net/Sockets/AddressFamily.cs
@@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
///
@@ -13,6 +15,7 @@ namespace System.Net.Sockets
/// An AddressFamily member specifies the addressing scheme that a will use to resolve an address. For example,
/// InterNetwork indicates that an IP version 4 address is expected when a connects to an endpoint.
///
+ [ExcludeType]
public enum AddressFamily
{
///
diff --git a/nanoFramework.System.Net/Sockets/ProtocolFamily.cs b/nanoFramework.System.Net/Sockets/ProtocolFamily.cs
index 1a1114cc..995d9708 100644
--- a/nanoFramework.System.Net/Sockets/ProtocolFamily.cs
+++ b/nanoFramework.System.Net/Sockets/ProtocolFamily.cs
@@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
///
/// Specifies the type of protocol that an instance of the
///
+ [ExcludeType]
public enum ProtocolFamily
{
///
diff --git a/nanoFramework.System.Net/Sockets/ProtocolType.cs b/nanoFramework.System.Net/Sockets/ProtocolType.cs
index 7b73fcab..57bf5e21 100644
--- a/nanoFramework.System.Net/Sockets/ProtocolType.cs
+++ b/nanoFramework.System.Net/Sockets/ProtocolType.cs
@@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
///
/// Specifies the protocols that the class supports.
///
+ [ExcludeType]
public enum ProtocolType
{
///
diff --git a/nanoFramework.System.Net/Sockets/SelectMode.cs b/nanoFramework.System.Net/Sockets/SelectMode.cs
index 7157c9e5..1c6058db 100644
--- a/nanoFramework.System.Net/Sockets/SelectMode.cs
+++ b/nanoFramework.System.Net/Sockets/SelectMode.cs
@@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
///
/// Specifies the mode for polling the status of a socket.
///
+ [ExcludeType]
public enum SelectMode
{
///
diff --git a/nanoFramework.System.Net/Sockets/SocketErrors.cs b/nanoFramework.System.Net/Sockets/SocketErrors.cs
index c1532bf7..a8117711 100644
--- a/nanoFramework.System.Net/Sockets/SocketErrors.cs
+++ b/nanoFramework.System.Net/Sockets/SocketErrors.cs
@@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
///
/// Defines socket error constants.
///
+ [ExcludeType]
public enum SocketError : int
{
///
diff --git a/nanoFramework.System.Net/Sockets/SocketFlags.cs b/nanoFramework.System.Net/Sockets/SocketFlags.cs
index 7a3ef5c3..5414c91e 100644
--- a/nanoFramework.System.Net/Sockets/SocketFlags.cs
+++ b/nanoFramework.System.Net/Sockets/SocketFlags.cs
@@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
using System;
@@ -11,6 +13,7 @@ namespace System.Net.Sockets
///
/// This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
///
+ [ExcludeType]
[Flags]
public enum SocketFlags
{
diff --git a/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs b/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs
index 90679ff7..75a0d4ca 100644
--- a/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs
+++ b/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs
@@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
//
@@ -13,6 +15,7 @@ namespace System.Net.Sockets
///
/// Defines socket option levels for the class.
///
+ [ExcludeType]
public enum SocketOptionLevel
{
///
diff --git a/nanoFramework.System.Net/Sockets/SocketOptionName.cs b/nanoFramework.System.Net/Sockets/SocketOptionName.cs
index d300ef64..f20bfd0e 100644
--- a/nanoFramework.System.Net/Sockets/SocketOptionName.cs
+++ b/nanoFramework.System.Net/Sockets/SocketOptionName.cs
@@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
using System;
@@ -15,6 +17,7 @@ namespace System.Net.Sockets
/// The SocketOptionName enumeration defines the name of each Socket configuration option.
/// Sockets can be configured with the method.
///
+ [ExcludeType]
public enum SocketOptionName
{
diff --git a/nanoFramework.System.Net/Sockets/SocketType.cs b/nanoFramework.System.Net/Sockets/SocketType.cs
index 8e595a91..ebe29526 100644
--- a/nanoFramework.System.Net/Sockets/SocketType.cs
+++ b/nanoFramework.System.Net/Sockets/SocketType.cs
@@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//
+using System.Runtime.CompilerServices;
+
namespace System.Net.Sockets
{
///
@@ -14,6 +16,7 @@ namespace System.Net.Sockets
/// and a ProtocolType. The SocketType enumeration provides several options for defining the type of that you
/// intend to open.
///
+ [ExcludeType]
public enum SocketType
{
///
diff --git a/nanoFramework.System.Net/System.Net.nfproj b/nanoFramework.System.Net/System.Net.nfproj
index bfb864a1..8e9fdcb4 100644
--- a/nanoFramework.System.Net/System.Net.nfproj
+++ b/nanoFramework.System.Net/System.Net.nfproj
@@ -35,50 +35,6 @@
sys_net_native
System.Net
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
@@ -162,4 +118,4 @@
-
\ No newline at end of file
+