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 f3f0846 commit 3c04aaa
Show file tree
Hide file tree
Showing 29 changed files with 1 addition and 57 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace AutoTests.Framework.Components.Attributes;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace AutoTests.Framework.Components.Attributes;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace AutoTests.Framework.Components.Attributes;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Expand Down
4 changes: 0 additions & 4 deletions src/AutoTests.Framework.Components/ComponentsSteps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
using AutoTests.Framework.Components.Contracts;
using AutoTests.Framework.Components.Services;
using AutoTests.Framework.Expressions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Components;
Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Components/Contracts/IClick.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Threading.Tasks;

namespace AutoTests.Framework.Components.Contracts;

public interface IClick
Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Components/Contracts/IEnabled.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Threading.Tasks;

namespace AutoTests.Framework.Components.Contracts;

public interface IEnabled
Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Components/Contracts/IGetValue.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Threading.Tasks;

namespace AutoTests.Framework.Components.Contracts;

public interface IGetValue
Expand Down
1 change: 0 additions & 1 deletion src/AutoTests.Framework.Components/Contracts/ISetValue.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using AutoTests.Framework.Expressions;
using System.Threading.Tasks;

namespace AutoTests.Framework.Components.Contracts;

Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Components/Contracts/IVisible.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Threading.Tasks;

namespace AutoTests.Framework.Components.Contracts;

public interface IVisible
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using AutoTests.Framework.Components.Application;
using AutoTests.Framework.Components.Attributes;
using BoDi;
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.Json;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using AutoTests.Framework.Components.Application;
using AutoTests.Framework.Components.Attributes;
using System;
using System.Linq;
using System.Reflection;

namespace AutoTests.Framework.Components.Services;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using AutoTests.Framework.Components.Attributes;
using AutoTests.Framework.Components.Contracts;
using Microsoft.Playwright;
using System;
using System.Threading.Tasks;

namespace AutoTests.Framework.Playwright.Components;

Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Playwright/Components/TrivialInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using AutoTests.Framework.Components.Contracts;
using AutoTests.Framework.Expressions;
using Microsoft.Playwright;
using System;
using System.Threading.Tasks;

namespace AutoTests.Framework.Playwright.Components;

Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Playwright/Components/TrivialLabel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using AutoTests.Framework.Components.Attributes;
using AutoTests.Framework.Components.Contracts;
using Microsoft.Playwright;
using System;
using System.Threading.Tasks;

namespace AutoTests.Framework.Playwright.Components;

Expand Down
1 change: 0 additions & 1 deletion src/AutoTests.Framework.Playwright/NavigationSteps.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using AutoTests.Framework.Expressions;
using Microsoft.Playwright;
using System.Threading.Tasks;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Playwright;
Expand Down
1 change: 0 additions & 1 deletion src/AutoTests.Framework.Playwright/PlaywrightHooks.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using BoDi;
using Microsoft.Playwright;
using System.Threading.Tasks;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Playwright;
Expand Down
1 change: 0 additions & 1 deletion src/AutoTests.Framework.Tests/Components/Model/Button.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using AutoTests.Framework.Components.Contracts;
using System.Threading.Tasks;

namespace AutoTests.Framework.Tests.Components.Model;

Expand Down
1 change: 0 additions & 1 deletion src/AutoTests.Framework.Tests/Components/Model/Input.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using AutoTests.Framework.Components.Contracts;
using AutoTests.Framework.Expressions;
using System.Threading.Tasks;

namespace AutoTests.Framework.Tests.Components.Model;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using AutoTests.Framework.Components.Attributes;
using AutoTests.Framework.Components.Contracts;
using System.Threading.Tasks;

namespace AutoTests.Framework.Tests.Components.Model;

Expand Down
1 change: 0 additions & 1 deletion src/AutoTests.Framework.Tests/Expressions/Steps.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using AutoTests.Framework.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Tests.Expressions;
Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework.Tests/Models/Steps.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using AutoTests.Framework.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Threading.Tasks;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Tests.Models;
Expand Down
4 changes: 0 additions & 4 deletions src/AutoTests.Framework/Data/DataLoader.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.Json;
using System.Text.RegularExpressions;
Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework/Expressions/ArgumentExpression.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Threading.Tasks;

namespace AutoTests.Framework.Expressions;

public sealed class ArgumentExpression(IExpressionService expressionService, string text)
Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework/Expressions/IExpressionService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Threading.Tasks;

namespace AutoTests.Framework.Expressions;

public interface IExpressionService
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Microsoft.CodeAnalysis.CSharp.Scripting;
using Microsoft.CodeAnalysis.Scripting;
using System;
using System.Threading.Tasks;

namespace AutoTests.Framework.Expressions;

Expand Down
2 changes: 0 additions & 2 deletions src/AutoTests.Framework/Models/ExpressionSpecflowHooks.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using AutoTests.Framework.Expressions;
using System.Collections.Generic;
using System.Linq;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Models;
Expand Down
3 changes: 0 additions & 3 deletions src/AutoTests.Framework/Models/IModel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace AutoTests.Framework.Models;

public interface IModel
Expand Down
4 changes: 0 additions & 4 deletions src/AutoTests.Framework/Models/Model.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using AutoTests.Framework.Expressions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using TechTalk.SpecFlow;

namespace AutoTests.Framework.Models;
Expand Down
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>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

</Project>

0 comments on commit 3c04aaa

Please sign in to comment.