Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removes unnecessary and implicit usings from intersect core #2307

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions Intersect (Core)/Admin/Actions/WarpToLocationAction.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using MessagePack;
using MessagePack;

namespace Intersect.Admin.Actions
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Admin/Actions/WarpToMapAction.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using MessagePack;
using MessagePack;

namespace Intersect.Admin.Actions
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/AlphanumComparatorFast.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections;

namespace Intersect
{
Expand Down
4 changes: 0 additions & 4 deletions Intersect (Core)/Async/AsyncValueGenerator`1.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;

namespace Intersect.Async
{
public partial class AsyncValueGenerator<TValue> : IDisposable
Expand Down
3 changes: 0 additions & 3 deletions Intersect (Core)/Async/CancellableGenerator`1.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Threading;

namespace Intersect.Async
{
public partial class CancellableGenerator<TValue> : IDisposable
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Collections/DatabaseObjectLookup.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Text;

using Intersect.Logging;
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Collections/IGameObjectLookup.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Models;
using Intersect.Models;

namespace Intersect.Collections
{
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Collections/ILookup.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

namespace Intersect.Collections
namespace Intersect.Collections
{

public interface ILookup<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Collections/NamedInstanceStore.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Concurrent;

namespace Intersect.Collections
{
Expand Down
1 change: 0 additions & 1 deletion Intersect (Core)/Collections/ReadOnlyList.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections;
using System.Collections.Generic;

namespace Intersect.Collections
{
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Collections/Sanitizer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

using Intersect.Extensions;
using Intersect.Extensions;

namespace Intersect.Collections
{
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Collections/SingleOrList.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Collections;

namespace Intersect.Collections
{
Expand Down
3 changes: 0 additions & 3 deletions Intersect (Core)/Color.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

using Intersect.Localization;
using MessagePack;

Expand Down
15 changes: 4 additions & 11 deletions Intersect (Core)/Compression/AssetPacker.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

using Newtonsoft.Json;

using Intersect.Extensions;

namespace Intersect.Compression
{
/// <summary>
/// Allows for packaging up assets and extracting them from packaged files.
/// </summary>
public sealed partial class AssetPacker : IDisposable
/// <summary>
/// Allows for packaging up assets and extracting them from packaged files.
/// </summary>
public sealed partial class AssetPacker : IDisposable
{

/// <summary>
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Compression/GzipCompression.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.IO.Compression;
using System.Security.Cryptography;
using System.Text;

Expand Down
5 changes: 0 additions & 5 deletions Intersect (Core)/Compression/LZ4.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using K4os.Compression.LZ4;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Intersect.Compression
{
Expand Down
8 changes: 1 addition & 7 deletions Intersect (Core)/Config/BankOptions.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Intersect.Config
namespace Intersect.Config
{
public partial class BankOptions
{
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Config/EquipmentOptions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization;

namespace Intersect.Config
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Config/Guilds/GuildOptions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization;

namespace Intersect.Config.Guilds
{
Expand Down
2 changes: 0 additions & 2 deletions Intersect (Core)/Config/ItemOptions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Generic;

using Newtonsoft.Json;

namespace Intersect.Config
Expand Down
5 changes: 0 additions & 5 deletions Intersect (Core)/Config/LayerOptions.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Intersect.Config
{
Expand Down
7 changes: 0 additions & 7 deletions Intersect (Core)/Config/LoggingOptions.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using Intersect.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Intersect.Config
{
Expand Down
3 changes: 0 additions & 3 deletions Intersect (Core)/Config/Options.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;
using System.IO;

using Intersect.Config;
using Intersect.Config.Guilds;
using Intersect.Logging;
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Config/PaperdollOptions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization;

using Newtonsoft.Json;

Expand Down
1 change: 0 additions & 1 deletion Intersect (Core)/Config/ProcessingOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Runtime.Serialization;

namespace Intersect.Config
Expand Down
1 change: 0 additions & 1 deletion Intersect (Core)/Config/QuestOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Intersect.Config
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Config/SecurityOptions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

using Newtonsoft.Json;
using Newtonsoft.Json;

namespace Intersect.Config
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Configuration/ConfigurationHelper.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.IO;
using System.Text;
using System.Text;

using Intersect.IO.Files;
using Intersect.Logging;
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Console.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.IO;
using System.Text;
using System.Text;

using Intersect.IO;

Expand Down
8 changes: 0 additions & 8 deletions Intersect (Core)/Core/ApplicationContext`2.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
using Intersect.Logging;
using Intersect.Reflection;
using Intersect.Threading;

using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;

using Intersect.Properties;
using Intersect.Plugins.Interfaces;
Expand Down
2 changes: 0 additions & 2 deletions Intersect (Core)/Core/ApplicationService`2.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

using Microsoft;

using System;

namespace Intersect.Core
{
/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Intersect (Core)/Core/ApplicationService`3.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

using Microsoft;

using System;

namespace Intersect.Core
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection;
using System.Text;

using Intersect.Extensions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection;

namespace Intersect.Core.ExperimentalFeatures
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Core.ExperimentalFeatures
namespace Intersect.Core.ExperimentalFeatures
{

[Serializable]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Utilities;
using Intersect.Utilities;

using Newtonsoft.Json;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Core.ExperimentalFeatures
namespace Intersect.Core.ExperimentalFeatures
{

public partial struct ExperimentalFlagAlias : IExperimentalFlag
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Core.ExperimentalFeatures
namespace Intersect.Core.ExperimentalFeatures
{

[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Newtonsoft.Json;
using Newtonsoft.Json;

namespace Intersect.Core.ExperimentalFeatures
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Core.ExperimentalFeatures
namespace Intersect.Core.ExperimentalFeatures
{

public interface IExperimentalFlag : IEquatable<IExperimentalFlag>
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Core/ExperimentalFeatures/IFlagProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Core.ExperimentalFeatures
namespace Intersect.Core.ExperimentalFeatures
{

public interface IFlagProvider
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Core/IApplicationContext.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

using Intersect.Logging;
using Intersect.Logging;
using Intersect.Plugins.Interfaces;
using Intersect.Threading;

Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Core/IApplicationService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

using System;

namespace Intersect.Core
namespace Intersect.Core
{
/// <summary>
/// Declares the API surface for application services.
Expand Down
4 changes: 1 addition & 3 deletions Intersect (Core)/Core/ICommandLineOptions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace Intersect.Core
namespace Intersect.Core
{
/// <summary>
/// Declares the common basic command line options for all applications.
Expand Down
5 changes: 1 addition & 4 deletions Intersect (Core)/Core/IThreadableApplicationService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

using System.Threading;

namespace Intersect.Core
namespace Intersect.Core
{
/// <summary>
/// Declares the API surface for application services that have their own thread.
Expand Down
Loading
Loading