Whitespace cleanup

This commit is contained in:
Ryan Nowak 2017-03-06 16:29:59 -08:00
parent cefca39510
commit 3159266169
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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++)