Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 5, 2024
1 parent 9e834bc commit 2653b68
Show file tree
Hide file tree
Showing 143 changed files with 67 additions and 351 deletions.
4 changes: 1 addition & 3 deletions Catel/Anotar.Catel.Fody/LogForwardingProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Rocks;
using Mono.Cecil.Cil;

Expand Down
4 changes: 1 addition & 3 deletions Catel/Anotar.Catel.Fody/ModuleWeaver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using Fody;
using Fody;

public partial class ModuleWeaver:BaseModuleWeaver
{
Expand Down
5 changes: 1 addition & 4 deletions Catel/Anotar.Catel.Fody/OnExceptionProcessor.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 Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;

Expand Down
4 changes: 1 addition & 3 deletions Catel/Anotar.Catel.Fody/TypeProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;

Expand Down
1 change: 0 additions & 1 deletion Catel/Anotar.Catel.Fody/TypeResolver.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using Mono.Cecil;

public partial class ModuleWeaver
Expand Down
2 changes: 0 additions & 2 deletions Catel/Anotar.Catel/LogMinimalMessageAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Catel;

/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions Catel/Anotar.Catel/LogTo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using JetBrains.Annotations;
using JetBrains.Annotations;

namespace Anotar.Catel;

Expand Down
2 changes: 0 additions & 2 deletions Catel/Anotar.Catel/LogToDebugOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Catel;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Catel/Anotar.Catel/LogToErrorOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Catel;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Catel/Anotar.Catel/LogToInfoOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Catel;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Catel/Anotar.Catel/LogToWarningOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Catel;

/// <summary>
Expand Down
3 changes: 0 additions & 3 deletions Catel/AssemblyToProcess/ClassWithCompilerGeneratedClasses.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Anotar.Catel;
#pragma warning disable 1998

Expand Down
3 changes: 1 addition & 2 deletions Catel/AssemblyToProcess/Issues.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.IO;
using Anotar.Catel;
using Anotar.Catel;
// ReSharper disable RedundantAssignment

public class Issues
Expand Down
1 change: 0 additions & 1 deletion Catel/AssemblyToProcess/OnException.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Diagnostics;
using Anotar.Catel;

Expand Down
1 change: 0 additions & 1 deletion Catel/AssemblyToProcess/ReturnFixerTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Diagnostics;
using Anotar.Catel;
// ReSharper disable UnusedVariable
Expand Down
7 changes: 1 addition & 6 deletions Catel/Tests/CatelTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Reflection;
using Catel.Logging;
using Fody;
using Xunit;

public class CatelTests
{
Expand Down
3 changes: 1 addition & 2 deletions Catel/Tests/LogListener.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Catel.Logging;
using Catel.Logging;

public class LogListener : LogListenerBase
{
Expand Down
3 changes: 1 addition & 2 deletions Common/AsyncChecker.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using Fody;
using Fody;
using Mono.Cecil;

public static class AsyncChecker
Expand Down
2 changes: 0 additions & 2 deletions Common/CecilExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Generic;
using System.Linq;
using Fody;
using Mono.Cecil;
using Mono.Cecil.Cil;
Expand Down
3 changes: 1 addition & 2 deletions Common/ParamsFormatBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text;
using System.Text;
using Mono.Cecil;
using Mono.Cecil.Cil;

Expand Down
4 changes: 1 addition & 3 deletions Common/StringFormatMethodAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace JetBrains.Annotations;
namespace JetBrains.Annotations;

/// <summary>
/// Not for external use.
Expand Down
1 change: 0 additions & 1 deletion Common/SystemTypesResolver.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using Fody;
using Mono.Cecil;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Rocks;
using Mono.Cecil.Cil;

Expand Down
4 changes: 1 addition & 3 deletions CommonLogging/Anotar.CommonLogging.Fody/ModuleWeaver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using Fody;
using Fody;

public partial class ModuleWeaver : BaseModuleWeaver
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;

Expand Down
4 changes: 1 addition & 3 deletions CommonLogging/Anotar.CommonLogging.Fody/TypeProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;

public partial class ModuleWeaver
Expand Down
1 change: 0 additions & 1 deletion CommonLogging/Anotar.CommonLogging.Fody/TypeResolver.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using Mono.Cecil;

public partial class ModuleWeaver
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions CommonLogging/Anotar.CommonLogging/LogTo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using JetBrains.Annotations;
using JetBrains.Annotations;

namespace Anotar.CommonLogging;

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

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.CommonLogging;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Anotar.CommonLogging;
#pragma warning disable 1998

Expand Down
1 change: 0 additions & 1 deletion CommonLogging/AssemblyToProcess/ClassWithException.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Anotar.CommonLogging;
#pragma warning disable 1998

Expand Down
1 change: 0 additions & 1 deletion CommonLogging/AssemblyToProcess/ClassWithWhileMethod.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Anotar.CommonLogging;

public class ClassWithWhileMethod
Expand Down
3 changes: 1 addition & 2 deletions CommonLogging/AssemblyToProcess/Issues.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.IO;
using Anotar.CommonLogging;
using Anotar.CommonLogging;
// ReSharper disable NotAccessedVariable
// ReSharper disable RedundantAssignment

Expand Down
1 change: 0 additions & 1 deletion CommonLogging/AssemblyToProcess/OnException.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Diagnostics;
using Anotar.CommonLogging;

Expand Down
1 change: 0 additions & 1 deletion CommonLogging/AssemblyToProcess/ReturnFixerTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Diagnostics;
using Anotar.CommonLogging;
// ReSharper disable UnusedVariable
Expand Down
4 changes: 1 addition & 3 deletions CommonLogging/Tests/ActionAdapter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using Common.Logging;
using Common.Logging;

public class ActionAdapter : ILoggerFactoryAdapter
{
Expand Down
3 changes: 1 addition & 2 deletions CommonLogging/Tests/ActionLog.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Common.Logging;
using Common.Logging;

public class ActionLog : ILog
{
Expand Down
5 changes: 0 additions & 5 deletions CommonLogging/Tests/CommonLoggingTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Common.Logging;
using Fody;
using Xunit;

public class CommonLoggingTests
{
Expand Down
4 changes: 1 addition & 3 deletions CommonLogging/Tests/LogEvent.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

public class LogEvent
public class LogEvent
{
public object[] Args;
public string Format;
Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom.Fody/Lazy.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public class Lazy<T> where T : class
{
Func<T> func;
Expand Down
4 changes: 1 addition & 3 deletions Custom/Anotar.Custom.Fody/LogForwardingProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Rocks;
using Mono.Cecil.Cil;

Expand Down
1 change: 0 additions & 1 deletion Custom/Anotar.Custom.Fody/LoggerFactoryFinder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using Fody;
using Mono.Cecil;

Expand Down
4 changes: 1 addition & 3 deletions Custom/Anotar.Custom.Fody/ModuleWeaver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using Fody;
using Fody;

public partial class ModuleWeaver: BaseModuleWeaver
{
Expand Down
5 changes: 1 addition & 4 deletions Custom/Anotar.Custom.Fody/OnExceptionProcessor.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 Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;

Expand Down
4 changes: 1 addition & 3 deletions Custom/Anotar.Custom.Fody/TypeProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;

Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom/LogMinimalMessageAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Custom;

/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions Custom/Anotar.Custom/LogTo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using JetBrains.Annotations;
using JetBrains.Annotations;

namespace Anotar.Custom;

Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom/LogToDebugOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Custom;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom/LogToErrorOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Custom;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom/LogToFatalOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Custom;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom/LogToInformationOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Custom;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions Custom/Anotar.Custom/LogToTraceOnExceptionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Anotar.Custom;

/// <summary>
Expand Down
Loading

0 comments on commit 2653b68

Please sign in to comment.