Skip to content

Commit eab741d

Browse files
committed
remove unnecessary includes, change encoding to UTF8
Signed-off-by: Benedek Kupper <kupper.benedek@gmail.com>
1 parent 0484fc7 commit eab741d

20 files changed

+13
-96
lines changed

ByteArray.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
41
using System.Runtime.InteropServices;
5-
using System.Text;
6-
using System.Threading.Tasks;
72

83
namespace DeviceProgramming
94
{

Crc32.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
using System;
62

73
namespace DeviceProgramming
84
{

Dfu/Device.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
using DeviceProgramming.Memory;
1+
using DeviceProgramming.Memory;
22
using System;
33
using System.Collections.Generic;
44
using System.ComponentModel;
55
using System.Globalization;
66
using System.IO;
77
using System.Linq;
8-
using System.Text;
98
using System.Text.RegularExpressions;
109
using System.Threading;
11-
using System.Threading.Tasks;
1210

1311
namespace DeviceProgramming.Dfu
1412
{

Dfu/Error.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
71
namespace DeviceProgramming.Dfu
82
{
93
public enum Error : byte

Dfu/FunctionalDescriptor.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
1+
using System;
42
using System.Runtime.InteropServices;
5-
using System.Text;
6-
using System.Threading.Tasks;
73

84
namespace DeviceProgramming.Dfu
95
{

Dfu/Protocol.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
using System;
62

73
namespace DeviceProgramming.Dfu
84
{

Dfu/Request.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
71
namespace DeviceProgramming.Dfu
82
{
93
public enum Request : byte

Dfu/State.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
71
namespace DeviceProgramming.Dfu
82
{
93
public enum State : byte

Dfu/Status.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Collections.Specialized;
4-
using System.Linq;
1+
using System;
52
using System.Runtime.InteropServices;
6-
using System.Text;
7-
using System.Threading.Tasks;
83

94
namespace DeviceProgramming.Dfu
105
{

FileFormat/Dfu.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Text;
5-
using System.Threading.Tasks;
65
using DeviceProgramming.Dfu;
76
using System.IO;
87
using System.Runtime.InteropServices;

FileFormat/IntelHex.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System;
4-
using System.Collections.Generic;
52
using System.IO;
6-
using System.Linq;
7-
using System.Text;
83
using System.Text.RegularExpressions;
9-
using System.Threading.Tasks;
104
using DeviceProgramming.Memory;
115

126
namespace DeviceProgramming.FileFormat

FileFormat/SRecord.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
using DeviceProgramming.Memory;
1+
using DeviceProgramming.Memory;
22
using System;
3-
using System.Collections.Generic;
43
using System.IO;
5-
using System.Linq;
6-
using System.Text;
74
using System.Text.RegularExpressions;
8-
using System.Threading.Tasks;
95

106
namespace DeviceProgramming.FileFormat
117
{

FileFormat/TextRecordParser.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
using DeviceProgramming.Memory;
1+
using DeviceProgramming.Memory;
22
using System;
33
using System.Collections.Generic;
44
using System.Globalization;
55
using System.IO;
6-
using System.Linq;
7-
using System.Text;
86
using System.Text.RegularExpressions;
9-
using System.Threading.Tasks;
107

118
namespace DeviceProgramming.FileFormat
129
{

Memory/Block.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
using System;
62

73
namespace DeviceProgramming.Memory
84
{

Memory/Layout.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
63

74
namespace DeviceProgramming.Memory
85
{

Memory/NamedLayout.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
71
namespace DeviceProgramming.Memory
82
{
93
public class NamedLayout : Layout

Memory/NamedMemory.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
71
namespace DeviceProgramming.Memory
82
{
93
public class NamedMemory : RawMemory

Memory/Permissions.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
using System;
62

73
namespace DeviceProgramming.Memory
84
{

Memory/RawMemory.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
64

75
namespace DeviceProgramming.Memory
86
{

Memory/Segment.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
64

75
namespace DeviceProgramming.Memory
86
{

0 commit comments

Comments
 (0)