Skip to content

Commit c239a0d

Browse files
committed
Fix usings inclusion
***NO_CI***
1 parent a045663 commit c239a0d

13 files changed

+40
-3
lines changed

NFUnitTest/Properties/AssemblyInfo.cs

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// General Information about an assembly is controlled through the following
55
// set of attributes. Change these attribute values to modify the information
66
// associated with an assembly.
7+
using System.Reflection;
8+
using System.Runtime.InteropServices;
9+
710
[assembly: AssemblyDescription("")]
811
[assembly: AssemblyConfiguration("")]
912
[assembly: AssemblyCompany("")]

Shared/MessagePack/Converters/DoubleConverter.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
45
using System;
6+
#endif
57
using System.Diagnostics.CodeAnalysis;
68
using nanoFramework.MessagePack.Extensions;
79
using nanoFramework.MessagePack.Stream;

Shared/MessagePack/Dto/ArraySegment.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
45
using System;
6+
using System.IO;
7+
#endif
58
using System.Collections;
69
using nanoFramework.MessagePack.Stream;
710
using nanoFramework.MessagePack.Utility;

Shared/MessagePack/MessagePackSerializer.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
45
using System;
6+
using System.IO;
7+
#endif
58
using nanoFramework.MessagePack.Stream;
69

710
namespace nanoFramework.MessagePack

Shared/MessagePack/Stream/BaseReader.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
5+
using System.IO;
6+
#endif
47
using nanoFramework.MessagePack.Dto;
58
using nanoFramework.MessagePack.Extensions;
69
using nanoFramework.MessagePack.Utility;

Shared/MessagePack/Stream/ByteArrayReader.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
45
using System;
6+
using System.IO;
7+
#endif
58
using nanoFramework.MessagePack.Dto;
69

710
namespace nanoFramework.MessagePack.Stream

Shared/MessagePack/Stream/IMessagePackReader.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
5+
using System.IO;
6+
#endif
47
using nanoFramework.MessagePack.Dto;
58

69
namespace nanoFramework.MessagePack.Stream

Shared/MessagePack/Stream/MemoryStreamReader.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
45
using System;
6+
using System.IO;
7+
#endif
58
using System.Collections;
69
using nanoFramework.MessagePack.Dto;
710
using nanoFramework.MessagePack.Utility;

Shared/MessagePack/Stream/MemoryStreamWriter.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
45
using System;
6+
using System.IO;
7+
#endif
58
using nanoFramework.MessagePack.Extensions;
69

710
namespace nanoFramework.MessagePack.Stream

UnitTestShared/Helpers/TestsHelper.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
5+
using System;
6+
#endif
47
using System.Collections;
58
using System.Text;
69
using UnitTestShared.TestData;

UnitTestShared/TestData/TestClass.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
5+
using System;
6+
#endif
47
using System.Collections;
58
using UnitTestShared.Helpers;
69

UnitTestShared/TestData/TestSubClass.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
#if NANOFRAMEWORK_1_0
5+
using System;
6+
#endif
47
using System.Collections;
58
using UnitTestShared.Helpers;
69

UnitTestShared/UnitTests.cs

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44

5+
#if NANOFRAMEWORK_1_0
6+
using System;
7+
using System.IO;
8+
using nanoFramework.TestFramework;
9+
#endif
510
using System.Collections;
611
using System.Diagnostics;
712
using nanoFramework.MessagePack;
813
using UnitTestShared.Helpers;
914
using UnitTestShared.TestData;
10-
#if NANOFRAMEWORK_1_0
11-
using nanoFramework.TestFramework;
12-
#endif
1315

1416
namespace NFUnitTest
1517
{

0 commit comments

Comments
 (0)