Fixed rebasing issues.
This commit is contained in:
parent
74974d371c
commit
ae4adf6af6
|
|
@ -134,19 +134,16 @@ namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp
|
|||
Writer.WriteStartInstrumentationContext(Context, chunk.Association, isLiteral: true);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(Context.TargetWriterName))
|
||||
if (Context.ExpressionRenderingMode == ExpressionRenderingMode.WriteToOutput)
|
||||
{
|
||||
if (Context.ExpressionRenderingMode == ExpressionRenderingMode.WriteToOutput)
|
||||
{
|
||||
RenderPreWriteStart();
|
||||
}
|
||||
RenderPreWriteStart();
|
||||
}
|
||||
|
||||
Writer.WriteStringLiteral(chunk.Text);
|
||||
Writer.WriteStringLiteral(chunk.Text);
|
||||
|
||||
if (Context.ExpressionRenderingMode == ExpressionRenderingMode.WriteToOutput)
|
||||
{
|
||||
Writer.WriteEndMethodInvocation();
|
||||
}
|
||||
if (Context.ExpressionRenderingMode == ExpressionRenderingMode.WriteToOutput)
|
||||
{
|
||||
Writer.WriteEndMethodInvocation();
|
||||
}
|
||||
|
||||
if (Context.Host.EnableInstrumentation)
|
||||
|
|
|
|||
Loading…
Reference in New Issue