diff --git a/QuickFIXn/Fields/Fields.cs b/QuickFIXn/Fields/Fields.cs index 7ab9b1af0..a1f7ee6af 100644 --- a/QuickFIXn/Fields/Fields.cs +++ b/QuickFIXn/Fields/Fields.cs @@ -1,8 +1,6 @@ // This is a generated file. Don't edit it directly! using System; -using SeqNumType = System.UInt64; -using SeqNumFieldType = QuickFix.Fields.ULongField; namespace QuickFix.Fields { diff --git a/QuickFIXn/FileStore.cs b/QuickFIXn/FileStore.cs index c6faf9c11..afb221af7 100755 --- a/QuickFIXn/FileStore.cs +++ b/QuickFIXn/FileStore.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Text; using QuickFix.Util; -using SeqNumType = System.UInt64; namespace QuickFix { diff --git a/QuickFIXn/GlobalUsing.cs b/QuickFIXn/GlobalUsing.cs new file mode 100644 index 000000000..7747ec155 --- /dev/null +++ b/QuickFIXn/GlobalUsing.cs @@ -0,0 +1,2 @@ +global using SeqNumType = System.UInt64; +global using SeqNumFieldType = QuickFix.Fields.ULongField; diff --git a/QuickFIXn/HttpServer.cs b/QuickFIXn/HttpServer.cs index 0b83c151a..66161d173 100644 --- a/QuickFIXn/HttpServer.cs +++ b/QuickFIXn/HttpServer.cs @@ -5,7 +5,6 @@ using System.Threading; using System.Web; using QuickFix; -using SeqNumType = System.UInt64; namespace Acceptor { diff --git a/QuickFIXn/IMessageStore.cs b/QuickFIXn/IMessageStore.cs index 063d6d86a..a4657ccd9 100755 --- a/QuickFIXn/IMessageStore.cs +++ b/QuickFIXn/IMessageStore.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using System; -using SeqNumType = System.UInt64; namespace QuickFix { diff --git a/QuickFIXn/MemoryStore.cs b/QuickFIXn/MemoryStore.cs index 2a9e77c4d..a32a25af3 100755 --- a/QuickFIXn/MemoryStore.cs +++ b/QuickFIXn/MemoryStore.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using SeqNumType = System.UInt64; namespace QuickFix { diff --git a/QuickFIXn/ResendRange.cs b/QuickFIXn/ResendRange.cs index 1469ba18c..0ed685e1d 100755 --- a/QuickFIXn/ResendRange.cs +++ b/QuickFIXn/ResendRange.cs @@ -1,6 +1,4 @@ -using SeqNumType = System.UInt64; - -namespace QuickFix +namespace QuickFix { public class ResendRange { diff --git a/QuickFIXn/Session.cs b/QuickFIXn/Session.cs index 5a709c674..128dae377 100755 --- a/QuickFIXn/Session.cs +++ b/QuickFIXn/Session.cs @@ -3,7 +3,6 @@ using System.Threading; using QuickFix.Fields; using QuickFix.Fields.Converters; -using SeqNumType = System.UInt64; namespace QuickFix { diff --git a/QuickFIXn/SessionState.cs b/QuickFIXn/SessionState.cs index 50b8e2f72..5563a4ada 100755 --- a/QuickFIXn/SessionState.cs +++ b/QuickFIXn/SessionState.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using MessagesBySeqNum = System.Collections.Generic.Dictionary; -using SeqNumType = System.UInt64; namespace QuickFix { diff --git a/UnitTests/GlobalUsing.cs b/UnitTests/GlobalUsing.cs new file mode 100644 index 000000000..7747ec155 --- /dev/null +++ b/UnitTests/GlobalUsing.cs @@ -0,0 +1,2 @@ +global using SeqNumType = System.UInt64; +global using SeqNumFieldType = QuickFix.Fields.ULongField; diff --git a/UnitTests/SessionStateTest.cs b/UnitTests/SessionStateTest.cs index 5b82068f9..d16747b06 100755 --- a/UnitTests/SessionStateTest.cs +++ b/UnitTests/SessionStateTest.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.IO; using System.Threading; -using SeqNumType = System.UInt64; namespace UnitTests { diff --git a/UnitTests/SessionTest.cs b/UnitTests/SessionTest.cs index 597682d30..ccfa316f4 100755 --- a/UnitTests/SessionTest.cs +++ b/UnitTests/SessionTest.cs @@ -4,7 +4,6 @@ using System.Text.RegularExpressions; using NUnit.Framework; using System.Threading; -using SeqNumType = System.UInt64; namespace UnitTests {