Skip to content

Commit

Permalink
Removed unnecessary using statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
tameraw committed Mar 4, 2017
1 parent f3b45c1 commit 2ec35e7
Show file tree
Hide file tree
Showing 57 changed files with 18 additions and 128 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
Expand Down
1 change: 0 additions & 1 deletion device/Microsoft.Azure.Devices.Client.PCL/Timer.PCL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace System.Threading
{
using System.Threading;
using System.Threading.Tasks;

internal delegate void TimerCallback(object state);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Microsoft.Azure.Devices.Client.Exceptions
{
using System;
using System.Runtime.Serialization;

/// <summary>
/// The exception that is thrown when an attempt to communicate with the IoT Hub service fails.
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion device/Microsoft.Azure.Devices.Client/Common/Fx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Microsoft.Azure.Devices.Client
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Reflection;
using System.Runtime.CompilerServices;
#if !WINDOWS_UWP && !PCL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Runtime.InteropServices;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Eventing;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
using System.Text;
using System.Threading;
using Microsoft.Win32.SafeHandles;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace Microsoft.Azure.Devices.Common.Cloud
{
using System;
using System.Globalization;
using System.Text;

static class PerfectHash
Expand Down
4 changes: 0 additions & 4 deletions device/Microsoft.Azure.Devices.Client/Common/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ namespace Microsoft.Azure.Devices.Client
{
using System;
using System.IO;
using System.Reflection;
using System.Text;
#if !NETMF
using Microsoft.Azure.Devices.Client.Common;
using Newtonsoft.Json;
using Newtonsoft.Json.Schema;
#endif
using Extensions;
using System.Collections;

static class Utils
{
Expand Down
1 change: 0 additions & 1 deletion device/Microsoft.Azure.Devices.Client/DeviceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace Microsoft.Azure.Devices.Client
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
Expand Down
3 changes: 1 addition & 2 deletions device/Microsoft.Azure.Devices.Client/IDelegatingHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ namespace Microsoft.Azure.Devices.Client
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client.Common;
using Microsoft.Azure.Devices.Shared;

interface IDelegatingHandler : IContinuationProvider<IDelegatingHandler>, IDisposable
{
Task AbandonAsync(string lockToken, CancellationToken cancellationToken);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Text;
using System.Net;

#if !NETMF
Expand Down
1 change: 0 additions & 1 deletion device/Microsoft.Azure.Devices.Client/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Microsoft.Azure.Devices.Client
using System;
using System.IO;
using System.Threading;
using Microsoft.Azure.Devices.Client.Exceptions;
using Microsoft.Azure.Devices.Client.Extensions;
#if WINDOWS_UWP || PCL
using Microsoft.Azure.Amqp;
Expand Down
5 changes: 0 additions & 5 deletions device/Microsoft.Azure.Devices.Client/MethodConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using Microsoft.Azure.Amqp;
using Microsoft.Azure.Amqp.Encoding;
using Microsoft.Azure.Amqp.Framing;
using Microsoft.Azure.Devices.Client.Common.Api;

static class MethodConverter
{
Expand Down
1 change: 0 additions & 1 deletion device/Microsoft.Azure.Devices.Client/MethodRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Text;

public sealed class MethodRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ namespace Microsoft.Azure.Devices.Client
using System;
using System.IO;
using System.Threading;
using Microsoft.Azure.Devices.Client.Exceptions;
using Microsoft.Azure.Devices.Client.Extensions;
using Microsoft.Azure.Amqp;
#if WINDOWS_UWP
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ namespace Microsoft.Azure.Devices.Client
using System;
using System.IO;
using System.Threading;
using Microsoft.Azure.Devices.Client.Exceptions;
using Microsoft.Azure.Devices.Client.Extensions;
using Microsoft.Azure.Amqp;
#if WINDOWS_UWP
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions device/Microsoft.Azure.Devices.Client/RetryPolicyType.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Microsoft.Azure.Devices.Client
namespace Microsoft.Azure.Devices.Client
{
/// <summary>
/// Retry Strategy types supported by DeviceClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace Microsoft.Azure.Devices.Client.Transport
using System.Threading.Tasks;
using Microsoft.Azure.Amqp;
using Microsoft.Azure.Amqp.Framing;
using Microsoft.Azure.Devices.Client.Common;
using Microsoft.Azure.Devices.Client.Exceptions;
using Microsoft.Azure.Devices.Client.Extensions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace Microsoft.Azure.Devices.Client.Transport.Mqtt
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DotNetty.Common.Utilities;
using DotNetty.Transport.Channels;
using Microsoft.Azure.Devices.Client.Exceptions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ namespace Microsoft.Azure.Devices.Client.Transport
{
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
#if !PCL
using System.Net.Sockets;
Expand Down
4 changes: 0 additions & 4 deletions device/Microsoft.Azure.Devices.Client/UWPHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Threading.Tasks;
using Windows.Foundation;

//
// Summary:
// Identifies the type of event that has caused the trace.
Expand Down
3 changes: 0 additions & 3 deletions device/Microsoft.Azure.Devices.Client/UWPResources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
namespace Microsoft.Azure.Devices.Client.Common
{
using System;
using System.Threading.Tasks;
using Windows.Foundation;
using System.Linq;
using Windows.ApplicationModel.Resources.Core;

class ResourceManagerImpl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
2 changes: 0 additions & 2 deletions device/samples/DeviceClientFileUploadSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Microsoft.Azure.Devices.Client.Samples
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
1 change: 0 additions & 1 deletion device/samples/DeviceClientKeysRolloverSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Microsoft.Azure.Devices.Client.Exceptions;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Microsoft.Azure.Devices.Client.Samples
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
1 change: 0 additions & 1 deletion device/samples/DeviceClientTwinMqttSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace Microsoft.Azure.Devices.Client.Samples
{
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client;
using Microsoft.Azure.Devices.Shared;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
10 changes: 0 additions & 10 deletions device/samples/UWPSample/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

namespace Microsoft.Azure.Devices.Client.Samples
Expand Down
3 changes: 0 additions & 3 deletions device/samples/UWPSample/ConnectionStringProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;

namespace Microsoft.Azure.Devices.Client.Samples
{
Expand Down
14 changes: 1 addition & 13 deletions device/samples/UWPSample/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using Windows.ApplicationModel.Core;
using Windows.UI.Core;

using Microsoft.Azure.Devices.Client;

namespace Microsoft.Azure.Devices.Client.Samples
{
/// <summary>
Expand Down
1 change: 0 additions & 1 deletion device/samples/UWPSample/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand All @@ -13,7 +12,7 @@
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyMetadata("TargetPlatform","UAP")]
[assembly: AssemblyMetadata("TargetPlatform", "UAP")]

// Version information for an assembly consists of the following four values:
//
Expand Down
Loading

0 comments on commit 2ec35e7

Please sign in to comment.