Skip to content

Commit

Permalink
Enable ImplicitUsings
Browse files Browse the repository at this point in the history
  • Loading branch information
Romfos committed Nov 30, 2023
1 parent cb1323b commit bc6616a
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 40 deletions.
1 change: 1 addition & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

</Project>
1 change: 0 additions & 1 deletion src/TestFixture.Tests/ClassTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using TestFixture.Tests.Services;

namespace TestFixture.Tests;
Expand Down
3 changes: 0 additions & 3 deletions src/TestFixture.Tests/CollectionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using TestFixture.Tests.Services;

namespace TestFixture.Tests;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture.Tests/PrimitiveTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using TestFixture.Tests.Services;

namespace TestFixture.Tests;
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture.Tests/Services/TestFixtureBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using NSubstitute;
using System;
using System.Collections.Generic;
using TestFixture.Services;

namespace TestFixture.Tests.Services;
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/Factories/Collections/ArrayFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Linq;

namespace TestFixture.Factories.Collections;

internal sealed class ArrayFactory<T> : IFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;
using System.Linq;

namespace TestFixture.Factories.Collections;

internal sealed class AsyncEnumerableFactory<T> : IFactory
Expand Down
3 changes: 0 additions & 3 deletions src/TestFixture/Factories/Collections/DictionaryFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;
using System.Linq;

namespace TestFixture.Factories.Collections;

internal sealed class DictionaryFactory<TKey, TValue> : IFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Collections.Immutable;

namespace TestFixture.Factories.Collections.Immutable;
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/Factories/Collections/ListFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Linq;

namespace TestFixture.Factories.Collections;

internal sealed class ListFactory<T> : IFactory
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/Factories/DefaultClassFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Linq;
using System.Reflection;

namespace TestFixture.Factories;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Factories/EnumFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Services;

namespace TestFixture.Factories;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Factories/Primitives/FloatFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Services;

namespace TestFixture.Factories.Primitives;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Factories/System/DateOnlyFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Services;

namespace TestFixture.Factories.System;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Factories/System/DateTimeOffsetFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Services;

namespace TestFixture.Factories.System;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Factories/System/TimeOnlyFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Services;

namespace TestFixture.Factories.Primitives;
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/Factories/System/UriFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace TestFixture.Factories.System;

internal sealed class UriFactory : IFactory
Expand Down
3 changes: 0 additions & 3 deletions src/TestFixture/Fixture.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using TestFixture.Factories;
using TestFixture.Providers;

Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Providers/ArrayFactoryProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Factories;
using TestFixture.Factories.Collections;

Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Providers/EnumFactoryProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Factories;

namespace TestFixture.Providers;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Providers/GenericFactoryProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Factories;

namespace TestFixture.Providers;
Expand Down
1 change: 0 additions & 1 deletion src/TestFixture/Providers/IFactoryProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using TestFixture.Factories;

namespace TestFixture.Providers;
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/Services/IRandomService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace TestFixture.Services;

public interface IRandomService
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/Services/RandomService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace TestFixture.Services;

public sealed class RandomService : IRandomService
Expand Down
2 changes: 0 additions & 2 deletions src/TestFixture/SharedFixtureState.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.Immutable;
using TestFixture.Factories;
using TestFixture.Factories.Collections;
Expand Down

0 comments on commit bc6616a

Please sign in to comment.