From 315926616985b57d6a99f7396bc43b8d633fbec9 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Mon, 6 Mar 2017 16:29:59 -0800 Subject: [PATCH] Whitespace cleanup --- .../CodeGeneration/DefaultDocumentWriter.cs | 2 -- .../CodeGeneration/RuntimeCSharpRenderer.cs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/DefaultDocumentWriter.cs b/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/DefaultDocumentWriter.cs index a46d3794aa..093095ed50 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/DefaultDocumentWriter.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/DefaultDocumentWriter.cs @@ -10,7 +10,6 @@ namespace Microsoft.AspNetCore.Razor.Evolution.CodeGeneration { private readonly CSharpRenderingContext _context; private readonly RuntimeTarget _target; - private readonly PageStructureCSharpRenderer _renderer; public DefaultDocumentWriter(RuntimeTarget target, CSharpRenderingContext context, PageStructureCSharpRenderer renderer) @@ -57,7 +56,6 @@ namespace Microsoft.AspNetCore.Razor.Evolution.CodeGeneration { private readonly CSharpRenderingContext _context; private readonly RuntimeTarget _target; - private readonly PageStructureCSharpRenderer _renderer; public Visitor(RuntimeTarget target, CSharpRenderingContext context, PageStructureCSharpRenderer renderer) diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/RuntimeCSharpRenderer.cs b/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/RuntimeCSharpRenderer.cs index 949970a990..b1077aee37 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/RuntimeCSharpRenderer.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/CodeGeneration/RuntimeCSharpRenderer.cs @@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.CodeGeneration { internal class RuntimeCSharpRenderer : PageStructureCSharpRenderer { - public RuntimeCSharpRenderer(RuntimeTarget target, CSharpRenderingContext context) + public RuntimeCSharpRenderer(RuntimeTarget target, CSharpRenderingContext context) : base(target, context) { } @@ -71,7 +71,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.CodeGeneration var padding = BuildOffsetPadding(Context.RenderingConventions.StartWriteMethod.Length, node.Source.Value, Context); Context.Writer.Write(padding); } - + Context.Writer.Write(Context.RenderingConventions.StartWriteMethod); for (var i = 0; i < node.Children.Count; i++)