Quick fix for MVC. Hardcoding fullname of HelperResult.
This commit is contained in:
parent
9df4674ee5
commit
243446d225
|
|
@ -187,7 +187,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution
|
|||
|
||||
Context.Writer
|
||||
.Write(ItemParameterName).Write(" => ")
|
||||
.WriteStartNewObject("HelperResult" /* ORIGINAL: TemplateTypeName */);
|
||||
.WriteStartNewObject("Microsoft.AspNetCore.Mvc.Razor.HelperResult" /* ORIGINAL: TemplateTypeName */);
|
||||
|
||||
var initialRenderingConventions = Context.RenderingConventions;
|
||||
var redirectConventions = new CSharpRedirectRenderingConventions(TemplateWriterName, Context.Writer);
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution
|
|||
else
|
||||
{
|
||||
// Not an expression; need to buffer the result.
|
||||
Context.Writer.WriteStartNewObject("HelperResult" /* ORIGINAL: TemplateTypeName */);
|
||||
Context.Writer.WriteStartNewObject("Microsoft.AspNetCore.Mvc.Razor.HelperResult" /* ORIGINAL: TemplateTypeName */);
|
||||
|
||||
var initialRenderingConventions = Context.RenderingConventions;
|
||||
Context.RenderingConventions = new CSharpRedirectRenderingConventions(ValueWriterName, Context.Writer);
|
||||
|
|
@ -256,7 +256,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution
|
|||
|
||||
Context.Writer
|
||||
.Write(ItemParameterName).Write(" => ")
|
||||
.WriteStartNewObject("HelperResult" /* ORIGINAL: TemplateTypeName */);
|
||||
.WriteStartNewObject("Microsoft.AspNetCore.Mvc.Razor.HelperResult" /* ORIGINAL: TemplateTypeName */);
|
||||
|
||||
var initialRenderingConventions = Context.RenderingConventions;
|
||||
Context.RenderingConventions = new CSharpRedirectRenderingConventions(TemplateWriterName, Context.Writer);
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ __TestNamespace_PTagHelper.Age = ("My age is this long.".Length);
|
|||
#line default
|
||||
#line hidden
|
||||
#line 34 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml"
|
||||
__o = someMethod(item => new HelperResult(async(__razor_template_writer) => {
|
||||
__o = someMethod(item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
__TestNamespace_InputTagHelper = CreateTagHelper<global::TestNamespace.InputTagHelper>();
|
||||
__TestNamespace_InputTagHelper2 = CreateTagHelper<global::TestNamespace.InputTagHelper2>();
|
||||
#line 34 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml"
|
||||
|
|
|
|||
|
|
@ -206,23 +206,23 @@ Generated Location: (8289:173,12 [11] )
|
|||
|
||||
Source Location: (1361:33,64 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|checked|
|
||||
Generated Location: (8711:177,63 [7] )
|
||||
Generated Location: (8742:177,63 [7] )
|
||||
|checked|
|
||||
|
||||
Source Location: (1326:33,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|123|
|
||||
Generated Location: (8966:183,33 [3] )
|
||||
Generated Location: (8997:183,33 [3] )
|
||||
|123|
|
||||
|
||||
Source Location: (1375:33,78 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (9007:188,1 [1] )
|
||||
Generated Location: (9038:188,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (1388:34,10 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (9146:193,10 [3] )
|
||||
Generated Location: (9177:193,10 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
|
|
|
|||
|
|
@ -411,7 +411,7 @@ __TestNamespace_PTagHelper.Age = ("My age is this long.".Length);
|
|||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||
WriteLiteral("\r\n ");
|
||||
#line 34 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml"
|
||||
Write(someMethod(item => new HelperResult(async(__razor_template_writer) => {
|
||||
Write(someMethod(item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("p", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "test", async() => {
|
||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "test", async() => {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ WriteAttributeValue(" ", 232, ch, 233, 3, false);
|
|||
EndWriteAttribute();
|
||||
WriteLiteral(" />\r\n <p");
|
||||
BeginWriteAttribute("class", " class=\"", 248, "\"", 281, 1);
|
||||
WriteAttributeValue("", 256, new HelperResult(async(__razor_attribute_value_writer) => {
|
||||
WriteAttributeValue("", 256, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
|
||||
#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml"
|
||||
if(cls != null) {
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ __o = Foo(Bar.Baz);
|
|||
#line default
|
||||
#line hidden
|
||||
#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml"
|
||||
__o = Foo(item => new HelperResult(async(__razor_template_writer) => {
|
||||
__o = Foo(item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml"
|
||||
__o = baz;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,16 +34,16 @@ Generated Location: (1355:42,6 [4] )
|
|||
|
||||
Source Location: (142:8,14 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|baz|
|
||||
Generated Location: (1524:44,17 [3] )
|
||||
Generated Location: (1555:44,17 [3] )
|
||||
|baz|
|
||||
|
||||
Source Location: (153:8,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|)|
|
||||
Generated Location: (1565:49,1 [1] )
|
||||
Generated Location: (1596:49,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (204:13,5 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|bar|
|
||||
Generated Location: (1768:55,8 [3] )
|
||||
Generated Location: (1799:55,8 [3] )
|
||||
|bar|
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ AddHtmlAttributeValue(" ", 57, DateTime.Now, 58, 13, false);
|
|||
__TestNamespace_InputTagHelper = CreateTagHelper<global::TestNamespace.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_InputTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
AddHtmlAttributeValue("", 95, new HelperResult(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue("", 95, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
|
||||
#line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DynamicAttributeTagHelpers.cshtml"
|
||||
if (true) {
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ AddHtmlAttributeValue("", 347, long.MinValue, 347, 14, false);
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
AddHtmlAttributeValue(" ", 361, new HelperResult(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue(" ", 361, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
|
||||
#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DynamicAttributeTagHelpers.cshtml"
|
||||
if (true) {
|
||||
|
||||
|
|
@ -259,7 +259,7 @@ AddHtmlAttributeValue(" ", 490, int.MaxValue, 491, 13, false);
|
|||
__TestNamespace_InputTagHelper = CreateTagHelper<global::TestNamespace.InputTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_InputTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "unbound", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
AddHtmlAttributeValue("", 528, new HelperResult(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue("", 528, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
|
||||
#line 14 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DynamicAttributeTagHelpers.cshtml"
|
||||
if (true) {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||
{
|
||||
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ExplicitExpressionWithMarkup.cshtml"
|
||||
__o = item => new HelperResult(async(__razor_template_writer) => {
|
||||
__o = item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
{
|
||||
WriteLiteral("<div>");
|
||||
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ExplicitExpressionWithMarkup.cshtml"
|
||||
Write(item => new HelperResult(async(__razor_template_writer) => {
|
||||
Write(item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, "</div>");
|
||||
}
|
||||
));
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
});
|
||||
WriteLiteral("(string link) {\r\n <a");
|
||||
BeginWriteAttribute("href", " href=\"", 36, "\"", 93, 1);
|
||||
WriteAttributeValue("", 43, new HelperResult(async(__razor_attribute_value_writer) => {
|
||||
WriteAttributeValue("", 43, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
|
||||
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InlineBlocks.cshtml"
|
||||
if(link != null) {
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
}
|
||||
)
|
||||
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml"
|
||||
|
|
|
|||
|
|
@ -10,39 +10,39 @@ Generated Location: (652:16,2 [32] )
|
|||
Source Location: (45:2,25 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|;
|
||||
|
|
||||
Generated Location: (934:26,25 [7] )
|
||||
Generated Location: (965:26,25 [7] )
|
||||
|;
|
||||
|
|
||||
|
||||
Source Location: (68:4,0 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
| |
|
||||
Generated Location: (1062:32,0 [4] )
|
||||
Generated Location: (1093:32,0 [4] )
|
||||
| |
|
||||
|
||||
Source Location: (91:4,23 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1210:37,23 [2] )
|
||||
Generated Location: (1241:37,23 [2] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (99:7,1 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|while(i <= 10) {
|
||||
|
|
||||
Generated Location: (1332:42,1 [22] )
|
||||
Generated Location: (1363:42,1 [22] )
|
||||
|while(i <= 10) {
|
||||
|
|
||||
|
||||
Source Location: (142:8,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|i|
|
||||
Generated Location: (1503:48,28 [1] )
|
||||
Generated Location: (1534:48,28 [1] )
|
||||
|i|
|
||||
|
||||
Source Location: (148:8,31 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|
|
||||
i += 1;
|
||||
}|
|
||||
Generated Location: (1657:53,31 [16] )
|
||||
Generated Location: (1688:53,31 [16] )
|
||||
|
|
||||
i += 1;
|
||||
}|
|
||||
|
|
@ -50,14 +50,14 @@ Generated Location: (1657:53,31 [16] )
|
|||
Source Location: (169:12,1 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|if(i == 11) {
|
||||
|
|
||||
Generated Location: (1796:60,1 [19] )
|
||||
Generated Location: (1827:60,1 [19] )
|
||||
|if(i == 11) {
|
||||
|
|
||||
|
||||
Source Location: (213:13,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (1966:66,29 [3] )
|
||||
Generated Location: (1997:66,29 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ Source Location: (221:16,1 [35] TestFiles/IntegrationTests/CodeGenerationIntegra
|
|||
|switch(i) {
|
||||
case 11:
|
||||
|
|
||||
Generated Location: (2092:72,1 [35] )
|
||||
Generated Location: (2123:72,1 [35] )
|
||||
|switch(i) {
|
||||
case 11:
|
||||
|
|
||||
|
|
@ -75,7 +75,7 @@ Source Location: (292:18,44 [40] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
break;
|
||||
default:
|
||||
|
|
||||
Generated Location: (2293:79,44 [40] )
|
||||
Generated Location: (2324:79,44 [40] )
|
||||
|
|
||||
break;
|
||||
default:
|
||||
|
|
@ -85,7 +85,7 @@ Source Location: (361:21,37 [19] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
|
|
||||
break;
|
||||
}|
|
||||
Generated Location: (2492:87,37 [19] )
|
||||
Generated Location: (2523:87,37 [19] )
|
||||
|
|
||||
break;
|
||||
}|
|
||||
|
|
@ -93,26 +93,26 @@ Generated Location: (2492:87,37 [19] )
|
|||
Source Location: (385:25,1 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|for(int j = 1; j <= 10; j += 2) {
|
||||
|
|
||||
Generated Location: (2634:94,1 [39] )
|
||||
Generated Location: (2665:94,1 [39] )
|
||||
|for(int j = 1; j <= 10; j += 2) {
|
||||
|
|
||||
|
||||
Source Location: (451:26,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|j|
|
||||
Generated Location: (2829:100,34 [1] )
|
||||
Generated Location: (2860:100,34 [1] )
|
||||
|j|
|
||||
|
||||
Source Location: (457:26,37 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (2990:105,37 [3] )
|
||||
Generated Location: (3021:105,37 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
Source Location: (465:29,1 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|try {
|
||||
|
|
||||
Generated Location: (3116:111,1 [11] )
|
||||
Generated Location: (3147:111,1 [11] )
|
||||
|try {
|
||||
|
|
||||
|
||||
|
|
@ -120,34 +120,34 @@ Source Location: (511:30,39 [31] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
|
|
||||
} catch(Exception ex) {
|
||||
|
|
||||
Generated Location: (3288:117,39 [31] )
|
||||
Generated Location: (3319:117,39 [31] )
|
||||
|
|
||||
} catch(Exception ex) {
|
||||
|
|
||||
|
||||
Source Location: (573:32,35 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|ex.Message|
|
||||
Generated Location: (3479:124,38 [10] )
|
||||
Generated Location: (3510:124,38 [10] )
|
||||
|ex.Message|
|
||||
|
||||
Source Location: (588:32,50 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (3662:129,50 [3] )
|
||||
Generated Location: (3693:129,50 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
Source Location: (596:35,1 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|lock(new object()) {
|
||||
|
|
||||
Generated Location: (3788:135,1 [26] )
|
||||
Generated Location: (3819:135,1 [26] )
|
||||
|lock(new object()) {
|
||||
|
|
||||
|
||||
Source Location: (669:36,51 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (3987:141,51 [3] )
|
||||
Generated Location: (4018:141,51 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, "<p>Bar</p>");
|
||||
}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ System.Object NestedDelegates = null;
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ Generated Location: (1507:44,6 [27] )
|
|||
|
||||
Source Location: (295:15,41 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|
||||
|item|
|
||||
Generated Location: (1770:50,44 [4] )
|
||||
Generated Location: (1801:50,44 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (306:15,52 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|
||||
|; |
|
||||
Generated Location: (1975:57,52 [2] )
|
||||
Generated Location: (2006:57,52 [2] )
|
||||
|; |
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ WriteAttributeValue(" ", 121, thing, 122, 6, false);
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, "<span>");
|
||||
#line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 12 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
#line default
|
||||
#line hidden
|
||||
#line 17 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = Repeat(10, item => new HelperResult(async(__razor_template_writer) => {
|
||||
__o = Repeat(10, item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 17 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ __o = Repeat(10, item => new HelperResult(async(__razor_template_writer) => {
|
|||
#line hidden
|
||||
#line 21 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = Repeat(10,
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 22 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ __o = Repeat(10,
|
|||
#line hidden
|
||||
#line 27 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = Repeat(10,
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 28 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ __o = Repeat(10,
|
|||
#line hidden
|
||||
#line 33 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = Repeat(10,
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 34 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ __o = Repeat(10,
|
|||
#line default
|
||||
#line hidden
|
||||
#line 40 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = Repeat(10, item => new HelperResult(async(__razor_template_writer) => {
|
||||
__o = Repeat(10, item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
#line 41 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
__o = item;
|
||||
|
||||
|
|
|
|||
|
|
@ -7,112 +7,112 @@ Generated Location: (647:16,2 [34] )
|
|||
|
||||
Source Location: (337:11,51 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|item|
|
||||
Generated Location: (928:23,54 [4] )
|
||||
Generated Location: (959:23,54 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (349:11,63 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|;
|
||||
|
|
||||
Generated Location: (1145:30,63 [7] )
|
||||
Generated Location: (1176:30,63 [7] )
|
||||
|;
|
||||
|
|
||||
|
||||
Source Location: (357:12,5 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|foo("")|
|
||||
Generated Location: (1279:36,8 [7] )
|
||||
Generated Location: (1310:36,8 [7] )
|
||||
|foo("")|
|
||||
|
||||
Source Location: (364:12,12 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1418:41,12 [2] )
|
||||
Generated Location: (1449:41,12 [2] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (379:16,2 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|Repeat(10, |
|
||||
Generated Location: (1543:46,6 [11] )
|
||||
Generated Location: (1574:46,6 [11] )
|
||||
|Repeat(10, |
|
||||
|
||||
Source Location: (402:16,25 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|item|
|
||||
Generated Location: (1730:48,28 [4] )
|
||||
Generated Location: (1792:48,28 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (411:16,34 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|)|
|
||||
Generated Location: (1772:53,1 [1] )
|
||||
Generated Location: (1834:53,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (430:20,1 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|Repeat(10,
|
||||
|
|
||||
Generated Location: (1899:58,6 [16] )
|
||||
Generated Location: (1961:58,6 [16] )
|
||||
|Repeat(10,
|
||||
|
|
||||
|
||||
Source Location: (463:21,21 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|item|
|
||||
Generated Location: (2087:61,24 [4] )
|
||||
Generated Location: (2180:61,24 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (484:22,0 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|)|
|
||||
Generated Location: (2129:66,1 [1] )
|
||||
Generated Location: (2222:66,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (501:26,1 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|Repeat(10,
|
||||
|
|
||||
Generated Location: (2256:71,6 [16] )
|
||||
Generated Location: (2349:71,6 [16] )
|
||||
|Repeat(10,
|
||||
|
|
||||
|
||||
Source Location: (535:27,22 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|item|
|
||||
Generated Location: (2445:74,25 [4] )
|
||||
Generated Location: (2569:74,25 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (557:28,0 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|)|
|
||||
Generated Location: (2487:79,1 [1] )
|
||||
Generated Location: (2611:79,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (574:32,1 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|Repeat(10,
|
||||
|
|
||||
Generated Location: (2614:84,6 [16] )
|
||||
Generated Location: (2738:84,6 [16] )
|
||||
|Repeat(10,
|
||||
|
|
||||
|
||||
Source Location: (609:33,23 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|item|
|
||||
Generated Location: (2804:87,26 [4] )
|
||||
Generated Location: (2959:87,26 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (631:34,0 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|)|
|
||||
Generated Location: (2846:92,1 [1] )
|
||||
Generated Location: (3001:92,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (655:39,5 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|Repeat(10, |
|
||||
Generated Location: (2975:97,8 [11] )
|
||||
Generated Location: (3130:97,8 [11] )
|
||||
|Repeat(10, |
|
||||
|
||||
Source Location: (688:40,15 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|item|
|
||||
Generated Location: (3152:99,18 [4] )
|
||||
Generated Location: (3338:99,18 [4] )
|
||||
|item|
|
||||
|
||||
Source Location: (704:41,10 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|var parent = item;|
|
||||
Generated Location: (3286:104,10 [18] )
|
||||
Generated Location: (3472:104,10 [18] )
|
||||
|var parent = item;|
|
||||
|
||||
Source Location: (863:46,9 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|)|
|
||||
Generated Location: (3341:109,1 [1] )
|
||||
Generated Location: (3527:109,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (12:0,12 [265] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml)
|
||||
|
|
@ -125,7 +125,7 @@ Source Location: (12:0,12 [265] TestFiles/IntegrationTests/CodeGenerationIntegra
|
|||
});
|
||||
}
|
||||
|
|
||||
Generated Location: (3522:116,12 [265] )
|
||||
Generated Location: (3708:116,12 [265] )
|
||||
|
|
||||
public HelperResult Repeat(int times, Func<int, object> template) {
|
||||
return new HelperResult((writer) => {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
|
||||
#line default
|
||||
#line hidden
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, "This works ");
|
||||
#line 12 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
@ -39,7 +39,7 @@ Write(foo(""));
|
|||
#line hidden
|
||||
WriteLiteral("\r\n<ul>\r\n");
|
||||
#line 17 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
Write(Repeat(10, item => new HelperResult(async(__razor_template_writer) => {
|
||||
Write(Repeat(10, item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, "<li>Item #");
|
||||
#line 17 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
@ -55,7 +55,7 @@ WriteTo(__razor_template_writer, item);
|
|||
WriteLiteral("\r\n</ul>\r\n\r\n<p>\r\n");
|
||||
#line 21 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
Write(Repeat(10,
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, " This is line#");
|
||||
#line 22 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
@ -71,7 +71,7 @@ WriteTo(__razor_template_writer, item);
|
|||
WriteLiteral("\r\n</p>\r\n\r\n<p>\r\n");
|
||||
#line 27 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
Write(Repeat(10,
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, ": This is line#");
|
||||
#line 28 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
@ -87,7 +87,7 @@ WriteTo(__razor_template_writer, item);
|
|||
WriteLiteral("\r\n</p>\r\n\r\n<p>\r\n");
|
||||
#line 33 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
Write(Repeat(10,
|
||||
item => new HelperResult(async(__razor_template_writer) => {
|
||||
item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, ":: This is line#");
|
||||
#line 34 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
@ -102,7 +102,7 @@ WriteTo(__razor_template_writer, item);
|
|||
#line hidden
|
||||
WriteLiteral("\r\n</p>\r\n\r\n\r\n<ul>\r\n ");
|
||||
#line 40 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
Write(Repeat(10, item => new HelperResult(async(__razor_template_writer) => {
|
||||
Write(Repeat(10, item => new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
|
||||
WriteLiteralTo(__razor_template_writer, "<li>\r\n Item #");
|
||||
#line 41 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Templates.cshtml"
|
||||
WriteTo(__razor_template_writer, item);
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles
|
|||
__TestNamespace_PTagHelper = CreateTagHelper<global::TestNamespace.PTagHelper>();
|
||||
__tagHelperExecutionContext.Add(__TestNamespace_PTagHelper);
|
||||
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||
AddHtmlAttributeValue("", 109, new HelperResult(async(__razor_attribute_value_writer) => {
|
||||
AddHtmlAttributeValue("", 109, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
|
||||
}
|
||||
), 109, 6, false);
|
||||
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
|
||||
|
|
|
|||
Loading…
Reference in New Issue