Skip to content

Commit

Permalink
Move usings into csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
virzak committed Jan 17, 2024
1 parent 310aed4 commit de2c824
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions src/Zomp.SyncMethodGenerator/AsyncToSyncRewriter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Zomp.SyncMethodGenerator.Models;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;

namespace Zomp.SyncMethodGenerator;

Expand Down
4 changes: 1 addition & 3 deletions src/Zomp.SyncMethodGenerator/ClassDeclaration.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Zomp.SyncMethodGenerator.Helpers;

namespace Zomp.SyncMethodGenerator;
namespace Zomp.SyncMethodGenerator;

/// <summary>
/// Represents a class a <see cref="MethodToGenerate"/> belongs to.
Expand Down
5 changes: 1 addition & 4 deletions src/Zomp.SyncMethodGenerator/MethodToGenerate.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Zomp.SyncMethodGenerator.Helpers;
using Zomp.SyncMethodGenerator.Models;

namespace Zomp.SyncMethodGenerator;
namespace Zomp.SyncMethodGenerator;

/// <summary>
/// Represents a sync method to generate from its async version.
Expand Down
4 changes: 1 addition & 3 deletions src/Zomp.SyncMethodGenerator/SyncMethodSourceGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Zomp.SyncMethodGenerator.Helpers;

namespace Zomp.SyncMethodGenerator;
namespace Zomp.SyncMethodGenerator;

/// <summary>
/// Generates synchronous code from asynchronous.
Expand Down
2 changes: 2 additions & 0 deletions src/Zomp.SyncMethodGenerator/Zomp.SyncMethodGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
<Using Include="System.Runtime.CompilerServices" />
<Using Include="System.Text" />
<Using Include="System.Text.RegularExpressions" />
<Using Include="Zomp.SyncMethodGenerator.Helpers" />
<Using Include="Zomp.SyncMethodGenerator.Models" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit de2c824

Please sign in to comment.