#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("<form>\r\n "); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); BeginWriteTagHelperAttribute(); #line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithPrefix.cshtml" WriteLiteral(Hello); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __InputTagHelper.BoundProp = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("bound", __InputTagHelper.BoundProp, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n</form>"); }
#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("\r\n"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); __InputTagHelper.BoundProp = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { } ); __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); __tagHelperExecutionContext.Add(__DivTagHelper); BeginWriteTagHelperAttribute(); #nullable restore
#pragma warning restore 0414 #pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { #line 13 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithTemplate.cshtml" RenderTemplate( "Template: ", #line default #line hidden item => new Template(async(__razor_template_writer) => { #line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithTemplate.cshtml" __o = item; #line default #line hidden __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); } ) #line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithTemplate.cshtml" ); #line default #line hidden __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); }
#pragma warning restore 0414 #pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { __SpanTagHelper = CreateTagHelper <global::SpanTagHelper>(); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __InputTagHelper.FooProp = "Hello"; __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); }
#pragma warning restore 0414 #pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); #line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithPrefix.cshtml" __o = Hello; #line default #line hidden __InputTagHelper.BoundProp = string.Empty; }
#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("<form>\r\n "); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); BeginWriteTagHelperAttribute(); #nullable restore
#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { WriteLiteral("Hola"); } ); __SpanTagHelper = CreateTagHelper <global::SpanTagHelper>(); __tagHelperExecutionContext.Add(__SpanTagHelper); BeginWriteTagHelperAttribute(); __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __tagHelperExecutionContext.AddHtmlAttribute("someattr", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { WriteLiteral("\r\n "); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); __InputTagHelper.FooProp = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n"); } ); __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); __tagHelperExecutionContext.Add(__DivTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); }
#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("\r\n"); WriteLiteral("\r\n"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { WriteLiteral("\r\n"); #nullable restore #line 13 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithTemplate.cshtml" RenderTemplate( "Template: ", #line default #line hidden #nullable disable item => new Template(async(__razor_template_writer) => { PushWriter(__razor_template_writer); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { WriteLiteral("<h3>"); #nullable restore #line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithTemplate.cshtml" Write(item); #line default #line hidden #nullable disable WriteLiteral("</h3>"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); }
#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("<p>Hola</p>\r\n<form>\r\n "); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); __InputTagHelper.FooProp = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n</form>"); }
#pragma warning restore 0414 #pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __InputTagHelper.BoundProp = "hello"; __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); #line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithDataDashAttributes.cshtml" __o = foo; #line default #line hidden #line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithDataDashAttributes.cshtml" __o = bar; #line default #line hidden #line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithDataDashAttributes.cshtml" __o = foo; #line default #line hidden }
#pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("\r\n"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); __InputTagHelper.BoundProp = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n"); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { } ); __DivTagHelper = CreateTagHelper <global::DivTagHelper>(); __tagHelperExecutionContext.Add(__DivTagHelper); BeginWriteTagHelperAttribute(); #line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithDataDashAttributes.cshtml" Write(foo); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __tagHelperExecutionContext.AddHtmlAttribute("data-one", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithDataDashAttributes.cshtml" Write(bar); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __tagHelperExecutionContext.AddHtmlAttribute("data-two", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); WriteLiteral("\r\n<p"); BeginWriteAttribute("attr", " attr=\"", 166, "\"", 173, 0); EndWriteAttribute(); WriteLiteral(" data-one=\"\" data-two= data-three=hello data-four="); #line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/TagHelpersWithDataDashAttributes.cshtml" Write(foo); #line default #line hidden WriteLiteral(">\r\n"); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 28, true); WriteLiteral("<span someattr>Hola</span>\r\n"); EndContext(); BeginContext(61, 7, false); #line 3 "TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.cshtml" Write("Hello"); #line default #line hidden EndContext(); BeginContext(69, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(71, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => { BeginContext(91, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(97, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => { } ); __InputTagHelper = CreateTagHelper <global::InputTagHelper>(); __tagHelperExecutionContext.Add(__InputTagHelper); __InputTagHelper.FooProp = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); #line 5 "TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.cshtml" __InputTagHelper.BarProp = DateTime.Now; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("date", __InputTagHelper.BarProp, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(149, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __FormTagHelper = CreateTagHelper <global::FormTagHelper>(); __tagHelperExecutionContext.Add(__FormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(158, 31, true); WriteLiteral("\r\n\r\n<span>Here is some content "); EndContext(); BeginContext(207, 9, true); WriteLiteral("</span>\r\n"); EndContext(); BeginContext(217, 29, false); #line 9 "TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.cshtml" Write(Foo(item => new Template(async(__razor_template_writer) => { PushWriter(__razor_template_writer); BeginContext(222, 24, true); WriteLiteral("<span>Hello world</span>"); EndContext(); PopWriter(); } ))); #line default #line hidden EndContext(); }