Skip to content

Commit 7c357ec

Browse files
committed
Fix imports ordering and file encoding
1 parent ce10620 commit 7c357ec

18 files changed

+41
-46
lines changed

QRCoder.Xaml/Properties/AssemblyInfo.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
1+
using System.Reflection;
32
using System.Runtime.InteropServices;
43

54
// Allgemeine Informationen über eine Assembly werden über die folgenden

QRCoder/PayloadGenerator.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
42
using System.Globalization;
3+
using System.Linq;
54
using System.Text;
65
using System.Text.RegularExpressions;
7-
using System.Diagnostics.CodeAnalysis;
86
#if NETSTANDARD1_3
97
using System.Reflection;
108
#endif

QRCoder/PayloadGenerator/BitcoinLikeCryptoCurrencyAddress.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
43
using System.Globalization;
4+
using System.Linq;
55

66
namespace QRCoder;
77

QRCoder/Properties/AssemblyInfo.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
1+
using System.Reflection;
32
using System.Runtime.InteropServices;
43

54
// Allgemeine Informationen über eine Assembly werden über die folgenden

QRCoder/SvgQRCode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#if !NETSTANDARD1_3
2-
using QRCoder.Extensions;
32
using System;
43
using System.Collections;
54
using System.Collections.Generic;
65
using System.Drawing;
76
using System.Text;
87
using System.Text.RegularExpressions;
8+
using QRCoder.Extensions;
99
using static QRCoder.QRCodeGenerator;
1010
using static QRCoder.SvgQRCode;
1111

QRCoderApiTests/ApiApprovalTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using PublicApiGenerator;
2-
using Shouldly;
31
using System;
42
using System.Diagnostics;
53
using System.IO;
64
using System.Linq;
75
using System.Reflection;
86
using System.Xml.Linq;
7+
using PublicApiGenerator;
8+
using Shouldly;
99
using Xunit;
1010

1111
/*********************************************

QRCoderBenchmarks/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
using BenchmarkDotNet.Running;
1+
using BenchmarkDotNet.Running;
22

33
BenchmarkRunner.Run(typeof(Program).Assembly);

QRCoderConsole/Program.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using System;
22
using System.Drawing.Imaging;
33
using System.IO;
4-
using NDesk.Options;
5-
using QRCoderConsole.DataObjects;
6-
using QRCoder;
74
using System.Text;
85
using System.Windows.Markup;
6+
using NDesk.Options;
7+
using QRCoder;
8+
using QRCoderConsole.DataObjects;
99

1010
namespace QRCoderConsole;
1111

QRCoderDemo/Properties/AssemblyInfo.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
1+
using System.Reflection;
32
using System.Runtime.InteropServices;
43

54
// Allgemeine Informationen über eine Assembly werden über die folgenden

QRCoderTests/ArtQRCodeRendererTests.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#if SYSTEM_DRAWING
22

3-
using Xunit;
4-
using QRCoder;
5-
using Shouldly;
63
using System.Drawing;
7-
using QRCoderTests.Helpers.XUnitExtenstions;
4+
using QRCoder;
85
using QRCoderTests.Helpers;
6+
using QRCoderTests.Helpers.XUnitExtenstions;
7+
using Shouldly;
8+
using Xunit;
99

1010
namespace QRCoderTests;
1111

QRCoderTests/AsciiQRCodeRendererTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Xunit;
21
using QRCoder;
3-
using Shouldly;
42
using QRCoderTests.Helpers.XUnitExtenstions;
3+
using Shouldly;
4+
using Xunit;
55

66

77
namespace QRCoderTests;

QRCoderTests/Base64QRCodeRendererTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#if !NETCOREAPP1_1
2-
using QRCoder;
3-
using QRCoderTests.Helpers.XUnitExtenstions;
4-
using Shouldly;
52
using System;
63
using System.Drawing;
74
using System.IO;
5+
using QRCoder;
6+
using QRCoderTests.Helpers.XUnitExtenstions;
7+
using Shouldly;
88
using Xunit;
99

1010
namespace QRCoderTests;

QRCoderTests/PostscriptQRCodeRendererTests.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#if !NETCOREAPP1_1
2-
using QRCoder;
3-
using QRCoderTests.Helpers;
4-
using QRCoderTests.Helpers.XUnitExtenstions;
5-
using Shouldly;
62
using System;
73
using System.Drawing;
84
using System.IO;
95
using System.Text.RegularExpressions;
6+
using QRCoder;
7+
using QRCoderTests.Helpers;
8+
using QRCoderTests.Helpers.XUnitExtenstions;
9+
using Shouldly;
1010
using Xunit;
1111

1212
namespace QRCoderTests;

QRCoderTests/QRCodeRendererTests.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#if SYSTEM_DRAWING
2-
using Xunit;
2+
using System.Drawing;
33
using QRCoder;
4-
using Shouldly;
5-
using QRCoderTests.Helpers.XUnitExtenstions;
64
using QRCoderTests.Helpers;
7-
using System.Drawing;
5+
using QRCoderTests.Helpers.XUnitExtenstions;
6+
using Shouldly;
7+
using Xunit;
88

99

1010
namespace QRCoderTests;

QRCoderTests/QRGeneratorTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
using QRCoder;
2-
using QRCoderTests.Helpers.XUnitExtenstions;
3-
using Shouldly;
41
using System;
52
using System.Collections;
63
using System.Collections.Generic;
74
using System.Linq;
85
using System.Reflection;
96
using System.Text;
7+
using QRCoder;
8+
using QRCoderTests.Helpers.XUnitExtenstions;
9+
using Shouldly;
1010
using Xunit;
1111
using ECCLevel = QRCoder.QRCodeGenerator.ECCLevel;
1212

QRCoderTests/SvgQRCodeRendererTests.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#if !NETCOREAPP1_1
22
using System;
3-
using Xunit;
4-
using QRCoder;
5-
using Shouldly;
6-
using QRCoderTests.Helpers.XUnitExtenstions;
3+
using System.Drawing;
74
using System.IO;
5+
using QRCoder;
86
using QRCoderTests.Helpers;
9-
using System.Drawing;
7+
using QRCoderTests.Helpers.XUnitExtenstions;
8+
using Shouldly;
9+
using Xunit;
1010

1111

1212
namespace QRCoderTests;

QRCoderTests/XamlQRCodeRendererTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#if TEST_XAML
2-
using Xunit;
32
using QRCoder;
43
using QRCoder.Xaml;
5-
using Shouldly;
6-
using QRCoderTests.Helpers.XUnitExtenstions;
74
using QRCoderTests.Helpers;
5+
using QRCoderTests.Helpers.XUnitExtenstions;
6+
using Shouldly;
7+
using Xunit;
88

99
namespace QRCoderTests;
1010

QRCoderTrimAnalysis/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// See https://aka.ms/new-console-template for more information
1+
// See https://aka.ms/new-console-template for more information
22
Console.WriteLine("Hello, World!");

0 commit comments

Comments
 (0)