aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-01-31 18:44:36 +0100
committerGitHub <noreply@github.com>2019-01-31 18:44:36 +0100
commit2a1f6361a5fea4d00888446b736829e341982f35 (patch)
treeb8962a7bd7f0926366fcbd57b8e353b2ab927a5f /SocketHttpListener
parent055e43eda72dbf77a91ca22b5b007161c9d75c46 (diff)
parentffcf6bdd3aaad5068decf84b0400e433fdb8323c (diff)
Merge branch 'master' into locale
Diffstat (limited to 'SocketHttpListener')
-rw-r--r--SocketHttpListener/Net/HttpListenerContext.Managed.cs4
-rw-r--r--SocketHttpListener/Net/HttpListenerContext.cs2
-rw-r--r--SocketHttpListener/Net/HttpListenerRequest.cs2
-rw-r--r--SocketHttpListener/Net/HttpListenerResponse.cs2
-rw-r--r--SocketHttpListener/Net/WebHeaderEncoding.cs2
5 files changed, 6 insertions, 6 deletions
diff --git a/SocketHttpListener/Net/HttpListenerContext.Managed.cs b/SocketHttpListener/Net/HttpListenerContext.Managed.cs
index 29b0a7ae2..79742bf37 100644
--- a/SocketHttpListener/Net/HttpListenerContext.Managed.cs
+++ b/SocketHttpListener/Net/HttpListenerContext.Managed.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.ComponentModel;
using System.Security.Principal;
using System.Text;
@@ -7,7 +7,7 @@ using SocketHttpListener.Net.WebSockets;
namespace SocketHttpListener.Net
{
- public sealed unsafe partial class HttpListenerContext
+ public sealed partial class HttpListenerContext
{
private HttpConnection _connection;
diff --git a/SocketHttpListener/Net/HttpListenerContext.cs b/SocketHttpListener/Net/HttpListenerContext.cs
index 8045299c6..d84e2d1aa 100644
--- a/SocketHttpListener/Net/HttpListenerContext.cs
+++ b/SocketHttpListener/Net/HttpListenerContext.cs
@@ -6,7 +6,7 @@ using SocketHttpListener.Net.WebSockets;
namespace SocketHttpListener.Net
{
- public sealed unsafe partial class HttpListenerContext
+ public sealed partial class HttpListenerContext
{
private HttpListenerResponse _response;
private IPrincipal _user;
diff --git a/SocketHttpListener/Net/HttpListenerRequest.cs b/SocketHttpListener/Net/HttpListenerRequest.cs
index 4924a7fa8..faeca78b2 100644
--- a/SocketHttpListener/Net/HttpListenerRequest.cs
+++ b/SocketHttpListener/Net/HttpListenerRequest.cs
@@ -8,7 +8,7 @@ using SocketHttpListener.Net.WebSockets;
namespace SocketHttpListener.Net
{
- public sealed unsafe partial class HttpListenerRequest
+ public sealed partial class HttpListenerRequest
{
private CookieCollection _cookies;
private bool? _keepAlive;
diff --git a/SocketHttpListener/Net/HttpListenerResponse.cs b/SocketHttpListener/Net/HttpListenerResponse.cs
index a32aca043..66ef88564 100644
--- a/SocketHttpListener/Net/HttpListenerResponse.cs
+++ b/SocketHttpListener/Net/HttpListenerResponse.cs
@@ -5,7 +5,7 @@ using System.Text;
namespace SocketHttpListener.Net
{
- public sealed unsafe partial class HttpListenerResponse : IDisposable
+ public sealed partial class HttpListenerResponse : IDisposable
{
private BoundaryType _boundaryType = BoundaryType.None;
private CookieCollection _cookies;
diff --git a/SocketHttpListener/Net/WebHeaderEncoding.cs b/SocketHttpListener/Net/WebHeaderEncoding.cs
index b65ff3c0d..96e0cc85d 100644
--- a/SocketHttpListener/Net/WebHeaderEncoding.cs
+++ b/SocketHttpListener/Net/WebHeaderEncoding.cs
@@ -71,7 +71,7 @@ namespace SocketHttpListener.Net
}
}
}
- internal static unsafe byte[] GetBytes(string myString)
+ internal static byte[] GetBytes(string myString)
{
byte[] bytes = new byte[myString.Length];
if (myString.Length != 0)