From 6e6d6c48fbeacb06312cf96a8506a3074db13a24 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Mon, 19 Jul 2021 12:48:58 +0100 Subject: [PATCH] (#14) Declare using directives outside of namespace --- X10D.Tests/src/Core/BooleanTests.cs | 5 +++-- X10D.Tests/src/Core/ByteTests.cs | 6 ++---- X10D.Tests/src/Core/CharTests.cs | 6 ++---- X10D.Tests/src/Core/ComparableTests.cs | 4 ++-- X10D.Tests/src/Core/StringTests.cs | 8 ++++---- X10D.Unity/src/GameObjectExtensions.cs | 10 +++++----- X10D.Unity/src/Vector3Extensions.cs | 5 +++-- 7 files changed, 21 insertions(+), 23 deletions(-) diff --git a/X10D.Tests/src/Core/BooleanTests.cs b/X10D.Tests/src/Core/BooleanTests.cs index 15bad0f..5418058 100644 --- a/X10D.Tests/src/Core/BooleanTests.cs +++ b/X10D.Tests/src/Core/BooleanTests.cs @@ -1,7 +1,8 @@ +using System; +using Microsoft.VisualStudio.TestTools.UnitTesting; + namespace X10D.Tests.Core { - using Microsoft.VisualStudio.TestTools.UnitTesting; - /// /// Tests for . /// diff --git a/X10D.Tests/src/Core/ByteTests.cs b/X10D.Tests/src/Core/ByteTests.cs index e97061a..d33625d 100644 --- a/X10D.Tests/src/Core/ByteTests.cs +++ b/X10D.Tests/src/Core/ByteTests.cs @@ -1,9 +1,7 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; + namespace X10D.Tests.Core { - using System.Collections.Generic; - using System.Text; - using Microsoft.VisualStudio.TestTools.UnitTesting; - /// /// Tests for . /// diff --git a/X10D.Tests/src/Core/CharTests.cs b/X10D.Tests/src/Core/CharTests.cs index d462d59..1f4efe7 100644 --- a/X10D.Tests/src/Core/CharTests.cs +++ b/X10D.Tests/src/Core/CharTests.cs @@ -1,9 +1,7 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; + namespace X10D.Tests.Core { - using System; - using System.Linq; - using Microsoft.VisualStudio.TestTools.UnitTesting; - /// /// Tests for . /// diff --git a/X10D.Tests/src/Core/ComparableTests.cs b/X10D.Tests/src/Core/ComparableTests.cs index c477f9d..5c7570e 100644 --- a/X10D.Tests/src/Core/ComparableTests.cs +++ b/X10D.Tests/src/Core/ComparableTests.cs @@ -1,7 +1,7 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; + namespace X10D.Tests.Core { - using Microsoft.VisualStudio.TestTools.UnitTesting; - /// /// Tests for . /// diff --git a/X10D.Tests/src/Core/StringTests.cs b/X10D.Tests/src/Core/StringTests.cs index 6d58576..2efbb5a 100644 --- a/X10D.Tests/src/Core/StringTests.cs +++ b/X10D.Tests/src/Core/StringTests.cs @@ -1,8 +1,8 @@ -namespace X10D.Tests.Core -{ - using System.Linq; - using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using Microsoft.VisualStudio.TestTools.UnitTesting; +namespace X10D.Tests.Core +{ /// /// Tests for . /// diff --git a/X10D.Unity/src/GameObjectExtensions.cs b/X10D.Unity/src/GameObjectExtensions.cs index 3341e87..81d171b 100644 --- a/X10D.Unity/src/GameObjectExtensions.cs +++ b/X10D.Unity/src/GameObjectExtensions.cs @@ -1,9 +1,9 @@ -namespace X10D.Unity -{ - using System; - using JetBrains.Annotations; - using UnityEngine; +using System; +using JetBrains.Annotations; +using UnityEngine; +namespace X10D.Unity +{ /// /// Extension methods for . /// diff --git a/X10D.Unity/src/Vector3Extensions.cs b/X10D.Unity/src/Vector3Extensions.cs index 3f9b1eb..cec8f9e 100644 --- a/X10D.Unity/src/Vector3Extensions.cs +++ b/X10D.Unity/src/Vector3Extensions.cs @@ -1,6 +1,7 @@ -namespace X10D.Unity +using UnityEngine; + +namespace X10D.Unity { - using UnityEngine; /// /// Extension methods for .