Fixed rebasing issues.

This commit is contained in:
N. Taylor Mullen 2014-10-09 13:48:23 -07:00
parent 74974d371c
commit ae4adf6af6
1 changed files with 7 additions and 10 deletions

View File

@ -134,8 +134,6 @@ namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp
Writer.WriteStartInstrumentationContext(Context, chunk.Association, isLiteral: true); Writer.WriteStartInstrumentationContext(Context, chunk.Association, isLiteral: true);
} }
if (!string.IsNullOrEmpty(Context.TargetWriterName))
{
if (Context.ExpressionRenderingMode == ExpressionRenderingMode.WriteToOutput) if (Context.ExpressionRenderingMode == ExpressionRenderingMode.WriteToOutput)
{ {
RenderPreWriteStart(); RenderPreWriteStart();
@ -147,7 +145,6 @@ namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp
{ {
Writer.WriteEndMethodInvocation(); Writer.WriteEndMethodInvocation();
} }
}
if (Context.Host.EnableInstrumentation) if (Context.Host.EnableInstrumentation)
{ {