From 1634c74ff4d545adcd5d9da17c080f5f611e654d Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 31 Jan 2014 09:48:46 -0800 Subject: [PATCH] Remove and sort usings across the solution --- src/Microsoft.AspNet.Razor/CSharpRazorCodeLanguage.cs | 2 +- .../Editor/AutoCompleteEditHandler.cs | 2 +- src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs | 2 -- .../Editor/ImplicitExpressionEditHandler.cs | 2 +- src/Microsoft.AspNet.Razor/Editor/RazorEditorTrace.cs | 6 ------ src/Microsoft.AspNet.Razor/Editor/SpanEditHandler.cs | 2 +- .../Generator/AddImportCodeGenerator.cs | 4 ++-- .../Generator/AttributeBlockCodeGenerator.cs | 4 ++-- .../Generator/CodeGeneratorContext.cs | 2 +- .../Generator/CodeGeneratorPaddingHelper.cs | 3 --- .../Compiler/CodeBuilder/CSharp/CSharpCodeBuilder.cs | 2 -- .../Compiler/CodeBuilder/CSharp/CSharpCodeWriter.cs | 2 -- .../Compiler/CodeBuilder/CSharp/CSharpCodeWritingScope.cs | 3 --- .../CodeBuilder/CSharp/CSharpDisableWarningScope.cs | 4 ---- .../Compiler/CodeBuilder/CSharp/CSharpLineMappingWriter.cs | 3 --- .../CodeBuilder/CSharp/Visitors/CSharpBaseTypeVisitor.cs | 7 +------ .../CSharp/Visitors/CSharpClassAttributeVisitor.cs | 7 +------ .../CodeBuilder/CSharp/Visitors/CSharpCodeVisitor.cs | 3 --- .../CSharp/Visitors/CSharpDesignTimeHelpersVisitor.cs | 7 +------ .../CodeBuilder/CSharp/Visitors/CSharpHelperVisitor.cs | 5 ----- .../CodeBuilder/CSharp/Visitors/CSharpTypeMemberVisitor.cs | 6 +----- .../CodeBuilder/CSharp/Visitors/CSharpUsingVisitor.cs | 6 +----- .../Generator/Compiler/CodeBuilder/ChunkVisitor.cs | 3 --- .../Generator/Compiler/CodeBuilder/CodeBuilder.cs | 7 +------ .../Generator/Compiler/CodeBuilder/CodeBuilderResult.cs | 6 +----- .../Generator/Compiler/CodeBuilder/CodeVisitor.cs | 7 +------ .../Generator/Compiler/CodeBuilder/CodeWriter.cs | 5 ----- .../Generator/Compiler/CodeBuilder/IChunkVisitor.cs | 6 +----- .../Generator/Compiler/CodeTree/Chunks/Chunk.cs | 3 +-- .../Generator/Compiler/CodeTree/Chunks/ChunkBlock.cs | 6 +----- .../Compiler/CodeTree/Chunks/CodeAttributeChunk.cs | 7 +------ .../Compiler/CodeTree/Chunks/DynamicCodeAttributeChunk.cs | 7 +------ .../Compiler/CodeTree/Chunks/ExpressionBlockChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/ExpressionChunk.cs | 3 +-- .../Generator/Compiler/CodeTree/Chunks/HelperChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/LiteralChunk.cs | 3 +-- .../Compiler/CodeTree/Chunks/LiteralCodeAttributeChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/ResolveUrlChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/SectionChunk.cs | 4 +--- .../Compiler/CodeTree/Chunks/SessionStateChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/SetBaseTypeChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/SetLayoutChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/StatementChunk.cs | 4 +--- .../Generator/Compiler/CodeTree/Chunks/TemplateChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/TypeMemberChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/Chunks/UsingChunk.cs | 7 +------ .../Generator/Compiler/CodeTree/CodeTree.cs | 6 +----- .../Generator/Compiler/CodeTree/CodeTreeBuilder.cs | 4 ---- .../Generator/Compiler/CodeTree/Snippet.cs | 3 +-- .../Generator/Compiler/CodeTree/Snippets.cs | 5 +---- .../Generator/Compiler/LineMappings/LineMapping.cs | 7 +------ .../Generator/Compiler/LineMappings/LineMappingManager.cs | 6 +----- .../Generator/Compiler/LineMappings/MappingLocation.cs | 7 +------ .../Generator/DynamicAttributeBlockCodeGenerator.cs | 4 ++-- .../Generator/HelperCodeGenerator.cs | 4 ++-- .../Generator/LiteralAttributeCodeGenerator.cs | 4 ++-- .../Generator/SectionCodeGenerator.cs | 4 ++-- .../Generator/StatementCodeGenerator.cs | 1 - src/Microsoft.AspNet.Razor/GeneratorResults.cs | 6 +----- src/Microsoft.AspNet.Razor/Parser/SyntaxTree/Span.cs | 2 +- src/Microsoft.AspNet.Razor/RazorEditorParser.cs | 4 ---- src/Microsoft.AspNet.Razor/RazorEngineHost.cs | 1 - src/Microsoft.AspNet.Razor/Text/SourceSpan.cs | 7 +------ src/Microsoft.AspNet.Razor/Tokenizer/Symbols/SymbolBase.cs | 2 +- .../Editor/RazorEditorParserTest.cs | 4 ++-- .../Generator/CodeTree/CodeTreeGenerationTest.cs | 7 ------- .../Generator/CodeTree/CodeTreeOutputValidator.cs | 7 +------ .../Generator/RazorCodeGeneratorTest.cs | 4 ++-- test/Microsoft.AspNet.Razor.Test/Generator/TestSpan.cs | 1 - test/Microsoft.AspNet.Razor.Test/Parser/BlockTest.cs | 2 +- .../Parser/Html/HtmlDocumentTest.cs | 4 ++-- .../Parser/PartialParsing/CSharpPartialParsingTest.cs | 4 ++-- .../Parser/PartialParsing/PartialParsingTestBase.cs | 4 ++-- .../Microsoft.AspNet.Razor.Test/RazorTemplateEngineTest.cs | 2 +- .../Text/TextBufferReaderTest.cs | 6 +++--- test/Microsoft.AspNet.Razor.Test/Text/TextChangeTest.cs | 4 ++-- test/Microsoft.AspNet.Razor.Test/Utils/MiscUtils.cs | 2 -- 77 files changed, 72 insertions(+), 281 deletions(-) diff --git a/src/Microsoft.AspNet.Razor/CSharpRazorCodeLanguage.cs b/src/Microsoft.AspNet.Razor/CSharpRazorCodeLanguage.cs index f90323a466..2d26eb4365 100644 --- a/src/Microsoft.AspNet.Razor/CSharpRazorCodeLanguage.cs +++ b/src/Microsoft.AspNet.Razor/CSharpRazorCodeLanguage.cs @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser; using Microsoft.CSharp; -using System; namespace Microsoft.AspNet.Razor { diff --git a/src/Microsoft.AspNet.Razor/Editor/AutoCompleteEditHandler.cs b/src/Microsoft.AspNet.Razor/Editor/AutoCompleteEditHandler.cs index 4032779e4a..686923a170 100644 --- a/src/Microsoft.AspNet.Razor/Editor/AutoCompleteEditHandler.cs +++ b/src/Microsoft.AspNet.Razor/Editor/AutoCompleteEditHandler.cs @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Microsoft.AspNet.Razor.Editor; using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Tokenizer.Symbols; using Microsoft.Internal.Web.Utils; -using System; namespace Microsoft.AspNet.Razor.Parser.SyntaxTree { diff --git a/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs b/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs index 2f59d12583..88b2ef22e4 100644 --- a/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs +++ b/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs @@ -7,9 +7,7 @@ using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; -using System.Text; using System.Threading; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Resources; using Microsoft.AspNet.Razor.Text; diff --git a/src/Microsoft.AspNet.Razor/Editor/ImplicitExpressionEditHandler.cs b/src/Microsoft.AspNet.Razor/Editor/ImplicitExpressionEditHandler.cs index 393820fcb2..3302cf9f26 100644 --- a/src/Microsoft.AspNet.Razor/Editor/ImplicitExpressionEditHandler.cs +++ b/src/Microsoft.AspNet.Razor/Editor/ImplicitExpressionEditHandler.cs @@ -1,5 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; @@ -11,7 +12,6 @@ using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Tokenizer.Symbols; using Microsoft.Internal.Web.Utils; -using System; namespace Microsoft.AspNet.Razor.Editor { diff --git a/src/Microsoft.AspNet.Razor/Editor/RazorEditorTrace.cs b/src/Microsoft.AspNet.Razor/Editor/RazorEditorTrace.cs index 873d9a4bbb..f13707c183 100644 --- a/src/Microsoft.AspNet.Razor/Editor/RazorEditorTrace.cs +++ b/src/Microsoft.AspNet.Razor/Editor/RazorEditorTrace.cs @@ -1,15 +1,9 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; -using System.Collections.Generic; using System.Diagnostics; using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Resources; -using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Editor { diff --git a/src/Microsoft.AspNet.Razor/Editor/SpanEditHandler.cs b/src/Microsoft.AspNet.Razor/Editor/SpanEditHandler.cs index 8f82e73f00..54ef4c2d71 100644 --- a/src/Microsoft.AspNet.Razor/Editor/SpanEditHandler.cs +++ b/src/Microsoft.AspNet.Razor/Editor/SpanEditHandler.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; -using Microsoft.Internal.Web.Utils; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Tokenizer.Symbols; +using Microsoft.Internal.Web.Utils; namespace Microsoft.AspNet.Razor.Editor { diff --git a/src/Microsoft.AspNet.Razor/Generator/AddImportCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/AddImportCodeGenerator.cs index 33864659e1..25891a0fad 100644 --- a/src/Microsoft.AspNet.Razor/Generator/AddImportCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/AddImportCodeGenerator.cs @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.CodeDom; using System.Linq; +using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.Internal.Web.Utils; -using System; -using Microsoft.AspNet.Razor.Generator.Compiler; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/AttributeBlockCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/AttributeBlockCodeGenerator.cs index bc033f4e1d..f12c428bee 100644 --- a/src/Microsoft.AspNet.Razor/Generator/AttributeBlockCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/AttributeBlockCodeGenerator.cs @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Globalization; +using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.Internal.Web.Utils; -using System; -using Microsoft.AspNet.Razor.Generator.Compiler; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorContext.cs b/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorContext.cs index 491c82c284..1e86d17041 100644 --- a/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorContext.cs +++ b/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorContext.cs @@ -8,11 +8,11 @@ using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Text; +using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Resources; using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Utils; -using Microsoft.AspNet.Razor.Generator.Compiler; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorPaddingHelper.cs b/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorPaddingHelper.cs index c8e21d3eb9..e53a666823 100644 --- a/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorPaddingHelper.cs +++ b/src/Microsoft.AspNet.Razor/Generator/CodeGeneratorPaddingHelper.cs @@ -1,9 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; -using System.ComponentModel; -using System.Diagnostics.CodeAnalysis; -using System.Diagnostics.Contracts; using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser.SyntaxTree; diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeBuilder.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeBuilder.cs index 4b85e62b12..d0a03917c4 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeBuilder.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeBuilder.cs @@ -2,8 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWriter.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWriter.cs index 5db36daa4c..e4fff79c9a 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWriter.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWriter.cs @@ -2,8 +2,6 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWritingScope.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWritingScope.cs index d49621427a..e682454fda 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWritingScope.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpCodeWritingScope.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpDisableWarningScope.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpDisableWarningScope.cs index 46f8c0d634..7ec255f1e7 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpDisableWarningScope.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpDisableWarningScope.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpLineMappingWriter.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpLineMappingWriter.cs index 4cfccb3f52..6190347bec 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpLineMappingWriter.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/CSharpLineMappingWriter.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpBaseTypeVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpBaseTypeVisitor.cs index 48502aee9e..9bc844ecb5 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpBaseTypeVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpBaseTypeVisitor.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { public class CSharpBaseTypeVisitor : CodeVisitor diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpClassAttributeVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpClassAttributeVisitor.cs index 14adbd612f..439544ce4f 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpClassAttributeVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpClassAttributeVisitor.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Parser; +using Microsoft.AspNet.Razor.Parser; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpCodeVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpCodeVisitor.cs index 4a18fc11e5..2d61a878a5 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpCodeVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpCodeVisitor.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; using System.Globalization; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpDesignTimeHelpersVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpDesignTimeHelpersVisitor.cs index 09c88ddbae..19de46aa9b 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpDesignTimeHelpersVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpDesignTimeHelpersVisitor.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { public class CSharpDesignTimeHelpersVisitor : CodeVisitor diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpHelperVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpHelperVisitor.cs index f18ae07e18..338c31fe50 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpHelperVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpHelperVisitor.cs @@ -1,9 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpTypeMemberVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpTypeMemberVisitor.cs index 5cede73e57..5b915bbbd9 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpTypeMemberVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpTypeMemberVisitor.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Linq; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpUsingVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpUsingVisitor.cs index bb31bdabe3..76a9b9fa27 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpUsingVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CSharp/Visitors/CSharpUsingVisitor.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/ChunkVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/ChunkVisitor.cs index fc09f31c6b..8e4028c5d7 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/ChunkVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/ChunkVisitor.cs @@ -1,8 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilder.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilder.cs index 12a5067231..35b65d02c6 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilder.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilder.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class CodeBuilder diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilderResult.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilderResult.cs index ffea1eb2ed..70cfb76f88 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilderResult.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeBuilderResult.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeVisitor.cs index dd8cdad240..b3b132278f 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeVisitor.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class CodeVisitor : ChunkVisitor diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeWriter.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeWriter.cs index 478b6b0418..e460e4921b 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeWriter.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/CodeWriter.cs @@ -1,10 +1,5 @@ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Text; -using System.Text.RegularExpressions; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/IChunkVisitor.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/IChunkVisitor.cs index 3164bbdf57..4002a0fd85 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/IChunkVisitor.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeBuilder/IChunkVisitor.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/Chunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/Chunk.cs index 6efa6a0907..d98dd787b3 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/Chunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/Chunk.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ChunkBlock.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ChunkBlock.cs index 216bc20750..d83ef5777d 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ChunkBlock.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ChunkBlock.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/CodeAttributeChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/CodeAttributeChunk.cs index 0e52d08adc..8408fbb688 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/CodeAttributeChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/CodeAttributeChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/DynamicCodeAttributeChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/DynamicCodeAttributeChunk.cs index c547afc3e1..265a02453d 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/DynamicCodeAttributeChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/DynamicCodeAttributeChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionBlockChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionBlockChunk.cs index 06fb85f5dc..716327f4bc 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionBlockChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionBlockChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class ExpressionBlockChunk : ChunkBlock diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionChunk.cs index 77079188b9..5b17aec8d1 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ExpressionChunk.cs @@ -1,5 +1,4 @@ -using System; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class ExpressionChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/HelperChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/HelperChunk.cs index 4e77302888..8bb814df5a 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/HelperChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/HelperChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralChunk.cs index ae609ac256..f359a66ec3 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralChunk.cs @@ -1,5 +1,4 @@ -using System; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class LiteralChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralCodeAttributeChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralCodeAttributeChunk.cs index 23fb0dc028..ef487b6413 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralCodeAttributeChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/LiteralCodeAttributeChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ResolveUrlChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ResolveUrlChunk.cs index f730ee37eb..dfa5a45607 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ResolveUrlChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/ResolveUrlChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class ResolveUrlChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SectionChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SectionChunk.cs index 957f643728..88413f572c 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SectionChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SectionChunk.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class SectionChunk : ChunkBlock diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SessionStateChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SessionStateChunk.cs index cbe061e632..1a4d058622 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SessionStateChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SessionStateChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class SessionStateChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetBaseTypeChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetBaseTypeChunk.cs index 45cf6256cb..aeab418b12 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetBaseTypeChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetBaseTypeChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class SetBaseTypeChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetLayoutChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetLayoutChunk.cs index ecef4c31a0..8e3d9b2974 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetLayoutChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/SetLayoutChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class SetLayoutChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/StatementChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/StatementChunk.cs index 25cff17ca3..bcaca10ca0 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/StatementChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/StatementChunk.cs @@ -1,6 +1,4 @@ -using System; -using Microsoft.AspNet.Razor.Text; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class StatementChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TemplateChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TemplateChunk.cs index 25984db922..209417b2ef 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TemplateChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TemplateChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class TemplateChunk : ChunkBlock diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TypeMemberChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TypeMemberChunk.cs index cce593469e..5147003074 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TypeMemberChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/TypeMemberChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class TypeMemberChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/UsingChunk.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/UsingChunk.cs index c04dc1e0fb..09bd038e08 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/UsingChunk.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Chunks/UsingChunk.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class UsingChunk : Chunk diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTree.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTree.cs index f47aa4dd71..16a4c16883 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTree.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTree.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTreeBuilder.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTreeBuilder.cs index 6d743cd463..0297284b81 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTreeBuilder.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/CodeTreeBuilder.cs @@ -1,10 +1,6 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippet.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippet.cs index 67a1531edb..9ea8db211f 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippet.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippet.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippets.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippets.cs index 85883c3660..5bf3f10233 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippets.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/CodeTree/Snippets.cs @@ -1,8 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMapping.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMapping.cs index 8cc763d555..8da0e932f8 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMapping.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMapping.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Generator.Compiler { public class LineMapping diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMappingManager.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMappingManager.cs index 239028a943..78ad9ec1e1 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMappingManager.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/LineMappingManager.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/MappingLocation.cs b/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/MappingLocation.cs index e30b08f19b..40a956c34d 100644 --- a/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/MappingLocation.cs +++ b/src/Microsoft.AspNet.Razor/Generator/Compiler/LineMappings/MappingLocation.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.AspNet.Razor.Text; +using Microsoft.AspNet.Razor.Text; namespace Microsoft.AspNet.Razor.Generator.Compiler { diff --git a/src/Microsoft.AspNet.Razor/Generator/DynamicAttributeBlockCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/DynamicAttributeBlockCodeGenerator.cs index 207b81f669..5af82342ba 100644 --- a/src/Microsoft.AspNet.Razor/Generator/DynamicAttributeBlockCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/DynamicAttributeBlockCodeGenerator.cs @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Globalization; using System.Linq; +using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.Internal.Web.Utils; -using System; -using Microsoft.AspNet.Razor.Generator.Compiler; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/HelperCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/HelperCodeGenerator.cs index 2c96d82dbf..e64295c323 100644 --- a/src/Microsoft.AspNet.Razor/Generator/HelperCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/HelperCodeGenerator.cs @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.CodeDom; using System.Globalization; +using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.Internal.Web.Utils; -using System; -using Microsoft.AspNet.Razor.Generator.Compiler; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/LiteralAttributeCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/LiteralAttributeCodeGenerator.cs index 6248b2f3c8..730828f546 100644 --- a/src/Microsoft.AspNet.Razor/Generator/LiteralAttributeCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/LiteralAttributeCodeGenerator.cs @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Globalization; +using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.Internal.Web.Utils; -using System; -using Microsoft.AspNet.Razor.Generator.Compiler; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/SectionCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/SectionCodeGenerator.cs index 37794b79e3..1651834956 100644 --- a/src/Microsoft.AspNet.Razor/Generator/SectionCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/SectionCodeGenerator.cs @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.Internal.Web.Utils; using System; using Microsoft.AspNet.Razor.Generator.Compiler; +using Microsoft.AspNet.Razor.Parser.SyntaxTree; +using Microsoft.Internal.Web.Utils; namespace Microsoft.AspNet.Razor.Generator { diff --git a/src/Microsoft.AspNet.Razor/Generator/StatementCodeGenerator.cs b/src/Microsoft.AspNet.Razor/Generator/StatementCodeGenerator.cs index 956cfb882a..5c72c9bd96 100644 --- a/src/Microsoft.AspNet.Razor/Generator/StatementCodeGenerator.cs +++ b/src/Microsoft.AspNet.Razor/Generator/StatementCodeGenerator.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using Microsoft.AspNet.Razor.Generator.Compiler; -using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser.SyntaxTree; namespace Microsoft.AspNet.Razor.Generator diff --git a/src/Microsoft.AspNet.Razor/GeneratorResults.cs b/src/Microsoft.AspNet.Razor/GeneratorResults.cs index 531c4639e7..b4ba05fafe 100644 --- a/src/Microsoft.AspNet.Razor/GeneratorResults.cs +++ b/src/Microsoft.AspNet.Razor/GeneratorResults.cs @@ -1,9 +1,5 @@ -using System; -using System.CodeDom; +using System.CodeDom; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Parser.SyntaxTree; diff --git a/src/Microsoft.AspNet.Razor/Parser/SyntaxTree/Span.cs b/src/Microsoft.AspNet.Razor/Parser/SyntaxTree/Span.cs index c3c4e639fb..8994ebf05b 100644 --- a/src/Microsoft.AspNet.Razor/Parser/SyntaxTree/Span.cs +++ b/src/Microsoft.AspNet.Razor/Parser/SyntaxTree/Span.cs @@ -1,5 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; @@ -9,7 +10,6 @@ using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Tokenizer.Symbols; using Microsoft.Internal.Web.Utils; -using System; namespace Microsoft.AspNet.Razor.Parser.SyntaxTree { diff --git a/src/Microsoft.AspNet.Razor/RazorEditorParser.cs b/src/Microsoft.AspNet.Razor/RazorEditorParser.cs index cb2496e1bc..602a063b99 100644 --- a/src/Microsoft.AspNet.Razor/RazorEditorParser.cs +++ b/src/Microsoft.AspNet.Razor/RazorEditorParser.cs @@ -1,14 +1,10 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; -using System.CodeDom; -using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; -using System.Linq; -using System.Threading; using Microsoft.AspNet.Razor.Editor; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Resources; diff --git a/src/Microsoft.AspNet.Razor/RazorEngineHost.cs b/src/Microsoft.AspNet.Razor/RazorEngineHost.cs index c24bbeeed0..b74003522f 100644 --- a/src/Microsoft.AspNet.Razor/RazorEngineHost.cs +++ b/src/Microsoft.AspNet.Razor/RazorEngineHost.cs @@ -4,7 +4,6 @@ using System; using System.CodeDom; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Diagnostics.Contracts; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser; diff --git a/src/Microsoft.AspNet.Razor/Text/SourceSpan.cs b/src/Microsoft.AspNet.Razor/Text/SourceSpan.cs index fd223cc4e8..ca5fd96dd8 100644 --- a/src/Microsoft.AspNet.Razor/Text/SourceSpan.cs +++ b/src/Microsoft.AspNet.Razor/Text/SourceSpan.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace Microsoft.AspNet.Razor.Text { public class SourceSpan diff --git a/src/Microsoft.AspNet.Razor/Tokenizer/Symbols/SymbolBase.cs b/src/Microsoft.AspNet.Razor/Tokenizer/Symbols/SymbolBase.cs index 56e90f7e4c..71ba98a689 100644 --- a/src/Microsoft.AspNet.Razor/Tokenizer/Symbols/SymbolBase.cs +++ b/src/Microsoft.AspNet.Razor/Tokenizer/Symbols/SymbolBase.cs @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Text; using Microsoft.Internal.Web.Utils; -using System; namespace Microsoft.AspNet.Razor.Tokenizer.Symbols { diff --git a/test/Microsoft.AspNet.Razor.Test/Editor/RazorEditorParserTest.cs b/test/Microsoft.AspNet.Razor.Test/Editor/RazorEditorParserTest.cs index f371b99fdb..ba81cb16b8 100644 --- a/test/Microsoft.AspNet.Razor.Test/Editor/RazorEditorParserTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Editor/RazorEditorParserTest.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Threading; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Editor; using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser.SyntaxTree; @@ -8,11 +10,9 @@ using Microsoft.AspNet.Razor.Resources; using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Test.Utils; using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; using Microsoft.CSharp; using Microsoft.TestCommon; using Moq; -using System; namespace Microsoft.AspNet.Razor.Test.Editor { diff --git a/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeGenerationTest.cs b/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeGenerationTest.cs index 76c7180b8c..ce90a2661d 100644 --- a/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeGenerationTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeGenerationTest.cs @@ -1,13 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. -using System; -using System.Collections.Generic; using System.IO; -using Microsoft.AspNet.Razor.Generator; -using Microsoft.AspNet.Razor.Generator.Compiler.CSharp; -using Microsoft.AspNet.Razor.Parser; -using Microsoft.AspNet.Razor.Parser.SyntaxTree; -using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.TestCommon; namespace Microsoft.AspNet.Razor.Test.Generator diff --git a/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeOutputValidator.cs b/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeOutputValidator.cs index 512bb43a7c..3a67b066b9 100644 --- a/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeOutputValidator.cs +++ b/test/Microsoft.AspNet.Razor.Test/Generator/CodeTree/CodeTreeOutputValidator.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using System.Text.RegularExpressions; -using System.Threading.Tasks; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Generator.Compiler; using Microsoft.AspNet.Razor.Generator.Compiler.CSharp; diff --git a/test/Microsoft.AspNet.Razor.Test/Generator/RazorCodeGeneratorTest.cs b/test/Microsoft.AspNet.Razor.Test/Generator/RazorCodeGeneratorTest.cs index f04afe28fa..580a02918b 100644 --- a/test/Microsoft.AspNet.Razor.Test/Generator/RazorCodeGeneratorTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Generator/RazorCodeGeneratorTest.cs @@ -2,6 +2,7 @@ //#define GENERATE_BASELINES +using System; using System.CodeDom; using System.CodeDom.Compiler; using System.Collections.Generic; @@ -9,12 +10,11 @@ using System.Diagnostics; using System.IO; using System.Linq; using System.Text; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Test.Utils; -using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; -using System; namespace Microsoft.AspNet.Razor.Test.Generator { diff --git a/test/Microsoft.AspNet.Razor.Test/Generator/TestSpan.cs b/test/Microsoft.AspNet.Razor.Test/Generator/TestSpan.cs index 45a3254989..3debcb6835 100644 --- a/test/Microsoft.AspNet.Razor.Test/Generator/TestSpan.cs +++ b/test/Microsoft.AspNet.Razor.Test/Generator/TestSpan.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; -using System.Diagnostics; using Microsoft.AspNet.Razor.Parser.SyntaxTree; namespace Microsoft.AspNet.Razor.Test.Generator diff --git a/test/Microsoft.AspNet.Razor.Test/Parser/BlockTest.cs b/test/Microsoft.AspNet.Razor.Test/Parser/BlockTest.cs index 671f73ec30..e50df8e4d6 100644 --- a/test/Microsoft.AspNet.Razor.Test/Parser/BlockTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Parser/BlockTest.cs @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Linq; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; namespace Microsoft.AspNet.Razor.Test.Parser diff --git a/test/Microsoft.AspNet.Razor.Test/Parser/Html/HtmlDocumentTest.cs b/test/Microsoft.AspNet.Razor.Test/Parser/Html/HtmlDocumentTest.cs index fdb83e9ecd..d4503e42cc 100644 --- a/test/Microsoft.AspNet.Razor.Test/Parser/Html/HtmlDocumentTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Parser/Html/HtmlDocumentTest.cs @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Resources; using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; -using System; namespace Microsoft.AspNet.Razor.Test.Parser.Html { diff --git a/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/CSharpPartialParsingTest.cs b/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/CSharpPartialParsingTest.cs index 506aa2619e..9d5ebddde5 100644 --- a/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/CSharpPartialParsingTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/CSharpPartialParsingTest.cs @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; -using System; namespace Microsoft.AspNet.Razor.Test.Parser.PartialParsing { diff --git a/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/PartialParsingTestBase.cs b/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/PartialParsingTestBase.cs index 732837fe49..71f4b5ec12 100644 --- a/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/PartialParsingTestBase.cs +++ b/test/Microsoft.AspNet.Razor.Test/Parser/PartialParsing/PartialParsingTestBase.cs @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using System; using System.Threading; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Test.Utils; using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; -using System; namespace Microsoft.AspNet.Razor.Test.Parser.PartialParsing { diff --git a/test/Microsoft.AspNet.Razor.Test/RazorTemplateEngineTest.cs b/test/Microsoft.AspNet.Razor.Test/RazorTemplateEngineTest.cs index 4523b0f5f5..319125ac86 100644 --- a/test/Microsoft.AspNet.Razor.Test/RazorTemplateEngineTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/RazorTemplateEngineTest.cs @@ -2,10 +2,10 @@ using System.IO; using System.Threading; +using System.Web.WebPages.TestUtils; using Microsoft.AspNet.Razor.Generator; using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; using Moq; diff --git a/test/Microsoft.AspNet.Razor.Test/Text/TextBufferReaderTest.cs b/test/Microsoft.AspNet.Razor.Test/Text/TextBufferReaderTest.cs index f43464eff3..3a166fd6f5 100644 --- a/test/Microsoft.AspNet.Razor.Test/Text/TextBufferReaderTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Text/TextBufferReaderTest.cs @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Text; -using System.Web.WebPages.TestUtils; -using Microsoft.TestCommon; using System; +using System.Web.WebPages.TestUtils; +using Microsoft.AspNet.Razor.Text; +using Microsoft.TestCommon; namespace Microsoft.AspNet.Razor.Test.Text { diff --git a/test/Microsoft.AspNet.Razor.Test/Text/TextChangeTest.cs b/test/Microsoft.AspNet.Razor.Test/Text/TextChangeTest.cs index 3f974673af..da11c2e874 100644 --- a/test/Microsoft.AspNet.Razor.Test/Text/TextChangeTest.cs +++ b/test/Microsoft.AspNet.Razor.Test/Text/TextChangeTest.cs @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. -using Microsoft.AspNet.Razor.Text; +using System; using System.Web.WebPages.TestUtils; +using Microsoft.AspNet.Razor.Text; using Microsoft.TestCommon; using Moq; -using System; namespace Microsoft.AspNet.Razor.Test.Text { diff --git a/test/Microsoft.AspNet.Razor.Test/Utils/MiscUtils.cs b/test/Microsoft.AspNet.Razor.Test/Utils/MiscUtils.cs index 7e046962cd..c452b924b4 100644 --- a/test/Microsoft.AspNet.Razor.Test/Utils/MiscUtils.cs +++ b/test/Microsoft.AspNet.Razor.Test/Utils/MiscUtils.cs @@ -1,9 +1,7 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; -using System.Diagnostics; using System.Text.RegularExpressions; -using System.Threading; using Microsoft.TestCommon; namespace Microsoft.AspNet.Razor.Test.Utils