diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 6de3cb730f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
deleted file mode 100644
index cc858bd23b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
- HtmlContent - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
deleted file mode 100644
index b97e7aa5a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index d9db12dcf0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index feb915aee2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick(UIMouseEventArgs e) \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 8e3a9e0d99..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
-Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (1028:27,133 [7] )
-|OnClick|
-
-Source Location: (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (1151:31,12 [91] )
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 6de3cb730f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
deleted file mode 100644
index cc858bd23b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
- HtmlContent - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:1,53 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
deleted file mode 100644
index b97e7aa5a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 606261cf30..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System.Threading.Tasks;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index 0da76c0893..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick() \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index b20efd8550..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System.Threading.Tasks|
-Generated Location: (266:10,0 [28] )
-|using System.Threading.Tasks|
-
-Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (1028:27,133 [7] )
-|OnClick|
-
-Source Location: (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (1151:31,12 [73] )
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index d0abedafaf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => ParentValue = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 7295ad37a4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - OnChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- HtmlContent - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index ebd53f042b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1164:29,35 [11] )
-|ParentValue|
-
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1588:42,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 5a8ecbc709..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 68aa44af9f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index eb3e730a54..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1093:29,35 [11] )
-|ParentValue|
-
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1543:41,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index aa91ac7986..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => ParentValue = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index c75da4700b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- HtmlContent - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index bf42d527ee..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1154:29,25 [11] )
-|ParentValue|
-
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1578:42,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 611acf6ce4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index b933602fea..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index ed41ba9eac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1083:29,25 [11] )
-|ParentValue|
-
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1533:41,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index f028961ecb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ParentValue
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => ParentValue = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "42";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 8a43c85cbe..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- HtmlContent - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "42";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index a3e10bc4ef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1154:29,25 [11] )
-|ParentValue|
-
-Source Location: (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "42";
-|
-Generated Location: (1578:42,12 [55] )
-|
- public string ParentValue { get; set; } = "42";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 96562a892c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd");
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd");
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 45daf14a11..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd")
- HtmlContent - (108:1,77 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:1,77 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 87ca7a8ac5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|CurrentDate|
-Generated Location: (1005:27,71 [11] )
-|CurrentDate|
-
-Source Location: (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1277:32,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 684f352a03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index dadfe0591b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (87:1,56 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:1,56 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index e629286e38..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1259:32,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index e768b0f0cf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 8621ce9bc9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (49:1,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (64:1,33 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (64:1,33 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 2e15f74625..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (49:1,18 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1259:32,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index e768b0f0cf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 6bf6c30c87..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [27] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (43:1,12 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (58:1,27 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:1,27 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index cd366f6243..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (43:1,12 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1259:32,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 4b556e6406..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLowerInvariant();
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- header
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
deleted file mode 100644
index 2da9c6fd7c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [62] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some Content\n
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 325cb343a0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (987:28,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLowerInvariant()|
-Generated Location: (1201:34,55 [26] )
-|context.ToLowerInvariant()|
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1414:40,87 [2] )
-|; |
-
-Source Location: (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|header|
-Generated Location: (1607:46,21 [6] )
-|header|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
deleted file mode 100644
index d2554d64da..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLowerInvariant();
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- header
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- builder.AddAttribute(-1, "Footer", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
deleted file mode 100644
index 53a2f512d8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [114] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (155:3,2 [41] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some Content
- ComponentChildContent - (200:4,2 [21] x:\dir\subdir\Test\TestComponent.cshtml) - Footer
- HtmlContent - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Bye!
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 325cb343a0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (987:28,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLowerInvariant()|
-Generated Location: (1201:34,55 [26] )
-|context.ToLowerInvariant()|
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1414:40,87 [2] )
-|; |
-
-Source Location: (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|header|
-Generated Location: (1607:46,21 [6] )
-|header|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 72169e0d95..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(Enabled);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public bool Enabled { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 5349927f27..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) - Html - checkbox
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - checked=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (61:1,30 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled
- IntermediateToken - - CSharp - )
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled)
- HtmlContent - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public bool Enabled { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 4535b9812b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (61:1,30 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|Enabled|
-Generated Location: (1005:27,71 [7] )
-|Enabled|
-
-Source Location: (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public bool Enabled { get; set; }
-|
-Generated Location: (1247:32,12 [41] )
-|
- public bool Enabled { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 7d61f92d2a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, Format);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index bdd5856a21..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - (85:1,54 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format)
- HtmlContent - (94:1,63 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (94:1,63 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n\n public string Format { get; set; } = "MM/dd/yyyy";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 466721d41a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|CurrentDate|
-Generated Location: (1005:27,71 [11] )
-|CurrentDate|
-
-Source Location: (85:1,54 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|Format|
-Generated Location: (1018:27,84 [6] )
-|Format|
-
-Source Location: (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-Generated Location: (1275:32,12 [135] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index f9fb164b2f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd/yyyy");
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy");
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 72fc1f0f07..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [66] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd/yyyy"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy")
- HtmlContent - (97:1,66 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (97:1,66 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 7170fa644c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|CurrentDate|
-Generated Location: (1005:27,71 [11] )
-|CurrentDate|
-
-Source Location: (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1287:32,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 684f352a03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 2813471425..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index d2b22b616a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1259:32,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 684f352a03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue);
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index b791080153..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (45:1,14 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- HtmlContent - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 08dab60ebf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (45:1,14 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentValue|
-Generated Location: (1005:27,71 [11] )
-|ParentValue|
-
-Source Location: (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1259:32,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
deleted file mode 100644
index ea8dc2f926..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
deleted file mode 100644
index 6d9d0292e4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
deleted file mode 100644
index c8cfdec15a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1256:36,34 [4] )
-|"hi"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
deleted file mode 100644
index 9564c39735..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- ));
- __o = new System.Action(
- __value => Value = __value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
deleted file mode 100644
index 0028e0a5d0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- HtmlContent - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
deleted file mode 100644
index 07633fc4bb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1311:36,36 [5] )
-|Value|
-
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1717:49,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
deleted file mode 100644
index 03f32dcebf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt
deleted file mode 100644
index eead159f4f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value)
- HtmlContent - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
deleted file mode 100644
index 10234758f3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1246:36,36 [5] )
-|Value|
-
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1678:48,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index d1412ef37b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 18
-
-#line default
-#line hidden
- , -1, Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- ), -1, Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1, int __seq2, System.Object __arg2)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Value", __arg0);
- builder.AddAttribute(__seq1, "Item", __arg1);
- builder.AddAttribute(__seq2, "ItemChanged", __arg2);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 3ce37a7df2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression - (67:1,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 18
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value)
- HtmlContent - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 23f5de23fc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|18|
-Generated Location: (1115:29,37 [2] )
-|18|
-
-Source Location: (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1297:35,23 [5] )
-|Value|
-
-Source Location: (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1564:43,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index a50ae877af..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1, Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Value
-
-#line default
-#line hidden
- ), -1,
- __value => Value = __value);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "ItemChanged", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 8da25b3d5e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [30] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- HtmlContent - (61:1,30 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (61:1,30 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 566c12bfe7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
-|Value|
-Generated Location: (1154:29,23 [5] )
-|Value|
-
-Source Location: (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1367:38,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 84bb22d4ae..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index 5b20b6f6c4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [90] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (72:1,41 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (76:2,2 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- HtmlContent - (105:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (105:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 62f2c6c68e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1256:36,34 [4] )
-|"hi"|
-
-Source Location: (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1508:43,8 [17] )
-|context.ToLower()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 3952832c1b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- , -1, (context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::Microsoft.AspNetCore.Components.RenderFragment __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "ChildContent", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 0c8dec9c50..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (59:1,28 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (63:2,2 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- HtmlContent - (92:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (92:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index d966dab3c2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1243:35,8 [17] )
-|context.ToLower()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
deleted file mode 100644
index e3f7ea641a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- __o =
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 17
-
-#line default
-#line hidden
- ;
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt
deleted file mode 100644
index 18d0da6b2b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - - Other -
- CSharpExpression - (79:1,48 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 17
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
deleted file mode 100644
index 3fe96bdbc7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1031:29,19 [6] )
-|string|
-
-Source Location: (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1256:36,34 [4] )
-|"hi"|
-
-Source Location: (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|17|
-Generated Location: (1430:43,50 [2] )
-|17|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 959b2015b6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- , -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 17
-
-#line default
-#line hidden
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "Other", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index fffdaf96ad..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - - Other -
- CSharpExpression - (66:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 17
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 565d353805..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|17|
-Generated Location: (1244:35,37 [2] )
-|17|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index d77ffc4e7a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index ffc822ec86..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index ae90183a66..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
deleted file mode 100644
index ee03dbe3e8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_1(builder, -1, -1,
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- "how are you?"
-
-#line default
-#line hidden
- );
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_2(builder, -1, -1,
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- "bye!"
-
-#line default
-#line hidden
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- public static void CreateMyComponent_1(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- public static void CreateMyComponent_2(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt
deleted file mode 100644
index 4c54493797..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- HtmlContent - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (62:2,0 [39] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (81:2,19 [17] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (82:2,20 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (83:2,21 [14] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "how are you?"
- HtmlContent - (101:2,39 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,39 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (103:3,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (122:3,19 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (123:3,20 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "bye!"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_1
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_2
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
deleted file mode 100644
index cde7b926ae..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (83:2,21 [14] x:\dir\subdir\Test\TestComponent.cshtml)
-|"how are you?"|
-Generated Location: (1317:36,21 [14] )
-|"how are you?"|
-
-Source Location: (124:3,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|"bye!"|
-Generated Location: (1545:43,21 [6] )
-|"bye!"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
deleted file mode 100644
index 1ed68c5bc9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- string
-
-#line default
-#line hidden
- );
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- int
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- ));
- builder.AddAttribute(-1, "AnotherChildContent", (Microsoft.AspNetCore.Components.RenderFragment.Context>)((item) => (builder2) => {
-#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = System.Math.Max(0, item.Item);
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt
deleted file mode 100644
index 099d94fbcf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [228] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (88:2,2 [58] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlElement - (102:2,16 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- ComponentChildContent - (148:3,0 [95] x:\dir\subdir\Test\TestComponent.cshtml) - AnotherChildContent
- HtmlContent - (184:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (184:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - System.Math.Max(0, item.Item)
- HtmlContent - (218:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (218:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- ComponentTypeArgumentExtensionNode - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem1
- IntermediateToken - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentTypeArgumentExtensionNode - (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml) - TItem2
- IntermediateToken - (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - int
- ComponentAttributeExtensionNode - (75:1,44 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (76:1,45 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (77:1,46 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
deleted file mode 100644
index d0914a96e8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|string|
-Generated Location: (1032:29,20 [6] )
-|string|
-
-Source Location: (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|int|
-Generated Location: (1199:36,34 [3] )
-|int|
-
-Source Location: (77:1,46 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1433:43,46 [4] )
-|"hi"|
-
-Source Location: (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1699:50,22 [17] )
-|context.ToLower()|
-
-Source Location: (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
-|System.Math.Max(0, item.Item)|
-Generated Location: (2014:58,6 [29] )
-|System.Math.Max(0, item.Item)|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 3933f941a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "hi"
-
-#line default
-#line hidden
- , -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- new List()
-
-#line default
-#line hidden
- , -1, (context) => (builder2) => {
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLower();
-
-#line default
-#line hidden
- }
- , -1, (item) => (builder2) => {
-#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = System.Math.Max(0, item.Item);
-
-#line default
-#line hidden
- }
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem1 __arg0, int __seq1, global::System.Collections.Generic.List __arg1, int __seq2, global::Microsoft.AspNetCore.Components.RenderFragment __arg2, int __seq3, global::Microsoft.AspNetCore.Components.RenderFragment.Context> __arg3)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "Items", __arg1);
- builder.AddAttribute(__seq2, "ChildContent", __arg2);
- builder.AddAttribute(__seq3, "AnotherChildContent", __arg3);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index a388f98227..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [229] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentChildContent - (89:2,2 [58] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlElement - (103:2,16 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (109:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (109:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- ComponentChildContent - (149:3,0 [95] x:\dir\subdir\Test\TestComponent.cshtml) - AnotherChildContent
- HtmlContent - (185:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (185:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (190:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (190:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - System.Math.Max(0, item.Item)
- HtmlContent - (219:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (219:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - (65:1,34 [19] x:\dir\subdir\Test\TestComponent.cshtml) - Items - Items
- CSharpExpression - (66:1,35 [18] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:1,36 [16] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - new List()
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 3e4078529d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hi"|
-Generated Location: (1099:29,21 [4] )
-|"hi"|
-
-Source Location: (67:1,36 [16] x:\dir\subdir\Test\TestComponent.cshtml)
-|new List()|
-Generated Location: (1243:35,36 [16] )
-|new List()|
-
-Source Location: (109:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLower()|
-Generated Location: (1413:41,22 [17] )
-|context.ToLower()|
-
-Source Location: (190:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
-|System.Math.Max(0, item.Item)|
-Generated Location: (1581:48,6 [29] )
-|System.Math.Max(0, item.Item)|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.ir.txt
deleted file mode 100644
index 04bb07c5f8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.ir.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [15] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 288be779ed..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.ir.txt
deleted file mode 100644
index f32a0f1d27..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [91] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some text
- HtmlElement - (66:1,35 [42] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- HtmlContent - (84:1,53 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:1,53 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Nested text
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.ir.txt
deleted file mode 100644
index f08cf8b747..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [47] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlElement - (44:1,13 [20] x:\dir\subdir\Test\TestComponent.cshtml) - child
- HtmlContent - (51:1,20 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (51:1,20 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.ir.txt
deleted file mode 100644
index 48021f51a0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [61] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (44:1,13 [34] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (58:1,27 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:1,27 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
deleted file mode 100644
index 61d34f7812..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = new System.Action(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- Increment
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private int counter;
- private void Increment(UIEventArgs e) {
- counter++;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.ir.txt
deleted file mode 100644
index ae39bbd033..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (53:1,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - OnClick
- CSharpExpression - (54:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (54:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
- HtmlContent - (66:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (82:3,12 [100] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (82:3,12 [100] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(UIEventArgs e) {\n counter++;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
deleted file mode 100644
index c6405d7c54..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (54:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|Increment|
-Generated Location: (1091:29,23 [9] )
-|Increment|
-
-Source Location: (82:3,12 [100] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private int counter;
- private void Increment(UIEventArgs e) {
- counter++;
- }
-|
-Generated Location: (1412:40,12 [100] )
-|
- private int counter;
- private void Increment(UIEventArgs e) {
- counter++;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index a2c066546a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context;
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index 26e2f26f43..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [64] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (44:1,13 [37] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- CSharpExpression - (59:1,28 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
deleted file mode 100644
index ca548bcd18..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (59:1,28 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|context|
-Generated Location: (1160:29,28 [7] )
-|context|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
deleted file mode 100644
index ef63483411..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 42.ToString()
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.ir.txt
deleted file mode 100644
index a1f995fc26..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [49] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (60:1,29 [16] x:\dir\subdir\Test\TestComponent.cshtml) - StringProperty - StringProperty
- CSharpExpression - (62:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (62:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 42.ToString()
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
deleted file mode 100644
index 81e7979f41..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (62:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|42.ToString()|
-Generated Location: (1108:29,31 [13] )
-|42.ToString()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 5b51e73b4e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.ToLowerInvariant();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index 5ac1905184..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [107] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (57:1,26 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some text
- HtmlElement - (66:1,35 [58] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- CSharpExpression - (85:1,54 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:1,54 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 81a696b3b9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (85:1,54 [26] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.ToLowerInvariant()|
-Generated Location: (1209:30,54 [26] )
-|context.ToLowerInvariant()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
deleted file mode 100644
index b7253041bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((item) => (builder2) => {
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = item.ToLowerInvariant();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.ir.txt
deleted file mode 100644
index af1d17208c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [164] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (61:2,2 [118] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (90:2,31 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (90:2,31 [15] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some text
- HtmlElement - (105:3,13 [55] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- CSharpExpression - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - item.ToLowerInvariant()
- HtmlContent - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
deleted file mode 100644
index 5031c58513..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
-|item.ToLowerInvariant()|
-Generated Location: (1184:30,32 [23] )
-|item.ToLowerInvariant()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
deleted file mode 100644
index b7253041bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((item) => (builder2) => {
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = item.ToLowerInvariant();
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.ir.txt
deleted file mode 100644
index abe035020b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [164] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (76:2,2 [103] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (90:2,16 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (90:2,16 [15] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some text
- HtmlElement - (105:3,13 [55] x:\dir\subdir\Test\TestComponent.cshtml) - some-child
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - 1
- CSharpExpression - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - item.ToLowerInvariant()
- HtmlContent - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (160:3,68 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - MyAttr - MyAttr
- HtmlContent - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - abc
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
deleted file mode 100644
index 5031c58513..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (124:3,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
-|item.ToLowerInvariant()|
-Generated Location: (1184:30,32 [23] )
-|item.ToLowerInvariant()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
deleted file mode 100644
index e40582d4ef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = new System.Action(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- e => { Increment(); }
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private int counter;
- private void Increment() {
- counter++;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.ir.txt
deleted file mode 100644
index 4bc5d5e640..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [49] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (53:1,22 [24] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - OnClick
- CSharpExpression - (54:1,23 [23] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (55:1,24 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - e => { Increment(); }
- HtmlContent - (80:1,49 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (80:1,49 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (96:3,12 [87] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (96:3,12 [87] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment() {\n counter++;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
deleted file mode 100644
index 52bd507773..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (55:1,24 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|e => { Increment(); }|
-Generated Location: (1092:29,24 [21] )
-|e => { Increment(); }|
-
-Source Location: (96:3,12 [87] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private int counter;
- private void Increment() {
- counter++;
- }
-|
-Generated Location: (1425:40,12 [87] )
-|
- private int counter;
- private void Increment() {
- counter++;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
deleted file mode 100644
index eb6a81956e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- __o =
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 43.ToString()
-
-#line default
-#line hidden
- ;
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.ir.txt
deleted file mode 100644
index 7a7abec512..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [72] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - - some-attribute -
- HtmlContent - (60:1,29 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - foo
- ComponentAttributeExtensionNode - - another-attribute -
- CSharpExpression - (84:1,53 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 43.ToString()
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
deleted file mode 100644
index e441ce9d71..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (86:1,55 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|43.ToString()|
-Generated Location: (1083:30,55 [13] )
-|43.ToString()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
deleted file mode 100644
index 264122c83e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/MyPage")]
- [Microsoft.AspNetCore.Components.RouteAttribute("/AnotherRoute/{id}")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/MyPage";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/AnotherRoute/{id}";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.ir.txt
deleted file mode 100644
index bfbbf79448..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /MyPage
- RouteAttributeExtensionNode - - /AnotherRoute/{id}
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- DirectiveToken - (37:1,6 [9] x:\dir\subdir\Test\TestComponent.cshtml) - "/MyPage"
- DirectiveToken - (54:2,6 [20] x:\dir\subdir\Test\TestComponent.cshtml) - "/AnotherRoute/{id}"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (76:3,0 [15] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
deleted file mode 100644
index 201fe3fccc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (644:17,38 [15] )
-|*, TestAssembly|
-
-Source Location: (37:1,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/MyPage"|
-Generated Location: (760:21,37 [9] )
-|"/MyPage"|
-
-Source Location: (54:2,6 [20] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/AnotherRoute/{id}"|
-Generated Location: (869:25,37 [20] )
-|"/AnotherRoute/{id}"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
deleted file mode 100644
index 14f9c64fda..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- 123
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- true
-
-#line default
-#line hidden
- );
- __o = "";
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
- new SomeType()
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.ir.txt
deleted file mode 100644
index 75f100aadc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.ir.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [132] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (63:2,17 [3] x:\dir\subdir\Test\TestComponent.cshtml) - IntProperty - IntProperty
- IntermediateToken - (63:2,17 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 123
- ComponentAttributeExtensionNode - (87:3,18 [4] x:\dir\subdir\Test\TestComponent.cshtml) - BoolProperty - BoolProperty
- IntermediateToken - (87:3,18 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - true
- ComponentAttributeExtensionNode - (114:4,20 [9] x:\dir\subdir\Test\TestComponent.cshtml) - StringProperty - StringProperty
- HtmlContent - (114:4,20 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (114:4,20 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Html - My string
- ComponentAttributeExtensionNode - (146:5,20 [14] x:\dir\subdir\Test\TestComponent.cshtml) - ObjectProperty - ObjectProperty
- IntermediateToken - (146:5,20 [14] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - new SomeType()
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
deleted file mode 100644
index c8b0c01001..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (63:2,17 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|123|
-Generated Location: (1093:29,17 [3] )
-|123|
-
-Source Location: (87:3,18 [4] x:\dir\subdir\Test\TestComponent.cshtml)
-|true|
-Generated Location: (1307:36,18 [4] )
-|true|
-
-Source Location: (146:5,20 [14] x:\dir\subdir\Test\TestComponent.cshtml)
-|new SomeType()|
-Generated Location: (1546:44,20 [14] )
-|new SomeType()|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
deleted file mode 100644
index d6a9b8149c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- OnClick
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Action OnClick { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.ir.txt
deleted file mode 100644
index c745f2e320..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.ir.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [37] x:\dir\subdir\Test\TestComponent.cshtml) - DynamicElement - Test.DynamicElement
- ComponentAttributeExtensionNode - (56:1,25 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick - onclick
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (57:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (68:1,37 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (84:3,12 [62] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (84:3,12 [62] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Action OnClick { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
deleted file mode 100644
index 4902958cc5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (57:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (1146:29,26 [7] )
-|OnClick|
-
-Source Location: (84:3,12 [62] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Action OnClick { get; set; }
-|
-Generated Location: (1465:40,12 [62] )
-|
- private Action OnClick { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
deleted file mode 100644
index 2aa30acccf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- "very-cool"
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.ir.txt
deleted file mode 100644
index 0068449567..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - CoolnessMeter - Test.CoolnessMeter
- ComponentAttributeExtensionNode - (56:1,25 [14] x:\dir\subdir\Test\TestComponent.cshtml) - Coolness - Coolness
- CSharpExpression - (57:1,26 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:1,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "very-cool"
- HtmlContent - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:1,43 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
deleted file mode 100644
index 2e5b895428..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (58:1,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|"very-cool"|
-Generated Location: (1103:29,27 [11] )
-|"very-cool"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
deleted file mode 100644
index b7cb3a157a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using Microsoft.AspNetCore.Components;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object TItem1 = null;
- }
- ))();
- ((System.Action)(() => {
-global::System.Object TItem2 = null;
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
- foreach (var item2 in Items2)
-{
-
-
-#line default
-#line hidden
-#line 9 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = ChildContent(item2);
-
-#line default
-#line hidden
-#line 10 "x:\dir\subdir\Test\TestComponent.cshtml"
-
-}
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 12 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- [Parameter] TItem1 Item1 { get; set; }
- [Parameter] List Items2 { get; set; }
- [Parameter] RenderFragment ChildContent { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.ir.txt
deleted file mode 100644
index e7daa631fa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.ir.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem1
- DirectiveToken - (71:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem2
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (39:0,39 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (39:0,39 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (79:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (79:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (81:4,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (85:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Item1
- HtmlContent - (95:4,14 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:4,14 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - foreach (var item2 in Items2)\n{\n
- HtmlElement - (136:7,4 [40] x:\dir\subdir\Test\TestComponent.cshtml) - p
- HtmlContent - (139:7,7 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (139:7,7 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ChildContent(item2)
- HtmlContent - (165:8,24 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (165:8,24 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- CSharpCode - (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n}
- HtmlContent - (179:10,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (179:10,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (193:11,12 [164] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (193:11,12 [164] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n [Parameter] TItem1 Item1 { get; set; }\n [Parameter] List Items2 { get; set; }\n [Parameter] RenderFragment ChildContent { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
deleted file mode 100644
index d2ba18a0b0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
-|using Microsoft.AspNetCore.Components;|
-Generated Location: (257:10,0 [38] )
-|using Microsoft.AspNetCore.Components;|
-
-Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|TItem1|
-Generated Location: (581:19,22 [6] )
-|TItem1|
-
-Source Location: (71:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|TItem2|
-Generated Location: (679:23,22 [6] )
-|TItem2|
-
-Source Location: (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
-|foreach (var item2 in Items2)
-{
- |
-Generated Location: (1159:36,1 [38] )
-|foreach (var item2 in Items2)
-{
- |
-
-Source Location: (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
-|ChildContent(item2)|
-Generated Location: (1287:43,6 [19] )
-|ChildContent(item2)|
-
-Source Location: (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|
-}|
-Generated Location: (1400:48,8 [3] )
-|
-}|
-
-Source Location: (193:11,12 [164] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- [Parameter] TItem1 Item1 { get; set; }
- [Parameter] List Items2 { get; set; }
- [Parameter] RenderFragment ChildContent { get; set; }
-|
-Generated Location: (1549:56,12 [164] )
-|
- [Parameter] TItem1 Item1 { get; set; }
- [Parameter] List Items2 { get; set; }
- [Parameter] RenderFragment ChildContent { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
deleted file mode 100644
index 919a59d52a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.ir.txt
deleted file mode 100644
index bd6aceb134..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (15:0,15 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (15:0,15 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (17:1,0 [13] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (22:1,5 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (22:1,5 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
deleted file mode 100644
index 633fcbe59d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- myInstance = default(Test.MyComponent);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.ir.txt
deleted file mode 100644
index 938a29719d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [72] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - - ParamBefore -
- HtmlContent - (57:1,26 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (57:1,26 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - before
- RefExtensionNode - (70:1,39 [10] x:\dir\subdir\Test\TestComponent.cshtml) - myInstance - Test.MyComponent
- ComponentAttributeExtensionNode - - ParamAfter -
- HtmlContent - (94:1,63 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (94:1,63 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - after
- HtmlContent - (103:1,72 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (103:1,72 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (224:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (224:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (119:3,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (119:3,12 [104] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Test.MyComponent myInstance;\n public void Foo() { System.GC.KeepAlive(myInstance); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
deleted file mode 100644
index 8a41bd417e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (70:1,39 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|myInstance|
-Generated Location: (1221:33,39 [10] )
-|myInstance|
-
-Source Location: (119:3,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-Generated Location: (1405:40,12 [104] )
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 4622f728a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- myInstance = default(Test.MyComponent);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.ir.txt
deleted file mode 100644
index 7817dcfea3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [96] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (76:1,45 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (76:1,45 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some
- HtmlElement - (87:2,9 [16] x:\dir\subdir\Test\TestComponent.cshtml) - el
- HtmlContent - (91:2,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (91:2,13 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - further
- HtmlContent - (103:2,25 [10] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (103:2,25 [10] x:\dir\subdir\Test\TestComponent.cshtml) - Html - content\n
- RefExtensionNode - (49:1,18 [10] x:\dir\subdir\Test\TestComponent.cshtml) - myInstance - Test.MyComponent
- ComponentAttributeExtensionNode - - SomeProp -
- HtmlContent - (71:1,40 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,40 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - val
- HtmlContent - (127:3,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (127:3,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (248:8,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (248:8,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (143:5,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (143:5,12 [104] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Test.MyComponent myInstance;\n public void Foo() { System.GC.KeepAlive(myInstance); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 3d1c3b4c7b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (49:1,18 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|myInstance|
-Generated Location: (1177:32,18 [10] )
-|myInstance|
-
-Source Location: (143:5,12 [104] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-Generated Location: (1361:39,12 [104] )
-|
- private Test.MyComponent myInstance;
- public void Foo() { System.GC.KeepAlive(myInstance); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
deleted file mode 100644
index 652f524371..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- myElem = default(Microsoft.AspNetCore.Components.ElementRef);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private Microsoft.AspNetCore.Components.ElementRef myElem;
- public void Foo() { System.GC.KeepAlive(myElem); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.ir.txt
deleted file mode 100644
index a073fd2d4a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [79] x:\dir\subdir\Test\TestComponent.cshtml) - elem
- HtmlContent - (67:0,67 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:0,67 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlAttribute - - attributebefore=" - "
- HtmlAttributeValue - (23:0,23 [6] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (23:0,23 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - before
- RefExtensionNode - (36:0,36 [6] x:\dir\subdir\Test\TestComponent.cshtml) - myElem - Element
- HtmlAttribute - - attributeafter=" - "
- HtmlAttributeValue - (60:0,60 [5] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (60:0,60 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - after
- HtmlContent - (79:0,79 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (79:0,79 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (218:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (218:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (95:2,12 [122] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [122] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Microsoft.AspNetCore.Components.ElementRef myElem;\n public void Foo() { System.GC.KeepAlive(myElem); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
deleted file mode 100644
index 595c999d6f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (36:0,36 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|myElem|
-Generated Location: (904:24,36 [6] )
-|myElem|
-
-Source Location: (95:2,12 [122] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private Microsoft.AspNetCore.Components.ElementRef myElem;
- public void Foo() { System.GC.KeepAlive(myElem); }
-|
-Generated Location: (1110:31,12 [122] )
-|
- private Microsoft.AspNetCore.Components.ElementRef myElem;
- public void Foo() { System.GC.KeepAlive(myElem); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
deleted file mode 100644
index b4a0c15da5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("alert(\"Test\");");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.ir.txt
deleted file mode 100644
index adc6fd4a10..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [34] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [14] x:\dir\subdir\Test\TestComponent.cshtml) - onfocus=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "alert(\"Test\");"
- IntermediateToken - - CSharp - )
- HtmlContent - (34:0,34 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (34:0,34 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 1232e09d7a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick(UIEventArgs e) {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.ir.txt
deleted file mode 100644
index 694f284ee0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [44] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [44] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIEventArgs e) {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 965fd7554a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [44] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick(UIEventArgs e) {
- }
-|
-Generated Location: (1073:27,12 [44] )
-|
- void OnClick(UIEventArgs e) {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
deleted file mode 100644
index 6dc4a0750a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick(UIMouseEventArgs e) {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.ir.txt
deleted file mode 100644
index a29f78db65..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 0a370a2d5f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-Generated Location: (1073:27,12 [49] )
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
deleted file mode 100644
index c49c3e267f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(x => { });
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.ir.txt
deleted file mode 100644
index 43fa8cb757..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [11] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 610f3730a8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|x => { }|
-Generated Location: (950:23,133 [8] )
-|x => { }|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 6dc4a0750a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick(UIMouseEventArgs e) {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.ir.txt
deleted file mode 100644
index a29f78db65..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 0a370a2d5f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [49] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-Generated Location: (1073:27,12 [49] )
-|
- void OnClick(UIMouseEventArgs e) {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
deleted file mode 100644
index c49c3e267f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(x => { });
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.ir.txt
deleted file mode 100644
index 43fa8cb757..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [11] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 610f3730a8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (18:0,18 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|x => { }|
-Generated Location: (950:23,133 [8] )
-|x => { }|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index b339a6b857..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick);
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- void OnClick() {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.ir.txt
deleted file mode 100644
index ce1ec8f759..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (42:1,12 [31] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:1,12 [31] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick() {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index f95192d92e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnClick|
-Generated Location: (950:23,133 [7] )
-|OnClick|
-
-Source Location: (42:1,12 [31] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- void OnClick() {
- }
-|
-Generated Location: (1073:27,12 [31] )
-|
- void OnClick() {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
deleted file mode 100644
index 2479d0a29a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(() => { });
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.ir.txt
deleted file mode 100644
index 95e52fa87f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [32] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (18:0,18 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => { }
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
deleted file mode 100644
index 5d5d60fe4c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (18:0,18 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|() => { }|
-Generated Location: (950:23,133 [9] )
-|() => { }|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
deleted file mode 100644
index 87a6b631f7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("foo");
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.ir.txt
deleted file mode 100644
index 4cd6780e07..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [23] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (16:0,16 [3] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "foo"
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.codegen.cs
deleted file mode 100644
index b545b34713..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.codegen.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = typeof(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- int
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 3
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- _my = default(Test.MyComponent);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.ir.txt
deleted file mode 100644
index af3f05c9cb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.ir.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [44] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [3] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - int
- ComponentAttributeExtensionNode - (60:1,29 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- IntermediateToken - (60:1,29 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 3
- RefExtensionNode - (68:1,37 [3] x:\dir\subdir\Test\TestComponent.cshtml) - _my - Test.MyComponent
- HtmlContent - (75:1,44 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (75:1,44 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (182:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (182:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (91:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (91:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private MyComponent _my;\n public void Foo() { System.GC.KeepAlive(_my); }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.mappings.txt
deleted file mode 100644
index 0a61d8b69b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef/TestComponent.mappings.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|int|
-Generated Location: (1031:29,19 [3] )
-|int|
-
-Source Location: (60:1,29 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|3|
-Generated Location: (1245:36,29 [1] )
-|3|
-
-Source Location: (68:1,37 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|_my|
-Generated Location: (1534:45,37 [3] )
-|_my|
-
-Source Location: (91:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-Generated Location: (1716:52,12 [90] )
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index eba8acca98..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- 3
-
-#line default
-#line hidden
- , -1, (__value) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- _my = __value;
-
-#line default
-#line hidden
- }
- );
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action> __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddComponentReferenceCapture(__seq1, (__value) => { __arg1((global::Test.MyComponent)__value); });
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 6cd775d303..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [34] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- IntermediateToken - (50:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 3
- RefExtensionNode - (58:1,27 [3] x:\dir\subdir\Test\TestComponent.cshtml) - _my - global::Test.MyComponent
- HtmlContent - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (172:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (172:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (81:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private MyComponent _my;\n public void Foo() { System.GC.KeepAlive(_my); }\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 870211d4c5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (50:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|3|
-Generated Location: (1097:29,19 [1] )
-|3|
-
-Source Location: (58:1,27 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|_my|
-Generated Location: (1243:35,27 [3] )
-|_my|
-
-Source Location: (81:3,12 [90] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-Generated Location: (1433:44,12 [90] )
-|
- private MyComponent _my;
- public void Foo() { System.GC.KeepAlive(_my); }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
deleted file mode 100644
index 06575bce03..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = "My value";
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
deleted file mode 100644
index 1e3e6ce893..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "My value"
- HtmlContent - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlElement - (17:2,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
deleted file mode 100644
index e4acf4e91b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|"My value"|
-Generated Location: (874:24,6 [10] )
-|"My value"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.ir.txt
deleted file mode 100644
index b063139009..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [7] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n \n
- ComponentExtensionNode - (36:2,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - SomeOtherComponent - Test.SomeOtherComponent
- HtmlContent - (58:2,22 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:2,22 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlElement - (62:4,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (66:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:4,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
deleted file mode 100644
index d23ff3765d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-using System;
-
-#line default
-#line hidden
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.ir.txt
deleted file mode 100644
index c2f340ba5b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [12] x:\dir\subdir\Test\TestComponent.cshtml) - System
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlElement - (17:2,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (21:2,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
deleted file mode 100644
index ae847626d3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (1:0,1 [12] x:\dir\subdir\Test\TestComponent.cshtml)
-|using System|
-Generated Location: (282:10,0 [12] )
-|using System|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 69a65f5ce1..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "Header", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- builder.AddAttribute(-1, "Footer", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = "bye!";
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.ir.txt
deleted file mode 100644
index 9cc23593bb..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [87] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (50:2,4 [20] x:\dir\subdir\Test\TestComponent.cshtml) - Header
- HtmlContent - (58:2,12 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (58:2,12 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hi!
- ComponentChildContent - (76:3,4 [26] x:\dir\subdir\Test\TestComponent.cshtml) - Footer
- CSharpExpression - (86:3,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:3,14 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "bye!"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
deleted file mode 100644
index cedac6119b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (86:3,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
-|"bye!"|
-Generated Location: (1257:32,14 [6] )
-|"bye!"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
deleted file mode 100644
index a95a14e77e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment template = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.Index;
-
-#line default
-#line hidden
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = context.Item.ToLower();
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- template
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.ir.txt
deleted file mode 100644
index 5c76c02ce5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [54] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [54] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment template = (context) =>
- Template - (90:1,57 [48] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (90:1,57 [50] x:\dir\subdir\Test\TestComponent.cshtml) - li
- HtmlContent - (94:1,61 [1] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (94:1,61 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - #
- CSharpExpression - (96:1,63 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (96:1,63 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.Index
- HtmlContent - (109:1,76 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (109:1,76 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \-
- CSharpExpression - (113:1,80 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (113:1,80 [22] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.Item.ToLower()
- CSharpCode - (140:1,107 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (140:1,107 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (145:2,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (168:2,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Template - Template
- CSharpExpression - (169:2,24 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (169:2,24 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - template
- HtmlContent - (180:2,35 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (180:2,35 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
deleted file mode 100644
index b518bb32e8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [54] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment template = (context) => |
-Generated Location: (987:28,2 [54] )
-| RenderFragment template = (context) => |
-
-Source Location: (96:1,63 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.Index|
-Generated Location: (1217:34,63 [13] )
-|context.Index|
-
-Source Location: (113:1,80 [22] x:\dir\subdir\Test\TestComponent.cshtml)
-|context.Item.ToLower()|
-Generated Location: (1395:39,80 [22] )
-|context.Item.ToLower()|
-
-Source Location: (140:1,107 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1624:45,107 [2] )
-|; |
-
-Source Location: (169:2,24 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|template|
-Generated Location: (1819:51,24 [8] )
-|template|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
deleted file mode 100644
index 64b2cd0629..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- RenderFragment p = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- person.Name
-
-#line default
-#line hidden
- );
- builder2.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder3) => {
- }
- ));
- }
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.ir.txt
deleted file mode 100644
index 6618985236..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n RenderFragment p = (person) =>
- Template - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml) - div
- ComponentExtensionNode - (86:2,49 [34] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (105:2,68 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Name - Name
- CSharpExpression - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;\n
- CSharpCode - (144:4,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:4,12 [76] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
deleted file mode 100644
index 2617c56e67..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- RenderFragment p = (person) => |
-Generated Location: (987:28,2 [45] )
-|
- RenderFragment p = (person) => |
-
-Source Location: (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1310:36,69 [11] )
-|person.Name|
-
-Source Location: (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|;
-|
-Generated Location: (1693:46,89 [3] )
-|;
-|
-
-Source Location: (144:4,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-Generated Location: (1839:53,12 [76] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
deleted file mode 100644
index dbbb8065b5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- RenderFragment p = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
- __o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- person.Name
-
-#line default
-#line hidden
- );
- builder2.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder3) => {
- }
- ));
- }
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
-#line 6 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = "hello, world!";
-
-#line default
-#line hidden
- }
- ));
- }
- #pragma warning restore 1998
-#line 9 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.ir.txt
deleted file mode 100644
index 4674bf0e0e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n RenderFragment p = (person) =>
- Template - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (81:2,44 [45] x:\dir\subdir\Test\TestComponent.cshtml) - div
- ComponentExtensionNode - (86:2,49 [34] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (105:2,68 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Name - Name
- CSharpExpression - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;\n
- ComponentExtensionNode - (132:4,0 [49] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (145:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (145:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (149:5,2 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (149:5,2 [15] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hello, world!"
- HtmlContent - (165:5,18 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (165:5,18 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (181:6,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (181:6,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpCode - (197:8,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (197:8,12 [76] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
deleted file mode 100644
index dea3d8428f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- RenderFragment p = (person) => |
-Generated Location: (987:28,2 [45] )
-|
- RenderFragment p = (person) => |
-
-Source Location: (106:2,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1310:36,69 [11] )
-|person.Name|
-
-Source Location: (126:2,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|;
-|
-Generated Location: (1693:46,89 [3] )
-|;
-|
-
-Source Location: (149:5,2 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|"hello, world!"|
-Generated Location: (1903:52,6 [15] )
-|"hello, world!"|
-
-Source Location: (197:8,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-Generated Location: (2096:61,12 [76] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
deleted file mode 100644
index 1c2e655a88..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment template = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o = new Microsoft.AspNetCore.Components.RenderFragment(
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- template
-
-#line default
-#line hidden
- );
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.ir.txt
deleted file mode 100644
index 0b2d2a7eef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [47] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [47] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment template = (person) =>
- Template - (83:1,50 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (83:1,50 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (89:1,56 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (89:1,56 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (106:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (106:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (111:2,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (140:2,29 [9] x:\dir\subdir\Test\TestComponent.cshtml) - PersonTemplate - PersonTemplate
- CSharpExpression - (141:2,30 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (141:2,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - template
- HtmlContent - (152:2,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (152:2,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
deleted file mode 100644
index 83d796d983..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [47] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment template = (person) => |
-Generated Location: (987:28,2 [47] )
-| RenderFragment template = (person) => |
-
-Source Location: (89:1,56 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1203:34,56 [11] )
-|person.Name|
-
-Source Location: (106:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1387:40,73 [2] )
-|; |
-
-Source Location: (141:2,30 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|template|
-Generated Location: (1587:46,30 [8] )
-|template|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
deleted file mode 100644
index fe3b5a38c9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = RenderPerson((person) => (builder2) => {
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
-}
-);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.ir.txt
deleted file mode 100644
index 04ddbdf5e3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (1:0,1 [48] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (1:0,1 [25] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderPerson((person) =>
- Template - (27:0,27 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (27:0,27 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- IntermediateToken - (50:0,50 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - )
- HtmlContent - (51:0,51 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (51:0,51 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (65:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n\n object RenderPerson(RenderFragment p) => null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
deleted file mode 100644
index b37981c1a8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-Source Location: (1:0,1 [25] x:\dir\subdir\Test\TestComponent.cshtml)
-|RenderPerson((person) => |
-Generated Location: (874:24,6 [25] )
-|RenderPerson((person) => |
-
-Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1000:26,33 [11] )
-|person.Name|
-
-Source Location: (50:0,50 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|)|
-Generated Location: (1048:31,0 [1] )
-|)|
-
-Source Location: (65:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-Generated Location: (1195:38,12 [138] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
deleted file mode 100644
index 1a513d9bfe..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- RenderFragment p = (person) =>
-
-#line default
-#line hidden
- (builder2) => {
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.ir.txt
deleted file mode 100644
index d04fb1ffca..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpCode - (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n RenderFragment p = (person) =>
- Template - (48:1,44 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (48:1,44 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- CSharpCode - (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;\n
- CSharpCode - (89:3,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (89:3,12 [76] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
deleted file mode 100644
index b9045e5bb7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-Source Location: (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- RenderFragment p = (person) => |
-Generated Location: (870:24,2 [45] )
-|
- RenderFragment p = (person) => |
-
-Source Location: (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1078:31,50 [11] )
-|person.Name|
-
-Source Location: (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|;
-|
-Generated Location: (1256:37,67 [3] )
-|;
-|
-
-Source Location: (89:3,12 [76] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-Generated Location: (1402:44,12 [76] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
deleted file mode 100644
index 0da3a367ff..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = RenderPerson((person) => (builder2) => {
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = person.Name;
-
-#line default
-#line hidden
-}
-);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.ir.txt
deleted file mode 100644
index abc67e5715..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (2:0,2 [48] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderPerson((person) =>
- Template - (28:0,28 [22] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (28:0,28 [23] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
- IntermediateToken - (51:0,51 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - )
- HtmlContent - (53:0,53 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (53:0,53 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (67:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n class Person\n {\n public string Name { get; set; }\n }\n\n object RenderPerson(RenderFragment p) => null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
deleted file mode 100644
index c11ce14a08..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-Source Location: (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml)
-|RenderPerson((person) => |
-Generated Location: (874:24,6 [25] )
-|RenderPerson((person) => |
-
-Source Location: (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml)
-|person.Name|
-Generated Location: (1001:26,34 [11] )
-|person.Name|
-
-Source Location: (51:0,51 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|)|
-Generated Location: (1049:31,0 [1] )
-|)|
-
-Source Location: (67:1,12 [138] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-Generated Location: (1196:38,12 [138] )
-|
- class Person
- {
- public string Name { get; set; }
- }
-
- object RenderPerson(RenderFragment p) => null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
deleted file mode 100644
index a9dfa2f064..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment template =
-
-#line default
-#line hidden
- (builder2) => {
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- __o =
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
- template
-
-#line default
-#line hidden
- ;
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.ir.txt
deleted file mode 100644
index ce6182b349..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.ir.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml) - "*, TestAssembly"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:0,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (35:1,2 [27] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,2 [27] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment template =
- Template - (63:1,30 [15] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (63:1,30 [15] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (68:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Joey
- CSharpCode - (78:1,45 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:1,45 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (83:2,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - - Person -
- CSharpExpression - (104:2,21 [9] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (105:2,22 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - template
- HtmlContent - (116:2,33 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (116:2,33 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
deleted file mode 100644
index 4d64399583..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Source Location: (14:0,14 [17] x:\dir\subdir\Test\TestComponent.cshtml)
-|"*, TestAssembly"|
-Generated Location: (502:15,37 [17] )
-|"*, TestAssembly"|
-
-Source Location: (35:1,2 [27] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment template = |
-Generated Location: (987:28,2 [27] )
-| RenderFragment template = |
-
-Source Location: (78:1,45 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1187:35,45 [2] )
-|; |
-
-Source Location: (105:2,22 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|template|
-Generated Location: (1315:41,22 [8] )
-|template|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
deleted file mode 100644
index aef1427130..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = RenderPerson((builder2) => {
-}
-);
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- object RenderPerson(RenderFragment p) => null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.ir.txt
deleted file mode 100644
index 99a41a7949..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpExpression - (1:0,1 [27] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderPerson(
- Template - (15:0,15 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (15:0,15 [13] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (20:0,20 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (20:0,20 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - HI
- IntermediateToken - (28:0,28 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - )
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (43:1,12 [54] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (43:1,12 [54] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n object RenderPerson(RenderFragment p) => null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
deleted file mode 100644
index 53fef3eae5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|RenderPerson(|
-Generated Location: (874:24,6 [13] )
-|RenderPerson(|
-
-Source Location: (28:0,28 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|)|
-Generated Location: (907:26,0 [1] )
-|)|
-
-Source Location: (43:1,12 [54] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- object RenderPerson(RenderFragment p) => null;
-|
-Generated Location: (1054:33,12 [54] )
-|
- object RenderPerson(RenderFragment p) => null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
deleted file mode 100644
index 866e1f96c6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- y
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => y = __value, y);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string y = null;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.ir.txt
deleted file mode 100644
index bd039a21c9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - Counter - Test.Counter
- ComponentAttributeExtensionNode - (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - v -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - y
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - vChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => y = __value, y)
- HtmlContent - (53:1,22 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (53:1,22 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (92:4,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (92:4,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (67:2,12 [24] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (67:2,12 [24] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string y = null;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
deleted file mode 100644
index b04372471a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (48:1,17 [1] x:\dir\subdir\Test\TestComponent.cshtml)
-|y|
-Generated Location: (1075:29,17 [1] )
-|y|
-
-Source Location: (67:2,12 [24] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string y = null;
-|
-Generated Location: (1495:41,12 [24] )
-|
- string y = null;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
deleted file mode 100644
index 825aae87ed..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- UserName
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserName = __value, UserName);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetValue(
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- UserIsActive
-
-#line default
-#line hidden
- );
- __o = Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserIsActive = __value, UserIsActive);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
-#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string UserName { get; set; }
- public bool UserIsActive { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.ir.txt
deleted file mode 100644
index 762f8737ea..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.ir.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (31:1,0 [60] x:\dir\subdir\Test\TestComponent.cshtml) - User - Test.User
- ComponentAttributeExtensionNode - (48:1,17 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Name -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (49:1,18 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - UserName
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (48:1,17 [9] x:\dir\subdir\Test\TestComponent.cshtml) - NameChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserName = __value, UserName)
- ComponentAttributeExtensionNode - (74:1,43 [13] x:\dir\subdir\Test\TestComponent.cshtml) - IsActive -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (75:1,44 [12] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - UserIsActive
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (74:1,43 [13] x:\dir\subdir\Test\TestComponent.cshtml) - IsActiveChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => UserIsActive = __value, UserIsActive)
- HtmlContent - (91:1,60 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (91:1,60 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (196:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (196:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (107:3,12 [88] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (107:3,12 [88] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string UserName { get; set; }\n public bool UserIsActive { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
deleted file mode 100644
index d01e84b908..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
-Source Location: (49:1,18 [8] x:\dir\subdir\Test\TestComponent.cshtml)
-|UserName|
-Generated Location: (1076:29,18 [8] )
-|UserName|
-
-Source Location: (75:1,44 [12] x:\dir\subdir\Test\TestComponent.cshtml)
-|UserIsActive|
-Generated Location: (1422:37,44 [12] )
-|UserIsActive|
-
-Source Location: (107:3,12 [88] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string UserName { get; set; }
- public bool UserIsActive { get; set; }
-|
-Generated Location: (1875:49,12 [88] )
-|
- public string UserName { get; set; }
- public bool UserIsActive { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
deleted file mode 100644
index 4f3db087b4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.diagnostics.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.diagnostics.txt
deleted file mode 100644
index 57b2bc7949..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.diagnostics.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-x:\dir\subdir\Test\TestComponent.cshtml(8,2): Error RZ1035: Missing close angle for tag helper 'SurveyPrompt'.
-x:\dir\subdir\Test\TestComponent.cshtml(8,2): Error RZ1034: Found a malformed 'SurveyPrompt' tag helper. Tag helpers must have a start and end tag or be self closing.
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.ir.txt
deleted file mode 100644
index 37b5fb19ad..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- DirectiveToken - (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml) - "/"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (44:3,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello, world!
- HtmlContent - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\nWelcome to your new app.\n\n
- ComponentExtensionNode - (98:7,0 [23] x:\dir\subdir\Test\TestComponent.cshtml) - SurveyPrompt - Test.SurveyPrompt
- ComponentAttributeExtensionNode - (119:7,21 [0] x:\dir\subdir\Test\TestComponent.cshtml) - Title - Title
- HtmlContent - (119:7,21 [0] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (119:7,21 [0] x:\dir\subdir\Test\TestComponent.cshtml) - Html -
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
deleted file mode 100644
index a9b5edf72a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (562:16,38 [15] )
-|*, TestAssembly|
-
-Source Location: (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/"|
-Generated Location: (678:20,37 [3] )
-|"/"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
deleted file mode 100644
index 4f3db087b4..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = "";
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.ir.txt
deleted file mode 100644
index 8e11bee99a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.ir.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- DirectiveToken - (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml) - "/"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (42:2,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (44:3,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (48:3,4 [13] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello, world!
- HtmlContent - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (66:3,22 [32] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\nWelcome to your new app.\n\n
- ComponentExtensionNode - (98:7,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - SurveyPrompt - Test.SurveyPrompt
- ComponentAttributeExtensionNode - (119:7,21 [16] x:\dir\subdir\Test\TestComponent.cshtml) - Title - Title
- HtmlContent - (119:7,21 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (119:7,21 [16] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Test!
- HtmlContent - (139:7,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (139:7,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
deleted file mode 100644
index a9b5edf72a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (562:16,38 [15] )
-|*, TestAssembly|
-
-Source Location: (37:1,6 [3] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/"|
-Generated Location: (678:20,37 [3] )
-|"/"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
deleted file mode 100644
index e27aca9ed6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __o = Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnComponentHover);
-#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
- __o = ParentBgColor;
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentBgColor { get; set; } = "#FFFFFF";
-
- public void OnComponentHover(UIMouseEventArgs e)
- {
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.ir.txt
deleted file mode 100644
index f05985b010..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.ir.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [73] x:\dir\subdir\Test\TestComponent.cshtml) - p
- HtmlAttribute - (16:0,16 [17] x:\dir\subdir\Test\TestComponent.cshtml) - onmouseover=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (17:0,17 [16] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnComponentHover
- IntermediateToken - - CSharp - )
- HtmlAttribute - - style=" - "
- HtmlAttributeValue - (42:0,42 [11] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (42:0,42 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Html - background:
- CSharpExpressionAttributeValue - (53:0,53 [15] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (55:0,55 [13] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentBgColor
- HtmlAttributeValue - (68:0,68 [1] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (68:0,68 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;
- HtmlContent - (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (220:7,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (220:7,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpCode - (87:1,12 [132] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:1,12 [132] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentBgColor { get; set; } = "#FFFFFF";\n\n public void OnComponentHover(UIMouseEventArgs e)\n {\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
deleted file mode 100644
index dfe4ea339c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Source Location: (17:0,17 [16] x:\dir\subdir\Test\TestComponent.cshtml)
-|OnComponentHover|
-Generated Location: (950:23,133 [16] )
-|OnComponentHover|
-
-Source Location: (55:0,55 [13] x:\dir\subdir\Test\TestComponent.cshtml)
-|ParentBgColor|
-Generated Location: (1076:25,55 [13] )
-|ParentBgColor|
-
-Source Location: (87:1,12 [132] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentBgColor { get; set; } = "#FFFFFF";
-
- public void OnComponentHover(UIMouseEventArgs e)
- {
- }
-|
-Generated Location: (1235:32,12 [132] )
-|
- public string ParentBgColor { get; set; } = "#FFFFFF";
-
- public void OnComponentHover(UIMouseEventArgs e)
- {
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.codegen.cs
deleted file mode 100644
index 919a59d52a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.codegen.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.ir.txt
deleted file mode 100644
index 50d67b6e07..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/ScriptTag_WithErrorSuppressed/TestComponent.ir.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [144] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlContent - (5:0,5 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (5:0,5 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (11:1,4 [125] x:\dir\subdir\Test\TestComponent.cshtml) - script
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html - some/url.js
- HtmlAttribute - - -
- HtmlAttributeValue - -
- IntermediateToken - - Html -
- HtmlContent - (78:1,71 [49] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:1,71 [49] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n some text\n some more text\n
- HtmlContent - (136:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (136:4,13 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlContent - (144:5,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:5,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
deleted file mode 100644
index a041c175f6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-__o = "My value";
-
-#line default
-#line hidden
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
deleted file mode 100644
index e35b51185f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlContent - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- CSharpExpression - (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "My value"
- HtmlContent - (31:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (31:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
deleted file mode 100644
index 1184d613a7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
-|"My value"|
-Generated Location: (874:24,6 [10] )
-|"My value"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
deleted file mode 100644
index 3c8fef1074..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "*, TestAssembly";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- }
- ));
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.ir.txt
deleted file mode 100644
index f837db0a99..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.ir.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml) - *, TestAssembly
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (31:1,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (35:1,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:1,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlContent - (45:1,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (45:1,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- ComponentExtensionNode - (49:3,0 [22] x:\dir\subdir\Test\TestComponent.cshtml) - SomeOtherComponent - Test.SomeOtherComponent
- HtmlContent - (71:3,22 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (71:3,22 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.mappings.txt
deleted file mode 100644
index 3917573adf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (14:0,14 [15] x:\dir\subdir\Test\TestComponent.cshtml)
-|*, TestAssembly|
-Generated Location: (503:15,38 [15] )
-|*, TestAssembly|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
deleted file mode 100644
index 138dcf99f7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- [Microsoft.AspNetCore.Components.RouteAttribute("/my/url")]
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 219
- private void __RazorDirectiveTokenHelpers__() {
- ((System.Action)(() => {
-global::System.Object __typeHelper = "/my/url";
- }
- ))();
- }
- #pragma warning restore 219
- #pragma warning disable 0414
- private static System.Object __o = null;
- #pragma warning restore 0414
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.ir.txt
deleted file mode 100644
index d220046235..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [12] ) - System
- UsingDirective - (18:2,1 [32] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [17] ) - System.Linq
- UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
- RouteAttributeExtensionNode - - /my/url
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- DesignTimeDirective -
- DirectiveToken - (14:0,14 [36] ) - "*, Microsoft.AspNetCore.Components"
- DirectiveToken - (14:0,14 [9] ) - "*, Test"
- DirectiveToken - (24:2,6 [9] x:\dir\subdir\Test\TestComponent.cshtml) - "/my/url"
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning disable 0414
- CSharpCode -
- IntermediateToken - - CSharp - private static System.Object __o = null;
- CSharpCode -
- IntermediateToken - - CSharp - #pragma warning restore 0414
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (0:0,0 [14] x:\dir\subdir\Test\TestComponent.cshtml) - h1
- HtmlContent - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (4:0,4 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Hello
- HtmlContent - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (14:0,14 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
- HtmlContent - (35:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (35:3,0 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
deleted file mode 100644
index 1b7602da30..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/DesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Source Location: (24:2,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
-|"/my/url"|
-Generated Location: (567:16,37 [9] )
-|"/my/url"|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 7334305407..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
deleted file mode 100644
index 98688cef84..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index ee72b453c7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index b24c7a572d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- CSharpCode - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick(UIMouseEventArgs e) \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index 5bada6842b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (73:2,12 [91] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (918:22,12 [91] )
-|
- Task OnClick(UIMouseEventArgs e)
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
deleted file mode 100644
index 7334305407..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue("async (e) => await Task.Delay(10)"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
deleted file mode 100644
index 98688cef84..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.ir.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [53] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [33] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - - CSharp - "async (e) => await Task.Delay(10)"
- IntermediateToken - - CSharp - )
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
deleted file mode 100644
index 66065b377c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Components;
- using System.Threading.Tasks;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(OnClick));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
deleted file mode 100644
index b1f0a37924..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.ir.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- UsingDirective - (1:0,1 [30] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (47:1,16 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue(
- IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
- IntermediateToken - - CSharp - )
- CSharpCode - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick() \n {\n return Task.CompletedTask;\n }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
deleted file mode 100644
index f459f65370..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Source Location: (73:2,12 [73] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-Generated Location: (918:22,12 [73] )
-|
- Task OnClick()
- {
- return Task.CompletedTask;
- }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 1024358967..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue)));
- builder.AddAttribute(2, "OnChanged", new System.Action(__value => ParentValue = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 828e856cc5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - OnChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 39e5375176..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1061:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index e7807b0bac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "OnChanged", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 8381d3fa92..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [50] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (66:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 33a43a37f3..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (95:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1030:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index 5a8c21bf6d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue)));
- builder.AddAttribute(2, "ValueChanged", new System.Action(__value => ParentValue = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index fe38f2c035..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index ab302becd2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1064:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index c444fed0d0..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "ValueChanged", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index 27e972b7bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 791d24c7dc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (85:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1033:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
deleted file mode 100644
index bb98cf1889..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent(0);
- builder.AddAttribute(1, "Value", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue)));
- builder.AddAttribute(2, "ValueChanged", new System.Action(__value => ParentValue = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "42";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
deleted file mode 100644
index c1dbbf4635..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [40] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (56:1,25 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - ValueChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => ParentValue = __value
- CSharpCode - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "42";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
deleted file mode 100644
index 2504e46ac7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (85:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "42";
-|
-Generated Location: (1064:23,12 [55] )
-|
- public string ParentValue { get; set; } = "42";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index f12516fd5e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd"));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 6db3eedcb5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd")
- CSharpCode - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index d1cbd5da55..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (122:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1088:24,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index c46a006cef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index d2f4a5ac3d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (72:1,41 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (71:1,40 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 2aff49febc..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (101:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1070:24,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 29f0c99c5d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "div");
- builder.AddAttribute(1, "myvalue", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "myevent", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 55cbf4c344..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (49:1,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (48:1,17 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index babd720e35..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (78:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1015:23,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 29f0c99c5d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "div");
- builder.AddAttribute(1, "myvalue", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "myevent", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public string ParentValue { get; set; } = "hi";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 22ff3383df..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [27] x:\dir\subdir\Test\TestComponent.cshtml) - div
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (43:1,12 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (42:1,11 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public string ParentValue { get; set; } = "hi";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index c8ff92005e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (72:2,12 [55] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public string ParentValue { get; set; } = "hi";
-|
-Generated Location: (1015:23,12 [55] )
-|
- public string ParentValue { get; set; } = "hi";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 0213a46786..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
- builder2.OpenElement(0, "div");
- builder2.AddContent(1, context.ToLowerInvariant());
- builder2.CloseElement();
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- builder.OpenComponent(2);
- builder.AddAttribute(3, "Header", new Microsoft.AspNetCore.Components.RenderFragment(header));
- builder.AddAttribute(4, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- builder2.AddContent(5, "\n Some Content\n");
- }
- ));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
deleted file mode 100644
index 15c209e72c..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [62] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (151:2,28 [20] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n Some Content\n
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 5e6eb01dfa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (602:17,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1023:27,87 [2] )
-|; |
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 0de09fc2a2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- RenderFragment header = (context) =>
-
-#line default
-#line hidden
- (builder2) => {
- builder2.OpenElement(0, "div");
- builder2.AddContent(1, context.ToLowerInvariant());
- builder2.CloseElement();
- }
-#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
- ;
-
-#line default
-#line hidden
- builder.OpenComponent(2);
- builder.AddAttribute(3, "Header", new Microsoft.AspNetCore.Components.RenderFragment(header));
- builder.AddAttribute(4, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- builder2.AddContent(5, "Some Content");
- }
- ));
- builder.AddAttribute(6, "Footer", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
- builder2.AddContent(7, "Bye!");
- }
- ));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
deleted file mode 100644
index dd0662b682..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- CSharpCode - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - RenderFragment header = (context) =>
- Template - (80:1,49 [37] x:\dir\subdir\Test\TestComponent.cshtml)
- HtmlElement - (80:1,49 [38] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:1,55 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLowerInvariant()
- CSharpCode - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ;
- ComponentExtensionNode - (123:2,0 [114] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (155:3,2 [41] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlContent - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (169:3,16 [12] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Some Content
- ComponentChildContent - (200:4,2 [21] x:\dir\subdir\Test\TestComponent.cshtml) - Footer
- HtmlContent - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (208:4,10 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Bye!
- ComponentAttributeExtensionNode - (143:2,20 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Header - Header
- CSharpExpression - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (144:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - header
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
deleted file mode 100644
index 5e6eb01dfa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Source Location: (33:1,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
-| RenderFragment header = (context) => |
-Generated Location: (602:17,2 [46] )
-| RenderFragment header = (context) => |
-
-Source Location: (118:1,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
-|; |
-Generated Location: (1023:27,87 [2] )
-|; |
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 0b3d4b0115..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "checkbox");
- builder.AddAttribute(2, "checked", Microsoft.AspNetCore.Components.BindMethods.GetValue(Enabled));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public bool Enabled { get; set; }
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 2b48165ac5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) - Html - checkbox
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - checked=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (61:1,30 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled
- IntermediateToken - - CSharp - )
- HtmlAttribute - (60:1,29 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Enabled = __value, Enabled)
- CSharpCode - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public bool Enabled { get; set; }\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index dcc4eef3a2..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (86:2,12 [41] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public bool Enabled { get; set; }
-|
-Generated Location: (1064:24,12 [41] )
-|
- public bool Enabled { get; set; }
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index d347475c38..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, Format));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 5540459507..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - (85:1,54 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, Format)
- CSharpCode - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n\n public string Format { get; set; } = "MM/dd/yyyy";\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 40918f657f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-Source Location: (108:2,12 [135] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-Generated Location: (1086:24,12 [135] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
- public string Format { get; set; } = "MM/dd/yyyy";
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 415e7664c9..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(CurrentDate, "MM/dd/yyyy"));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy"));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index dc862daa4b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [66] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
- IntermediateToken - - CSharp - ,
- IntermediateToken - - CSharp - "MM/dd/yyyy"
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => CurrentDate = __value, CurrentDate, "MM/dd/yyyy")
- CSharpCode - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index 1096d43fa1..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (111:2,12 [77] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-Generated Location: (1098:24,12 [77] )
-|
- public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index c46a006cef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "type", "text");
- builder.AddAttribute(2, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(3, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index c935b42bd5..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - - type=" - "
- HtmlAttributeValue - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
- IntermediateToken - (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (57:1,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (56:1,25 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index aa078259ce..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (86:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1070:24,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
deleted file mode 100644
index 28468ad17a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenElement(0, "input");
- builder.AddAttribute(1, "value", Microsoft.AspNetCore.Components.BindMethods.GetValue(ParentValue));
- builder.AddAttribute(2, "onchange", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue));
- builder.CloseElement();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- public int ParentValue { get; set; } = 42;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
deleted file mode 100644
index 5ffdd8b1d7..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.ir.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- HtmlElement - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (45:1,14 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
- IntermediateToken - - CSharp - )
- HtmlAttribute - (44:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
- CSharpExpressionAttributeValue - -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => ParentValue = __value, ParentValue)
- CSharpCode - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public int ParentValue { get; set; } = 42;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
deleted file mode 100644
index f3ac3c4290..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (74:2,12 [50] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- public int ParentValue { get; set; } = 42;
-|
-Generated Location: (1016:23,12 [50] )
-|
- public int ParentValue { get; set; } = 42;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
deleted file mode 100644
index 847cb43fac..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck("hi"));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
deleted file mode 100644
index 9fba5ff2bf..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic/TestComponent.ir.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
deleted file mode 100644
index 164ee4e0ef..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck(Microsoft.AspNetCore.Components.BindMethods.GetValue(Value)));
- builder.AddAttribute(2, "ItemChanged", new System.Action(__value => Value = __value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
deleted file mode 100644
index a0bade6d00..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.ir.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
deleted file mode 100644
index a8c3e765da..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1046:23,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
deleted file mode 100644
index faa5f80265..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.BindMethods.GetValue(Value));
- builder.AddAttribute(2, "ItemChanged", Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt
deleted file mode 100644
index a95252463e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.ir.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (67:1,36 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value)
- CSharpCode - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
deleted file mode 100644
index 2cc63bc14b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (88:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (1021:23,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index e6f6d19f05..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, 18, 2, Microsoft.AspNetCore.Components.BindMethods.GetValue(Value), 3, Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value));
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1, int __seq2, System.Object __arg2)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Value", __arg0);
- builder.AddAttribute(__seq1, "Item", __arg1);
- builder.AddAttribute(__seq2, "ItemChanged", __arg2);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 7b2b87cdfa..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (66:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Value - Value
- CSharpExpression - (67:1,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 18
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged -
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.SetValueHandler(__value => Value = __value, Value)
- CSharpCode - (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index 38ff236a02..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (87:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (919:20,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index c2808ab0c6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, Microsoft.AspNetCore.Components.BindMethods.GetValue(Value), 2, __value => Value = __value);
- }
- #pragma warning restore 1998
-#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
-
- string Value;
-
-#line default
-#line hidden
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "ItemChanged", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index a90c592808..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [30] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression -
- IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
- IntermediateToken - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Value
- IntermediateToken - - CSharp - )
- ComponentAttributeExtensionNode - (54:1,23 [5] x:\dir\subdir\Test\TestComponent.cshtml) - ItemChanged - ItemChanged
- CSharpExpression -
- IntermediateToken - - CSharp - __value => Value = __value
- CSharpCode - (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n string Value;\n
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
deleted file mode 100644
index fe2d718f6b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Source Location: (75:2,12 [21] x:\dir\subdir\Test\TestComponent.cshtml)
-|
- string Value;
-|
-Generated Location: (844:20,12 [21] )
-|
- string Value;
-|
-
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
deleted file mode 100644
index 8d7563e2ae..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck("hi"));
- builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
- builder2.AddContent(3, "\n ");
- builder2.OpenElement(4, "div");
- builder2.AddContent(5, context.ToLower());
- builder2.CloseElement();
- builder2.AddContent(6, "\n");
- }
- ));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt
deleted file mode 100644
index ec6dc1c525..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.ir.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [90] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (72:1,41 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (72:1,41 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (76:2,2 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (82:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- HtmlContent - (105:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (105:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index e9fc0b231e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, "hi", 2, (context) => (builder2) => {
- builder2.AddContent(3, "\n ");
- builder2.OpenElement(4, "div");
- builder2.AddContent(5, context.ToLower());
- builder2.CloseElement();
- builder2.AddContent(6, "\n");
- }
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::Microsoft.AspNetCore.Components.RenderFragment __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "ChildContent", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 265a73f242..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [77] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentChildContent - - ChildContent
- HtmlContent - (59:1,28 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (59:1,28 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- HtmlElement - (63:2,2 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (69:2,8 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- HtmlContent - (92:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (92:2,31 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
deleted file mode 100644
index c50be2453f..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck("hi"));
- builder.AddAttribute(2, "Other", 17);
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt
deleted file mode 100644
index 9910509f0a..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.ir.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentTypeArgumentExtensionNode - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem
- IntermediateToken - (50:1,19 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentAttributeExtensionNode - (63:1,32 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (64:1,33 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (65:1,34 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - - Other -
- CSharpExpression - (79:1,48 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (81:1,50 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 17
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 49e4bd2ea6..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, "hi", 2, 17);
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.AddAttribute(__seq1, "Other", __arg1);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 39aba3881e..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- ComponentAttributeExtensionNode - - Other -
- CSharpExpression - (66:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (68:1,37 [2] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - 17
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index a4e8100787..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, "hi");
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt
deleted file mode 100644
index 1f3f11272d..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.ir.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
deleted file mode 100644
index 7d1d0e9102..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, "hi");
- builder.AddContent(2, "\n");
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_1(builder, 3, 4, "how are you?");
- builder.AddContent(5, "\n");
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_2(builder, 6, 7, "bye!");
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- public static void CreateMyComponent_1(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- public static void CreateMyComponent_2(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0)
- {
- builder.OpenComponent>(seq);
- builder.AddAttribute(__seq0, "Item", __arg0);
- builder.CloseComponent();
- }
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt
deleted file mode 100644
index d8e96e6b7b..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.ir.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (50:1,19 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (52:1,21 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
- HtmlContent - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (60:1,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (62:2,0 [39] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (81:2,19 [17] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (82:2,20 [16] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (83:2,21 [14] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "how are you?"
- HtmlContent - (101:2,39 [2] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (101:2,39 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- ComponentExtensionNode - (103:3,0 [31] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - global::Test.MyComponent
- ComponentAttributeExtensionNode - (122:3,19 [9] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (123:3,20 [8] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (124:3,21 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "bye!"
- NamespaceDeclaration - - __Blazor.Test.TestComponent
- ClassDeclaration - - internal static - TypeInference - -
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_0
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_1
- ComponentTypeInferenceMethod - - __Blazor.Test.TestComponent.TypeInference - CreateMyComponent_2
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
deleted file mode 100644
index 688b77b076..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- builder.OpenComponent>(0);
- builder.AddAttribute(1, "Item", Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck("hi"));
- builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((context) => (builder2) => {
- builder2.OpenElement(3, "div");
- builder2.AddContent(4, context.ToLower());
- builder2.CloseElement();
- }
- ));
- builder.AddAttribute(5, "AnotherChildContent", (Microsoft.AspNetCore.Components.RenderFragment.Context>)((item) => (builder2) => {
- builder2.AddContent(6, "\n ");
- builder2.AddContent(7, System.Math.Max(0, item.Item));
- builder2.AddContent(8, ";\n");
- }
- ));
- builder.CloseComponent();
- }
- #pragma warning restore 1998
- }
-}
-#pragma warning restore 1591
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt
deleted file mode 100644
index 6a69c8b163..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.ir.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Document -
- NamespaceDeclaration - - Test
- UsingDirective - (3:1,1 [14] ) - System
- UsingDirective - (18:2,1 [34] ) - System.Collections.Generic
- UsingDirective - (53:3,1 [19] ) - System.Linq
- UsingDirective - (73:4,1 [30] ) - System.Threading.Tasks
- UsingDirective - (104:5,1 [39] ) - Microsoft.AspNetCore.Components
- ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
- MethodDeclaration - - protected override - void - BuildRenderTree
- CSharpCode -
- IntermediateToken - - CSharp - base.BuildRenderTree(builder);
- ComponentExtensionNode - (31:1,0 [228] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent - Test.MyComponent
- ComponentChildContent - (88:2,2 [58] x:\dir\subdir\Test\TestComponent.cshtml) - ChildContent
- HtmlElement - (102:2,16 [29] x:\dir\subdir\Test\TestComponent.cshtml) - div
- CSharpExpression - (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (108:2,22 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - context.ToLower()
- ComponentChildContent - (148:3,0 [95] x:\dir\subdir\Test\TestComponent.cshtml) - AnotherChildContent
- HtmlContent - (184:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (184:3,36 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
- CSharpExpression - (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (189:4,3 [29] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - System.Math.Max(0, item.Item)
- HtmlContent - (218:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (218:4,32 [3] x:\dir\subdir\Test\TestComponent.cshtml) - Html - ;\n
- ComponentTypeArgumentExtensionNode - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml) - TItem1
- IntermediateToken - (51:1,20 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - string
- ComponentTypeArgumentExtensionNode - (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml) - TItem2
- IntermediateToken - (65:1,34 [3] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - int
- ComponentAttributeExtensionNode - (75:1,44 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Item - Item
- CSharpExpression - (76:1,45 [6] x:\dir\subdir\Test\TestComponent.cshtml)
- IntermediateToken - (77:1,46 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - "hi"
diff --git a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs b/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
deleted file mode 100644
index 93d075fcb8..0000000000
--- a/src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-#pragma warning disable 1591
-namespace Test
-{
- #line hidden
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
- {
- #pragma warning disable 1998
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
- {
- base.BuildRenderTree(builder);
- __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, 0, 1, "hi", 2, new List(), 3, (context) => (builder2) => {
- builder2.OpenElement(4, "div");
- builder2.AddContent(5, context.ToLower());
- builder2.CloseElement();
- }
- , 6, (item) => (builder2) => {
- builder2.AddContent(7, "\n ");
- builder2.AddContent(8, System.Math.Max(0, item.Item));
- builder2.AddContent(9, ";\n");
- }
- );
- }
- #pragma warning restore 1998
- }
-}
-namespace __Blazor.Test.TestComponent
-{
- #line hidden
- internal static class TypeInference
- {
- public static void CreateMyComponent_0(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem1 __arg0, int __seq1, global::System.Collections.Generic.List __arg1, int __seq2, global::Microsoft.AspNetCore.Components.RenderFragment __arg2, int __seq3, global::Microsoft.AspNetCore.Components.RenderFragment.Context> __arg3)
- {
- builder.OpenComponent