Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Commit

Permalink
Sort & remove usings
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Mar 25, 2012
1 parent 34aed04 commit cc5c66f
Show file tree
Hide file tree
Showing 85 changed files with 29 additions and 152 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.IO;
using System.Net.Http.Headers;
using System.Net.Http.Internal;
using System.Threading.Tasks;

namespace System.Net.Http.Formatting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics.Contracts;
using System.IO;
using System.Net.Http.Formatting.Parsers;
using System.Net.Http.Headers;
using System.Net.Http.Internal;
using System.Runtime.Serialization.Json;
using System.Threading.Tasks;

namespace System.Net.Http.Formatting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Diagnostics.Contracts;
using System.IO;
using System.Net.Http.Headers;
using System.Net.Http.Internal;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Specialized;
using System.Net.Http.Headers;
using System.Net.Http.Internal;

namespace System.Net.Http.Formatting
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Diagnostics.Contracts;
using System.IO;
using System.Net.Http.Headers;
using System.Net.Http.Internal;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
Expand Down
1 change: 0 additions & 1 deletion src/System.Net.Http.Formatting/HttpContentExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.ComponentModel;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Net.Http.Internal;
using System.Threading.Tasks;

namespace System.Net.Http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Linq;
using System.Net.Http.Formatting.Parsers;
using System.Net.Http.Headers;
using System.Net.Http.Internal;
using System.Threading.Tasks;

namespace System.Net.Http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Diagnostics.Contracts;
using System.IO;
using System.Net.Http.Formatting.Parsers;
using System.Net.Http.Internal;
using System.Threading.Tasks;

namespace System.Net.Http
Expand Down
4 changes: 1 addition & 3 deletions src/System.Net.Http.Formatting/Internal/UriQueryUtility.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Specialized;
using System.Diagnostics.Contracts;
using System.Net.Http.Formatting;
using System.Diagnostics.Contracts;
using System.Text;

namespace System.Net.Http.Internal
Expand Down
1 change: 0 additions & 1 deletion src/System.Net.Http.Formatting/UriExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Net.Http.Formatting;
using System.Net.Http.Internal;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Helpers/Chart/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using System.Web.WebPages;
using System.Xml;
using Microsoft.Internal.Web.Utils;
using DV = System.Web.UI.DataVisualization.Charting;

namespace System.Web.Helpers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Net.Http.Headers;
using System.ServiceModel.Channels;
using System.Web.Http.SelfHost.Properties;
using System.Web.Http.SelfHost.ServiceModel.Channels;

