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

Enable implicit usings in test projects #266

Merged
merged 1 commit into from
Mar 27, 2025
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
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions build-support/nuke-build/Build.Publish.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
Expand Down
6 changes: 6 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@

</PropertyGroup>

<ItemGroup>
<Using Include="Common.Logging" />
<Using Include="Common.Logging.ILog" Alias="ILog" />
<Using Include="Common.Logging.LogManager" Alias="LogManager" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using System.Collections;
using System.Reflection;
using AopAlliance.Intercept;
using Common.Logging;
using Spring.Util;

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#endregion

using Common.Logging;

using Spring.Core;
using Spring.Objects.Factory;
using Spring.Objects.Factory.Config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
using System.Reflection;

using AopAlliance.Aop;

using Common.Logging;

using Spring.Aop.Framework.Adapter;
using Spring.Aop.Target;
using Spring.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#endregion

using Common.Logging;
using Spring.Objects.Factory;
using Spring.Objects.Factory.Config;
using Spring.Util;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#region Imports

using Common.Logging;
using Spring.Aop.Target;
using Spring.Objects.Factory;
using Spring.Objects.Factory.Support;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

using System.Text;
using System.Collections;

using Common.Logging;
using Spring.Proxy;

#endregion
Expand Down
3 changes: 0 additions & 3 deletions src/Spring/Spring.Aop/Aop/Framework/ProxyFactoryObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

using AopAlliance.Aop;
using AopAlliance.Intercept;

using Common.Logging;

using Spring.Aop.Framework.Adapter;
using Spring.Aop.Support;
using Spring.Aop.Target;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using Common.Logging;
using Spring.Util;

namespace Spring.Aop.Support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

#region Imports

using Common.Logging;

using Spring.Objects.Factory;
using Spring.Util;

Expand Down
1 change: 0 additions & 1 deletion src/Spring/Spring.Aop/Aspects/AbstractExceptionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#endregion

using System.Collections;
using Common.Logging;
using Spring.Expressions;

namespace Spring.Aspects
Expand Down
3 changes: 0 additions & 3 deletions src/Spring/Spring.Aop/Aspects/Cache/BaseCacheAdvice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#region Imports

using System.Reflection;

using Common.Logging;

using Spring.Caching;
using Spring.Context;
using Spring.Expressions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
using System.Reflection;

using AopAlliance.Intercept;

using Common.Logging;

using Spring.Util;

namespace Spring.Aspects.Exceptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#endregion

using Common.Logging;

using Spring.Expressions;

namespace Spring.Aspects.Exceptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
using System.Reflection;
using System.Runtime.Serialization;
using AopAlliance.Intercept;
using Common.Logging;
using Spring.Aop.Framework;

namespace Spring.Aspects.Logging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
using System.Reflection;
using System.Text;
using AopAlliance.Intercept;
using Common.Logging;

namespace Spring.Aspects.Logging
{
Expand Down
3 changes: 0 additions & 3 deletions src/Spring/Spring.Aop/Aspects/RetryAdvice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

using System.Text.RegularExpressions;
using AopAlliance.Intercept;

using Common.Logging;

using Spring.Core.TypeConversion;
using Spring.Expressions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#endregion

using System.Reflection;
using Common.Logging;
using Spring.Context.Attributes.TypeFilters;
using Spring.Util;
using Spring.Objects.Factory.Xml;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

using System.Collections;
using System.Reflection;
using Common.Logging;
using Spring.Util;

namespace Spring.Context.Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
using Spring.Objects.Factory.Config;
using Spring.Util;
using Spring.Proxy;
using Common.Logging;

namespace Spring.Context.Attributes
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#region

using System.Reflection;

using Common.Logging;

using Spring.Core.TypeResolution;
using Spring.Objects.Factory.Config;
using Spring.Objects.Factory.Parsing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#endregion

using Common.Logging;

using Spring.Core;
using Spring.Objects.Factory;
using Spring.Objects.Factory.Parsing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#endregion

using Common.Logging;

using Spring.Objects;
using Spring.Objects.Factory.Config;
using Spring.Objects.Factory.Support;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#endregion

using Spring.Core.TypeResolution;
using Common.Logging;

namespace Spring.Context.Attributes.TypeFilters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#endregion

using Common.Logging;
using Spring.Core.TypeResolution;
using Spring.Util;
using Spring.Objects.Factory.Support;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#region License

/*
* Copyright � 2010-2011 the original author or authors.
* Copyright � 2010-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -20,7 +20,6 @@

using System.ComponentModel;
using System.Xml;
using Common.Logging;
using Spring.Context.Attributes;
using Spring.Context.Attributes.TypeFilters;
using Spring.Objects.Factory.Config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

using System.Diagnostics;
using System.Globalization;
using Common.Logging;
using Spring.Context.Events;
using Spring.Core;
using Spring.Core.IO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#endregion

using System.Globalization;
using Common.Logging;

namespace Spring.Context.Support
{
Expand Down
2 changes: 0 additions & 2 deletions src/Spring/Spring.Core/Context/Support/ContextHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
using System.Configuration;
using System.Reflection;
using System.Xml;

using Common.Logging;
using Spring.Core;
using Spring.Core.TypeResolution;
using Spring.Reflection.Dynamic;
Expand Down
2 changes: 0 additions & 2 deletions src/Spring/Spring.Core/Context/Support/ContextRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#endregion

using Common.Logging;

using Spring.Context.Events;
using Spring.Util;

Expand Down
1 change: 0 additions & 1 deletion src/Spring/Spring.Core/Core/IO/AssemblyResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

using System.Globalization;
using System.Reflection;
using Common.Logging;

#endregion

Expand Down
1 change: 0 additions & 1 deletion src/Spring/Spring.Core/Core/IO/ResourceConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

using System.ComponentModel;
using System.Globalization;
using Common.Logging;
using Spring.Util;

#endregion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using Common.Logging;
using Spring.Globalization;
using Spring.Validation;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
using System.Collections;
using System.Globalization;
using System.Resources;
using Common.Logging;
using Spring.Context;
using Spring.Context.Support;
using Spring.Expressions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
using Spring.Collections;
using Spring.Core;
using Spring.Objects.Factory.Config;

using Common.Logging;

using Spring.Objects.Factory.Support;
using Spring.Util;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
#endregion

using System.Reflection;

using Common.Logging;

using Spring.Objects.Factory.Config;
using Spring.Core;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#endregion

using System.Reflection;
using Common.Logging;
using Spring.Objects.Factory.Support;

namespace Spring.Objects.Factory.Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
using System.Reflection;
using System.Runtime.InteropServices;
using System.Xml;

using Common.Logging;

using Spring.Core.IO;
using Spring.Core.TypeResolution;
using Spring.Util;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#endregion

using Common.Logging;
using Spring.Util;

namespace Spring.Objects.Factory.Config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

using System.Collections.Specialized;
using System.Globalization;
using Common.Logging;

namespace Spring.Objects.Factory.Config
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

using System.Collections.Specialized;
using System.Globalization;

using Common.Logging;

using Spring.Collections;
using Spring.Util;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

using System.Collections.Specialized;
using System.Globalization;
using Common.Logging;
using Spring.Core;
using Spring.Core.IO;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#endregion

using System.Collections;

using Common.Logging;
using Spring.Core;
using Spring.Util;

Expand Down
Loading