Skip to content

Commit c239a0d

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

File tree

13 files changed

+40
-3
lines changed

13 files changed

+40
-3
lines changed

NFUnitTest/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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;

0 commit comments

Comments
 (0)