namespace System.Web.Http.SelfHost.Channels
{
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http.SelfHost/HttpSelfHostServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using System.ServiceModel.Security;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Hosting;
using System.Web.Http.SelfHost.Channels;
using System.Web.Http.SelfHost.Properties;
using System.Web.Http.SelfHost.ServiceModel.Channels;
Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/AcceptVerbsAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net.Http;
Expand Down
4 changes: 1 addition & 3 deletions src/System.Web.Http/ActionNameAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Web.Http.Controllers;

namespace System.Web.Http
namespace System.Web.Http
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class ActionNameAttribute : Attribute
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Controllers/HttpActionContext.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Web.Http.ModelBinding;

namespace System.Web.Http.Controllers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Controllers/HttpParameterDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Web.Http.Internal;
Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/Controllers/IActionHttpMethodProvider.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Net.Http;

namespace System.Web.Http.Controllers
Expand Down
5 changes: 1 addition & 4 deletions src/System.Web.Http/Controllers/IActionValueBinder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Threading;
using System.Threading.Tasks;

namespace System.Web.Http.Controllers
namespace System.Web.Http.Controllers
{
public interface IActionValueBinder
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Collections.ObjectModel;
using System.Reflection;
using System.Web.Http.Internal;

Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/FromBodyAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Net.Http;
using System.Web.Http.ValueProviders;

namespace System.Web.Http
{
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Hosting/HttpPropertyKeys.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Net.Http;
using System.Security.Principal;
using System.Threading;
using System.Web.Http.Routing;

Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/HttpConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Web.Http.Filters;
using System.Web.Http.ModelBinding;
using System.Web.Http.Services;
using System.Web.Http.Validation;

namespace System.Web.Http
{
Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/HttpDeleteAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Net.Http;
using System.Web.Http.Controllers;

Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/HttpGetAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Net.Http;
using System.Web.Http.Controllers;

Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/HttpPostAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Net.Http;
using System.Web.Http.Controllers;

Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/HttpPutAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
using System.Net.Http;
using System.Web.Http.Controllers;

Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Metadata/ModelMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Internal;
using System.Web.Http.Validation;

Expand Down
3 changes: 0 additions & 3 deletions src/System.Web.Http/ModelBinding/DefaultActionValueBinder.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Internal;
using System.Web.Http.Metadata;
using System.Web.Http.Properties;
using System.Web.Http.Validation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.IO;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;

namespace System.Web.Http.ModelBinding
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Routing/HttpMethodConstraint.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net.Http;

namespace System.Web.Http.Routing
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Tracing/FormattingUtilities.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Linq;
Expand Down
6 changes: 1 addition & 5 deletions src/System.Web.Http/Tracing/ITraceManager.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Http.Services;
using System.Web.Http.Services;

namespace System.Web.Http.Tracing
{
Expand Down
3 changes: 1 addition & 2 deletions src/System.Web.Http/Tracing/ITraceWriterExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Globalization;
using System.Net.Http;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http.Properties;

Expand Down
4 changes: 1 addition & 3 deletions src/System.Web.Http/Tracing/TraceCategories.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace System.Web.Http.Tracing
namespace System.Web.Http.Tracing
{
/// <summary>
/// Category names traced by the default tracing implementation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Properties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Globalization;
using System.Net.Http;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Globalization;
using System.Linq;
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Properties;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Globalization;
using System.Web.Http.Controllers;
using System.Web.Http.Dispatcher;
using System.Web.Http.Properties;
Expand Down
1 change: 0 additions & 1 deletion src/System.Web.Http/Validation/ModelValidatorProvider.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Web.Http.Controllers;
using System.Web.Http.Metadata;

namespace System.Web.Http.Validation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Internal;
using System.Web.Http.Metadata;
using System.Web.Http.Properties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Metadata;
using System.Web.Http.Properties;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Globalization;
using System.Net.Http.Formatting;
using System.Web.Http.Controllers;
using System.Web.Http.Internal;
using System.Web.Http.ModelBinding;

namespace System.Web.Http.ValueProviders.Providers
Expand Down
3 changes: 1 addition & 2 deletions test/Microsoft.TestCommon/AssertEx.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Xunit;
using Xunit;

namespace Microsoft.TestCommon
{
Expand Down
1 change: 0 additions & 1 deletion test/Microsoft.Web.Helpers.Test/GravatarTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Web.Helpers.Test;
using System.Web.WebPages.TestUtils;
using Xunit;
using Assert = Microsoft.TestCommon.AssertEx;

Expand Down
1 change: 0 additions & 1 deletion test/Microsoft.Web.Helpers.Test/LinkShareTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Web.Helpers.Test;
using System.Web.TestUtil;
using System.Web.WebPages.Scope;
using System.Web.WebPages.TestUtils;
using Xunit;
using Assert = Microsoft.TestCommon.AssertEx;

Expand Down
1 change: 0 additions & 1 deletion test/Microsoft.Web.Helpers.Test/ThemesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Web.Hosting;
using System.Web.WebPages.Scope;
using System.Web.WebPages.TestUtils;
using Moq;
using Xunit;
using Assert = Microsoft.TestCommon.AssertEx;
Expand Down
1 change: 0 additions & 1 deletion test/Microsoft.Web.Helpers.Test/VideoTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Reflection;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.WebPages.TestUtils;
using Moq;
using Xunit;
using Assert = Microsoft.TestCommon.AssertEx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using Microsoft.Web.Http.Data.EntityFramework;
using Microsoft.Web.Http.Data.EntityFramework.Metadata;
using Microsoft.Web.Http.Data.Test.Models;
using System.Web.Http;
using System.Web.Http.Filters;
using Xunit;
using Assert = Microsoft.TestCommon.AssertEx;

Expand Down
Loading

0 comments on commit cc5c66f

Please sign in to comment.