From d7ba24e302757269b9d8198c501024874543bca8 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Mon, 12 Feb 2024 17:41:52 +0000 Subject: [PATCH] style: remove UTF-8 BOM --- TcpDotNet.ClientIntegrationTest/GoodbyePacket.cs | 2 +- TcpDotNet.ClientIntegrationTest/HelloPacket.cs | 2 +- .../PacketHandlers/GoodbyePacketHandler.cs | 2 +- TcpDotNet.ListenerIntegrationTest/GoodbyePacket.cs | 2 +- TcpDotNet.ListenerIntegrationTest/HelloPacket.cs | 2 +- .../PacketHandlers/HelloPacketHandler.cs | 2 +- TcpDotNet.ListenerIntegrationTest/Program.cs | 2 +- TcpDotNet/Assembly.cs | 2 +- TcpDotNet/ClientNode.cs | 2 +- TcpDotNet/ClientState.cs | 2 +- TcpDotNet/CryptographyUtils.cs | 2 +- TcpDotNet/Node.cs | 2 +- TcpDotNet/Protocol/HandshakeResponse.cs | 2 +- TcpDotNet/Protocol/Packet.cs | 2 +- TcpDotNet/Protocol/PacketAttribute.cs | 2 +- TcpDotNet/Protocol/PacketHandler.cs | 2 +- TcpDotNet/Protocol/PacketHandlers/DisconnectPacketHandler.cs | 2 +- .../Protocol/PacketHandlers/EncryptionResponsePacketHandler.cs | 2 +- .../Protocol/PacketHandlers/HandshakeRequestPacketHandler.cs | 2 +- TcpDotNet/Protocol/Packets/ClientBound/DisconnectPacket.cs | 2 +- .../Protocol/Packets/ClientBound/EncryptionRequestPacket.cs | 2 +- .../Protocol/Packets/ClientBound/HandshakeResponsePacket.cs | 2 +- TcpDotNet/Protocol/Packets/ClientBound/PongPacket.cs | 2 +- TcpDotNet/Protocol/Packets/ClientBound/SessionExchangePacket.cs | 2 +- .../Protocol/Packets/ServerBound/EncryptionResponsePacket.cs | 2 +- .../Protocol/Packets/ServerBound/HandshakeRequestPacket.cs | 2 +- TcpDotNet/Protocol/Packets/ServerBound/PingPacket.cs | 2 +- TcpDotNet/Protocol/ProtocolReader.cs | 2 +- TcpDotNet/Protocol/ProtocolWriter.cs | 2 +- TcpDotNet/Protocol/RequestPacket.cs | 2 +- TcpDotNet/Protocol/ResponsePacket.cs | 2 +- TcpDotNet/ProtocolClient.cs | 2 +- TcpDotNet/ProtocolListener.cs | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/TcpDotNet.ClientIntegrationTest/GoodbyePacket.cs b/TcpDotNet.ClientIntegrationTest/GoodbyePacket.cs index d79d97c..9892853 100644 --- a/TcpDotNet.ClientIntegrationTest/GoodbyePacket.cs +++ b/TcpDotNet.ClientIntegrationTest/GoodbyePacket.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol; +using TcpDotNet.Protocol; namespace TcpDotNet.ClientIntegrationTest; diff --git a/TcpDotNet.ClientIntegrationTest/HelloPacket.cs b/TcpDotNet.ClientIntegrationTest/HelloPacket.cs index 0b4f357..0cc4e9f 100644 --- a/TcpDotNet.ClientIntegrationTest/HelloPacket.cs +++ b/TcpDotNet.ClientIntegrationTest/HelloPacket.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol; +using TcpDotNet.Protocol; namespace TcpDotNet.ClientIntegrationTest; diff --git a/TcpDotNet.ClientIntegrationTest/PacketHandlers/GoodbyePacketHandler.cs b/TcpDotNet.ClientIntegrationTest/PacketHandlers/GoodbyePacketHandler.cs index 5277031..58fec4a 100644 --- a/TcpDotNet.ClientIntegrationTest/PacketHandlers/GoodbyePacketHandler.cs +++ b/TcpDotNet.ClientIntegrationTest/PacketHandlers/GoodbyePacketHandler.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol; +using TcpDotNet.Protocol; namespace TcpDotNet.ClientIntegrationTest.PacketHandlers; diff --git a/TcpDotNet.ListenerIntegrationTest/GoodbyePacket.cs b/TcpDotNet.ListenerIntegrationTest/GoodbyePacket.cs index 02baa10..40e03c1 100644 --- a/TcpDotNet.ListenerIntegrationTest/GoodbyePacket.cs +++ b/TcpDotNet.ListenerIntegrationTest/GoodbyePacket.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol; +using TcpDotNet.Protocol; namespace TcpDotNet.ListenerIntegrationTest; diff --git a/TcpDotNet.ListenerIntegrationTest/HelloPacket.cs b/TcpDotNet.ListenerIntegrationTest/HelloPacket.cs index 80a958b..6adb687 100644 --- a/TcpDotNet.ListenerIntegrationTest/HelloPacket.cs +++ b/TcpDotNet.ListenerIntegrationTest/HelloPacket.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol; +using TcpDotNet.Protocol; namespace TcpDotNet.ListenerIntegrationTest; diff --git a/TcpDotNet.ListenerIntegrationTest/PacketHandlers/HelloPacketHandler.cs b/TcpDotNet.ListenerIntegrationTest/PacketHandlers/HelloPacketHandler.cs index 20646a0..f138f55 100644 --- a/TcpDotNet.ListenerIntegrationTest/PacketHandlers/HelloPacketHandler.cs +++ b/TcpDotNet.ListenerIntegrationTest/PacketHandlers/HelloPacketHandler.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol; +using TcpDotNet.Protocol; namespace TcpDotNet.ListenerIntegrationTest.PacketHandlers; diff --git a/TcpDotNet.ListenerIntegrationTest/Program.cs b/TcpDotNet.ListenerIntegrationTest/Program.cs index b0a3829..611cae2 100644 --- a/TcpDotNet.ListenerIntegrationTest/Program.cs +++ b/TcpDotNet.ListenerIntegrationTest/Program.cs @@ -1,4 +1,4 @@ -using TcpDotNet; +using TcpDotNet; using TcpDotNet.ListenerIntegrationTest.PacketHandlers; using TcpDotNet.Protocol; using TcpDotNet.Protocol.Packets.ClientBound; diff --git a/TcpDotNet/Assembly.cs b/TcpDotNet/Assembly.cs index f547610..c0d560e 100644 --- a/TcpDotNet/Assembly.cs +++ b/TcpDotNet/Assembly.cs @@ -1 +1 @@ -[assembly: CLSCompliant(true)] +[assembly: CLSCompliant(true)] diff --git a/TcpDotNet/ClientNode.cs b/TcpDotNet/ClientNode.cs index 13b1738..6ff6b55 100644 --- a/TcpDotNet/ClientNode.cs +++ b/TcpDotNet/ClientNode.cs @@ -1,4 +1,4 @@ -using System.Collections.Concurrent; +using System.Collections.Concurrent; using System.Net; using System.Net.Sockets; using System.Reflection; diff --git a/TcpDotNet/ClientState.cs b/TcpDotNet/ClientState.cs index 7fe88b8..fec2980 100644 --- a/TcpDotNet/ClientState.cs +++ b/TcpDotNet/ClientState.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet; +namespace TcpDotNet; /// /// An enumeration of states for a to be in. diff --git a/TcpDotNet/CryptographyUtils.cs b/TcpDotNet/CryptographyUtils.cs index 2907bb9..f1b287a 100644 --- a/TcpDotNet/CryptographyUtils.cs +++ b/TcpDotNet/CryptographyUtils.cs @@ -1,4 +1,4 @@ -using Chilkat; +using Chilkat; namespace TcpDotNet; diff --git a/TcpDotNet/Node.cs b/TcpDotNet/Node.cs index ed50de5..7af3a01 100644 --- a/TcpDotNet/Node.cs +++ b/TcpDotNet/Node.cs @@ -1,4 +1,4 @@ -using System.Collections.Concurrent; +using System.Collections.Concurrent; using System.Collections.ObjectModel; using System.Net.Sockets; using System.Reflection; diff --git a/TcpDotNet/Protocol/HandshakeResponse.cs b/TcpDotNet/Protocol/HandshakeResponse.cs index a0a5a30..4534962 100644 --- a/TcpDotNet/Protocol/HandshakeResponse.cs +++ b/TcpDotNet/Protocol/HandshakeResponse.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol; +namespace TcpDotNet.Protocol; /// /// An enumeration of handshake responses. diff --git a/TcpDotNet/Protocol/Packet.cs b/TcpDotNet/Protocol/Packet.cs index e984dbc..c1c79ce 100644 --- a/TcpDotNet/Protocol/Packet.cs +++ b/TcpDotNet/Protocol/Packet.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; namespace TcpDotNet.Protocol; diff --git a/TcpDotNet/Protocol/PacketAttribute.cs b/TcpDotNet/Protocol/PacketAttribute.cs index 8bda278..a613d81 100644 --- a/TcpDotNet/Protocol/PacketAttribute.cs +++ b/TcpDotNet/Protocol/PacketAttribute.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol; +namespace TcpDotNet.Protocol; /// /// Specifies metadata for a . diff --git a/TcpDotNet/Protocol/PacketHandler.cs b/TcpDotNet/Protocol/PacketHandler.cs index 825363f..9431b8a 100644 --- a/TcpDotNet/Protocol/PacketHandler.cs +++ b/TcpDotNet/Protocol/PacketHandler.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol; +namespace TcpDotNet.Protocol; /// /// Represents the base class for a packet handler. diff --git a/TcpDotNet/Protocol/PacketHandlers/DisconnectPacketHandler.cs b/TcpDotNet/Protocol/PacketHandlers/DisconnectPacketHandler.cs index ea9ce27..b36f755 100644 --- a/TcpDotNet/Protocol/PacketHandlers/DisconnectPacketHandler.cs +++ b/TcpDotNet/Protocol/PacketHandlers/DisconnectPacketHandler.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol.Packets.ClientBound; +using TcpDotNet.Protocol.Packets.ClientBound; namespace TcpDotNet.Protocol.PacketHandlers; diff --git a/TcpDotNet/Protocol/PacketHandlers/EncryptionResponsePacketHandler.cs b/TcpDotNet/Protocol/PacketHandlers/EncryptionResponsePacketHandler.cs index 0a6194a..16dc115 100644 --- a/TcpDotNet/Protocol/PacketHandlers/EncryptionResponsePacketHandler.cs +++ b/TcpDotNet/Protocol/PacketHandlers/EncryptionResponsePacketHandler.cs @@ -1,4 +1,4 @@ -using System.Security.Cryptography; +using System.Security.Cryptography; using TcpDotNet.Protocol.Packets.ClientBound; using TcpDotNet.Protocol.Packets.ServerBound; diff --git a/TcpDotNet/Protocol/PacketHandlers/HandshakeRequestPacketHandler.cs b/TcpDotNet/Protocol/PacketHandlers/HandshakeRequestPacketHandler.cs index d37209d..78a1861 100644 --- a/TcpDotNet/Protocol/PacketHandlers/HandshakeRequestPacketHandler.cs +++ b/TcpDotNet/Protocol/PacketHandlers/HandshakeRequestPacketHandler.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol.Packets.ClientBound; +using TcpDotNet.Protocol.Packets.ClientBound; using TcpDotNet.Protocol.Packets.ServerBound; namespace TcpDotNet.Protocol.PacketHandlers; diff --git a/TcpDotNet/Protocol/Packets/ClientBound/DisconnectPacket.cs b/TcpDotNet/Protocol/Packets/ClientBound/DisconnectPacket.cs index 9f365c1..ad680c8 100644 --- a/TcpDotNet/Protocol/Packets/ClientBound/DisconnectPacket.cs +++ b/TcpDotNet/Protocol/Packets/ClientBound/DisconnectPacket.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol.Packets.ClientBound; +namespace TcpDotNet.Protocol.Packets.ClientBound; [Packet(0x7FFFFFFF)] internal sealed class DisconnectPacket : Packet diff --git a/TcpDotNet/Protocol/Packets/ClientBound/EncryptionRequestPacket.cs b/TcpDotNet/Protocol/Packets/ClientBound/EncryptionRequestPacket.cs index c3960f5..cbbef56 100644 --- a/TcpDotNet/Protocol/Packets/ClientBound/EncryptionRequestPacket.cs +++ b/TcpDotNet/Protocol/Packets/ClientBound/EncryptionRequestPacket.cs @@ -1,4 +1,4 @@ -using System.Security.Cryptography; +using System.Security.Cryptography; namespace TcpDotNet.Protocol.Packets.ClientBound; diff --git a/TcpDotNet/Protocol/Packets/ClientBound/HandshakeResponsePacket.cs b/TcpDotNet/Protocol/Packets/ClientBound/HandshakeResponsePacket.cs index 8fcf1a8..2e3ecd2 100644 --- a/TcpDotNet/Protocol/Packets/ClientBound/HandshakeResponsePacket.cs +++ b/TcpDotNet/Protocol/Packets/ClientBound/HandshakeResponsePacket.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol.Packets.ServerBound; +using TcpDotNet.Protocol.Packets.ServerBound; namespace TcpDotNet.Protocol.Packets.ClientBound; diff --git a/TcpDotNet/Protocol/Packets/ClientBound/PongPacket.cs b/TcpDotNet/Protocol/Packets/ClientBound/PongPacket.cs index 7952016..7bc7a60 100644 --- a/TcpDotNet/Protocol/Packets/ClientBound/PongPacket.cs +++ b/TcpDotNet/Protocol/Packets/ClientBound/PongPacket.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol.Packets.ClientBound; +namespace TcpDotNet.Protocol.Packets.ClientBound; /// /// Represents a packet which performs a heartbeat response. diff --git a/TcpDotNet/Protocol/Packets/ClientBound/SessionExchangePacket.cs b/TcpDotNet/Protocol/Packets/ClientBound/SessionExchangePacket.cs index e7679ac..3301b50 100644 --- a/TcpDotNet/Protocol/Packets/ClientBound/SessionExchangePacket.cs +++ b/TcpDotNet/Protocol/Packets/ClientBound/SessionExchangePacket.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol.Packets.ClientBound; +namespace TcpDotNet.Protocol.Packets.ClientBound; [Packet(0x7FFFFFE4)] internal sealed class SessionExchangePacket : Packet diff --git a/TcpDotNet/Protocol/Packets/ServerBound/EncryptionResponsePacket.cs b/TcpDotNet/Protocol/Packets/ServerBound/EncryptionResponsePacket.cs index 935cca6..4107174 100644 --- a/TcpDotNet/Protocol/Packets/ServerBound/EncryptionResponsePacket.cs +++ b/TcpDotNet/Protocol/Packets/ServerBound/EncryptionResponsePacket.cs @@ -1,4 +1,4 @@ -using TcpDotNet.Protocol.Packets.ClientBound; +using TcpDotNet.Protocol.Packets.ClientBound; namespace TcpDotNet.Protocol.Packets.ServerBound; diff --git a/TcpDotNet/Protocol/Packets/ServerBound/HandshakeRequestPacket.cs b/TcpDotNet/Protocol/Packets/ServerBound/HandshakeRequestPacket.cs index 82e4ef3..3ac8b30 100644 --- a/TcpDotNet/Protocol/Packets/ServerBound/HandshakeRequestPacket.cs +++ b/TcpDotNet/Protocol/Packets/ServerBound/HandshakeRequestPacket.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol.Packets.ServerBound; +namespace TcpDotNet.Protocol.Packets.ServerBound; /// /// Represents a packet which requests a handshake with a . diff --git a/TcpDotNet/Protocol/Packets/ServerBound/PingPacket.cs b/TcpDotNet/Protocol/Packets/ServerBound/PingPacket.cs index 06eb33c..1ce5e8e 100644 --- a/TcpDotNet/Protocol/Packets/ServerBound/PingPacket.cs +++ b/TcpDotNet/Protocol/Packets/ServerBound/PingPacket.cs @@ -1,4 +1,4 @@ -using System.Security.Cryptography; +using System.Security.Cryptography; namespace TcpDotNet.Protocol.Packets.ServerBound; diff --git a/TcpDotNet/Protocol/ProtocolReader.cs b/TcpDotNet/Protocol/ProtocolReader.cs index 36df3bb..e9b5e53 100644 --- a/TcpDotNet/Protocol/ProtocolReader.cs +++ b/TcpDotNet/Protocol/ProtocolReader.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Numerics; using System.Runtime.InteropServices; using System.Text; diff --git a/TcpDotNet/Protocol/ProtocolWriter.cs b/TcpDotNet/Protocol/ProtocolWriter.cs index f667a30..920b867 100644 --- a/TcpDotNet/Protocol/ProtocolWriter.cs +++ b/TcpDotNet/Protocol/ProtocolWriter.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Numerics; using System.Runtime.InteropServices; using System.Text; diff --git a/TcpDotNet/Protocol/RequestPacket.cs b/TcpDotNet/Protocol/RequestPacket.cs index 42f3bcf..f1ebe51 100644 --- a/TcpDotNet/Protocol/RequestPacket.cs +++ b/TcpDotNet/Protocol/RequestPacket.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol; +namespace TcpDotNet.Protocol; /// /// Represents a request packet, which forms a request/response packet pair. diff --git a/TcpDotNet/Protocol/ResponsePacket.cs b/TcpDotNet/Protocol/ResponsePacket.cs index 7aade8b..87a4f8c 100644 --- a/TcpDotNet/Protocol/ResponsePacket.cs +++ b/TcpDotNet/Protocol/ResponsePacket.cs @@ -1,4 +1,4 @@ -namespace TcpDotNet.Protocol; +namespace TcpDotNet.Protocol; /// /// Represents a response packet, which forms a request/response packet pair. diff --git a/TcpDotNet/ProtocolClient.cs b/TcpDotNet/ProtocolClient.cs index e510ca3..f9a464f 100644 --- a/TcpDotNet/ProtocolClient.cs +++ b/TcpDotNet/ProtocolClient.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Net.Sockets; using System.Security.Cryptography; using TcpDotNet.EventData; diff --git a/TcpDotNet/ProtocolListener.cs b/TcpDotNet/ProtocolListener.cs index 335d313..4787449 100644 --- a/TcpDotNet/ProtocolListener.cs +++ b/TcpDotNet/ProtocolListener.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Net.Sockets; using System.Security.Cryptography; using TcpDotNet.EventData;