From 1c50ec7166438cc67ba49764735cb3b4d4c1d5ac Mon Sep 17 00:00:00 2001 From: anurse Date: Mon, 29 Jun 2015 12:21:46 -0700 Subject: [PATCH] clean-up --- src/Microsoft.AspNet.WebSockets.Protocol/CommonWebSocket.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.WebSockets.Protocol/CommonWebSocket.cs b/src/Microsoft.AspNet.WebSockets.Protocol/CommonWebSocket.cs index a63800c536..2c9c53bb7f 100644 --- a/src/Microsoft.AspNet.WebSockets.Protocol/CommonWebSocket.cs +++ b/src/Microsoft.AspNet.WebSockets.Protocol/CommonWebSocket.cs @@ -6,7 +6,6 @@ using System.Diagnostics.Contracts; using System.IO; using System.Linq; using System.Net.WebSockets; -using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; @@ -103,7 +102,8 @@ namespace Microsoft.AspNet.WebSockets.Protocol // applications. #if NET45 // Normally we don't group methods and fields like this but I want to centralize the #if :) - private static readonly RandomNumberGenerator _rng = new RNGCryptoServiceProvider(); + // Same for using full namespace names. + private static readonly System.Security.Cryptography.RandomNumberGenerator _rng = new System.Security.Cryptography.RNGCryptoServiceProvider(); private int GetNextMask() { if (_useZeroMask)