Skip to content

Commit

Permalink
Fix imports ordering and file encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Jun 5, 2024
1 parent ce10620 commit 7c357ec
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 46 deletions.
3 changes: 1 addition & 2 deletions QRCoder.Xaml/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// Allgemeine Informationen über eine Assembly werden über die folgenden
Expand Down
4 changes: 1 addition & 3 deletions QRCoder/PayloadGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Diagnostics.CodeAnalysis;
#if NETSTANDARD1_3
using System.Reflection;
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.Linq;

namespace QRCoder;

Expand Down
3 changes: 1 addition & 2 deletions QRCoder/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// Allgemeine Informationen über eine Assembly werden über die folgenden
Expand Down
2 changes: 1 addition & 1 deletion QRCoder/SvgQRCode.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !NETSTANDARD1_3
using QRCoder.Extensions;
using System;
using System.Collections;

Check warning on line 3 in QRCoder/SvgQRCode.cs

View workflow job for this annotation

GitHub Actions / format

Using directive is unnecessary.

Check warning on line 3 in QRCoder/SvgQRCode.cs

View workflow job for this annotation

GitHub Actions / format

Using directive is unnecessary.
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Text.RegularExpressions;

Check warning on line 7 in QRCoder/SvgQRCode.cs

View workflow job for this annotation

GitHub Actions / format

Using directive is unnecessary.

Check warning on line 7 in QRCoder/SvgQRCode.cs

View workflow job for this annotation

GitHub Actions / format

Using directive is unnecessary.
using QRCoder.Extensions;
using static QRCoder.QRCodeGenerator;
using static QRCoder.SvgQRCode;

Expand Down
4 changes: 2 additions & 2 deletions QRCoderApiTests/ApiApprovalTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using PublicApiGenerator;
using Shouldly;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using PublicApiGenerator;
using Shouldly;
using Xunit;

/*********************************************
Expand Down
2 changes: 1 addition & 1 deletion QRCoderBenchmarks/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Running;

BenchmarkRunner.Run(typeof(Program).Assembly);
6 changes: 3 additions & 3 deletions QRCoderConsole/Program.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System;
using System.Drawing.Imaging;
using System.IO;
using NDesk.Options;
using QRCoderConsole.DataObjects;
using QRCoder;
using System.Text;
using System.Windows.Markup;
using NDesk.Options;
using QRCoder;
using QRCoderConsole.DataObjects;

namespace QRCoderConsole;

Expand Down
3 changes: 1 addition & 2 deletions QRCoderDemo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// Allgemeine Informationen über eine Assembly werden über die folgenden
Expand Down
8 changes: 4 additions & 4 deletions QRCoderTests/ArtQRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if SYSTEM_DRAWING

using Xunit;
using QRCoder;
using Shouldly;
using System.Drawing;
using QRCoderTests.Helpers.XUnitExtenstions;
using QRCoder;
using QRCoderTests.Helpers;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;

namespace QRCoderTests;

Expand Down
4 changes: 2 additions & 2 deletions QRCoderTests/AsciiQRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Xunit;
using QRCoder;
using Shouldly;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;


namespace QRCoderTests;
Expand Down
6 changes: 3 additions & 3 deletions QRCoderTests/Base64QRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !NETCOREAPP1_1
using QRCoder;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using System;
using System.Drawing;
using System.IO;
using QRCoder;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;

namespace QRCoderTests;
Expand Down
8 changes: 4 additions & 4 deletions QRCoderTests/PostscriptQRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#if !NETCOREAPP1_1
using QRCoder;
using QRCoderTests.Helpers;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using System;
using System.Drawing;
using System.IO;
using System.Text.RegularExpressions;
using QRCoder;
using QRCoderTests.Helpers;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;

namespace QRCoderTests;
Expand Down
8 changes: 4 additions & 4 deletions QRCoderTests/QRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if SYSTEM_DRAWING
using Xunit;
using System.Drawing;
using QRCoder;
using Shouldly;
using QRCoderTests.Helpers.XUnitExtenstions;
using QRCoderTests.Helpers;
using System.Drawing;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;


namespace QRCoderTests;
Expand Down
6 changes: 3 additions & 3 deletions QRCoderTests/QRGeneratorTests.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using QRCoder;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using QRCoder;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;
using ECCLevel = QRCoder.QRCodeGenerator.ECCLevel;

Expand Down
10 changes: 5 additions & 5 deletions QRCoderTests/SvgQRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#if !NETCOREAPP1_1
using System;
using Xunit;
using QRCoder;
using Shouldly;
using QRCoderTests.Helpers.XUnitExtenstions;
using System.Drawing;
using System.IO;
using QRCoder;
using QRCoderTests.Helpers;
using System.Drawing;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;


namespace QRCoderTests;
Expand Down
6 changes: 3 additions & 3 deletions QRCoderTests/XamlQRCodeRendererTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if TEST_XAML
using Xunit;
using QRCoder;
using QRCoder.Xaml;
using Shouldly;
using QRCoderTests.Helpers.XUnitExtenstions;
using QRCoderTests.Helpers;
using QRCoderTests.Helpers.XUnitExtenstions;
using Shouldly;
using Xunit;

namespace QRCoderTests;

Expand Down
2 changes: 1 addition & 1 deletion QRCoderTrimAnalysis/Program.cs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// See https://aka.ms/new-console-template for more information
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

0 comments on commit 7c357ec

Please sign in to comment.