Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/NetworkHelper/IPConfiguration.cs
Original file line number Diff line number Diff line change
@@ -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
{
/// <summary>
/// IP configuration to be used for static IP address configuration.
/// </summary>
[ExcludeType]
public class IPConfiguration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.NetworkInformation
{
/// <summary>
/// Options for <see cref="NetworkInformation"/>.
/// </summary>
[ExcludeType]
internal enum NetworkInformationOptions
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
//

using System;
using System.Runtime.CompilerServices;

namespace System.Net.NetworkInformation
{
/// <summary>
/// Enum of Phy protocols used for connection.
/// </summary>
[ExcludeType]
[Flags]
public enum PhyProtocols
{
Expand Down
1 change: 1 addition & 0 deletions nanoFramework.System.Net/Security/NetworkSecurity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public enum SslProtocols
/// <summary>
/// The verification scheme to use for authentication.
/// </summary>
[ExcludeType]
public enum SslVerification
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/AddressFamily.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
/// <summary>
Expand All @@ -13,6 +15,7 @@ namespace System.Net.Sockets
/// An AddressFamily member specifies the addressing scheme that a <see cref="Socket"/> will use to resolve an address. For example,
/// InterNetwork indicates that an IP version 4 address is expected when a <see cref="Socket"/> connects to an endpoint.
/// </remarks>
[ExcludeType]
public enum AddressFamily
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/ProtocolFamily.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
/// <summary>
/// Specifies the type of protocol that an instance of the <see cref='Socket'/>
/// </summary>
[ExcludeType]
public enum ProtocolFamily
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/ProtocolType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
/// <summary>
/// Specifies the protocols that the <see cref='Socket'/> class supports.
/// </summary>
[ExcludeType]
public enum ProtocolType
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/SelectMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
/// <summary>
/// Specifies the mode for polling the status of a socket.
/// </summary>
[ExcludeType]
public enum SelectMode
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/SocketErrors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
/// <summary>
/// Defines socket error constants.
/// </summary>
[ExcludeType]
public enum SocketError : int
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/SocketFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
using System;

/// <summary>
/// This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
/// </summary>
[ExcludeType]
[Flags]
public enum SocketFlags
{
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/SocketOptionLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
//
Expand All @@ -13,6 +15,7 @@ namespace System.Net.Sockets
/// <summary>
/// Defines socket option levels for the <see cref='Sockets.Socket'/> class.
/// </summary>
[ExcludeType]
public enum SocketOptionLevel
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/SocketOptionName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 <see cref="Socket.SetSocketOption(SocketOptionLevel, SocketOptionName, Boolean)"/> method.
/// </remarks>
[ExcludeType]
public enum SocketOptionName
{

Expand Down
3 changes: 3 additions & 0 deletions nanoFramework.System.Net/Sockets/SocketType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// See LICENSE file in the project root for full license information.
//

using System.Runtime.CompilerServices;

namespace System.Net.Sockets
{
/// <summary>
Expand All @@ -14,6 +16,7 @@ namespace System.Net.Sockets
/// and a ProtocolType. The SocketType enumeration provides several options for defining the type of <see cref="Socket"/> that you
/// intend to open.
/// </remarks>
[ExcludeType]
public enum SocketType
{
/// <summary>
Expand Down
46 changes: 1 addition & 45 deletions nanoFramework.System.Net/System.Net.nfproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,50 +35,6 @@
<NF_GenerateSkeletonProjectName>sys_net_native</NF_GenerateSkeletonProjectName>
<Name>System.Net</Name>
</PropertyGroup>
<ItemGroup>
<NFMDP_PE_ExcludeClassByName Include="ThisAssembly">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="IPConfiguration">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="NetworkInformationOptions">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="PhyProtocols">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SslVerification">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="AddressFamily">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="ProtocolFamily">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="ProtocolType">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SelectMode">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SocketError">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SocketFlags">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SocketOptionLevel">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SocketOptionName">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="SocketType">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
</ItemGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
<ItemGroup>
<Compile Include="DNS.cs" />
Expand Down Expand Up @@ -162,4 +118,4 @@
<Error Condition="!Exists('..\packages\Nerdbank.GitVersioning.3.9.50\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Nerdbank.GitVersioning.3.9.50\build\Nerdbank.GitVersioning.targets'))" />
</Target>
<Import Project="..\packages\Nerdbank.GitVersioning.3.9.50\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\packages\Nerdbank.GitVersioning.3.9.50\build\Nerdbank.GitVersioning.targets')" />
</Project>
</Project>
Loading