Move RenderTreeBuilder to another castle

Don't even try to review this xD

This change moves RenderTreeBuilder to the .Rendering namespace and then
updates literally every component baseline.
\n\nCommit migrated from aa8624f46e
This commit is contained in:
Ryan Nowak 2019-07-24 10:39:49 -07:00
parent e2d476cc6f
commit 7312e7cc38
623 changed files with 981 additions and 1008 deletions

View File

@ -28,7 +28,7 @@ IDisposable __typeHelper = default!;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o =
#nullable restore

View File

@ -5,19 +5,19 @@ Generated Location: (641:17,0 [11] )
Source Location: (38:1,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|this.ToString()|
Generated Location: (1239:35,13 [15] )
Generated Location: (1238:35,13 [15] )
|this.ToString()|
Source Location: (79:3,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|string.Format("{0}", "Hello")|
Generated Location: (1436:43,6 [29] )
Generated Location: (1435:43,6 [29] )
|string.Format("{0}", "Hello")|
Source Location: (132:6,12 [37] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|
void IDisposable.Dispose(){ }
|
Generated Location: (1688:52,12 [37] )
Generated Location: (1687:52,12 [37] )
|
void IDisposable.Dispose(){ }
|

View File

@ -12,7 +12,7 @@ namespace __GeneratedComponent
public class AspNetCore_d3c3d6059615673cb46fc4974164d61eabadb890 : Microsoft.AspNetCore.Components.ComponentBase, IDisposable
{
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
builder.OpenElement(0, "div");
builder.AddAttribute(1, "class",

View File

@ -1,27 +0,0 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Razor.Language.Components
{
// Constants for method names used in code-generation
// Keep these in sync with the actual definitions
internal static class CodeGenerationConstants
{
public static class ComponentBase
{
public const string FullTypeName = "Microsoft.AspNetCore.Components.ComponentBase";
public const string BuildRenderTree = "BuildRenderTree";
public const string BuildRenderTreeParameter = "builder";
}
public static class RenderTreeBuilder
{
public const string FullTypeName = "Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder";
}
public static class InjectDirective
{
public const string FullTypeName = "Microsoft.AspNetCore.Razor.Components.InjectAttribute";
}
}
}

View File

@ -64,7 +64,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
public static class RenderTreeBuilder
{
public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder";
public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder";
public static readonly string OpenElement = nameof(OpenElement);

View File

@ -84,7 +84,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
visitor.Visit(irDocument);
// Assert
Assert.Equal($"{CodeGenerationConstants.ComponentBase.FullTypeName}", visitor.Class.BaseType);
Assert.Equal($"{ComponentsApi.ComponentBase.FullTypeName}", visitor.Class.BaseType);
Assert.Equal(new[] { "public", }, visitor.Class.Modifiers);
Assert.Equal("Test", visitor.Class.ClassName);
}
@ -168,7 +168,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
visitor.Visit(irDocument);
// Assert
Assert.Equal(CodeGenerationConstants.ComponentBase.BuildRenderTree, visitor.Method.MethodName);
Assert.Equal(ComponentsApi.ComponentBase.BuildRenderTree, visitor.Method.MethodName);
Assert.Equal("void", visitor.Method.ReturnType);
Assert.Equal(new[] { "protected", "override" }, visitor.Method.Modifiers);
}

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
{
private readonly CSharpSyntaxTree RenderChildContentComponent = Parse(@"
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Rendering;
namespace Test
{
public class RenderChildContent : ComponentBase
@ -30,7 +30,7 @@ namespace Test
private readonly CSharpSyntaxTree RenderChildContentStringComponent = Parse(@"
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Rendering;
namespace Test
{
public class RenderChildContentString : ComponentBase
@ -51,7 +51,7 @@ namespace Test
private readonly CSharpSyntaxTree RenderMultipleChildContent = Parse(@"
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Rendering
namespace Test
{
public class RenderMultipleChildContent : ComponentBase

View File

@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
// Act
var generated = CompileToCSharp(@"
@using Microsoft.AspNetCore.Components.RenderTree;
@using Microsoft.AspNetCore.Components.Rendering;
@code {
void RenderChildComponent(RenderTreeBuilder builder)
@ -83,7 +83,7 @@ namespace Test
// Act
var generated = CompileToCSharp(@"
@using Microsoft.AspNetCore.Components.RenderTree;
@using Microsoft.AspNetCore.Components.Rendering;
@{ RenderChildComponent(builder); }

View File

@ -5,7 +5,7 @@ using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Xunit;
@ -139,7 +139,7 @@ namespace Test
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
}
#pragma warning restore 1998

View File

@ -1,10 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Razor.Language.Components;
using Microsoft.CodeAnalysis.CSharp;
using Xunit;
@ -17,7 +13,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Rendering;
namespace Test
{
public class GenericContext<TItem> : ComponentBase
@ -55,7 +51,7 @@ namespace Test
private readonly CSharpSyntaxTree MultipleGenericParameterComponent = Parse(@"
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Rendering;
namespace Test
{
public class MultipleGenericParameter<TItem1, TItem2, TItem3> : ComponentBase

View File

@ -24,7 +24,7 @@ using System.Threading.Tasks;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
#nullable restore

View File

@ -5,6 +5,6 @@ Generated Location: (285:11,0 [28] )
Source Location: (50:1,19 [33] x:\dir\subdir\Test\TestComponent.cshtml)
|async (e) => await Task.Delay(10)|
Generated Location: (1115:31,19 [33] )
Generated Location: (1114:31,19 [33] )
|async (e) => await Task.Delay(10)|

View File

@ -24,7 +24,7 @@ using System.Threading.Tasks;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
#nullable restore

View File

@ -5,7 +5,7 @@ Generated Location: (285:11,0 [28] )
Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
Generated Location: (1113:31,17 [7] )
Generated Location: (1112:31,17 [7] )
|OnClick|
Source Location: (68:2,7 [91] x:\dir\subdir\Test\TestComponent.cshtml)
@ -15,7 +15,7 @@ Source Location: (68:2,7 [91] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
Generated Location: (1314:41,7 [91] )
Generated Location: (1313:41,7 [91] )
|
Task OnClick(UIMouseEventArgs e)
{

View File

@ -24,7 +24,7 @@ using System.Threading.Tasks;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
#nullable restore

View File

@ -5,6 +5,6 @@ Generated Location: (285:11,0 [28] )
Source Location: (50:1,19 [32] x:\dir\subdir\Test\TestComponent.cshtml)
|async () => await Task.Delay(10)|
Generated Location: (1115:31,19 [32] )
Generated Location: (1114:31,19 [32] )
|async () => await Task.Delay(10)|

View File

@ -24,7 +24,7 @@ using System.Threading.Tasks;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
#nullable restore

View File

@ -5,7 +5,7 @@ Generated Location: (285:11,0 [28] )
Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
Generated Location: (1113:31,17 [7] )
Generated Location: (1112:31,17 [7] )
|OnClick|
Source Location: (68:2,7 [73] x:\dir\subdir\Test\TestComponent.cshtml)
@ -15,7 +15,7 @@ Source Location: (68:2,7 [73] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
Generated Location: (1314:41,7 [73] )
Generated Location: (1313:41,7 [73] )
|
Task OnClick()
{

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (2054:48,7 [50] )
Generated Location: (2053:48,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
#nullable restore
@ -54,7 +54,7 @@ namespace __Blazor.Test.TestComponent
#line hidden
internal static class TypeInference
{
public static void CreateMyComponent_0<T>(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, T __arg0, int __seq1, global::Microsoft.AspNetCore.Components.EventCallback<T> __arg1, int __seq2, global::System.Linq.Expressions.Expression<global::System.Func<T>> __arg2)
public static void CreateMyComponent_0<T>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int seq, int __seq0, T __arg0, int __seq1, global::Microsoft.AspNetCore.Components.EventCallback<T> __arg1, int __seq2, global::System.Linq.Expressions.Expression<global::System.Func<T>> __arg2)
{
builder.OpenComponent<global::Test.MyComponent<T>>(seq);
builder.AddAttribute(__seq0, "SomeParam", __arg0);

View File

@ -1,13 +1,13 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (966:25,30 [11] )
Generated Location: (965:25,30 [11] )
|ParentValue|
Source Location: (54:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|
Generated Location: (1576:43,7 [65] )
Generated Location: (1575:43,7 [65] )
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1878:47,7 [50] )
Generated Location: (1877:47,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "42";
|
Generated Location: (1878:47,7 [55] )
Generated Location: (1877:47,7 [55] )
|
public string ParentValue { get; set; } = "42";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (80:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1581:47,7 [50] )
Generated Location: (1580:47,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o =
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (889:25,26 [11] )
Generated Location: (888:25,26 [11] )
|ParentValue|
Source Location: (80:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1557:46,7 [50] )
Generated Location: (1556:46,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1757:48,7 [50] )
Generated Location: (1756:48,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
#nullable restore
@ -54,7 +54,7 @@ namespace __Blazor.Test.TestComponent
#line hidden
internal static class TypeInference
{
public static void CreateMyComponent_0<T>(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, T __arg0, int __seq1, global::System.Action<T> __arg1, int __seq2, global::System.Linq.Expressions.Expression<global::System.Func<T>> __arg2)
public static void CreateMyComponent_0<T>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int seq, int __seq0, T __arg0, int __seq1, global::System.Action<T> __arg1, int __seq2, global::System.Linq.Expressions.Expression<global::System.Func<T>> __arg2)
{
builder.OpenComponent<global::Test.MyComponent<T>>(seq);
builder.AddAttribute(__seq0, "SomeParam", __arg0);

View File

@ -1,13 +1,13 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (966:25,30 [11] )
Generated Location: (965:25,30 [11] )
|ParentValue|
Source Location: (54:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|
Generated Location: (1396:43,7 [65] )
Generated Location: (1395:43,7 [65] )
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1581:47,7 [50] )
Generated Location: (1580:47,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o =
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (889:25,26 [11] )
Generated Location: (888:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1557:46,7 [50] )
Generated Location: (1556:46,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (977:25,26 [11] )
Generated Location: (976:25,26 [11] )
|ParentValue|
Source Location: (50:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "42";
|
Generated Location: (1581:47,7 [55] )
Generated Location: (1580:47,7 [55] )
|
public string ParentValue { get; set; } = "42";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
Generated Location: (976:25,24 [11] )
Generated Location: (975:25,24 [11] )
|person.Name|
Source Location: (57:3,1 [37] x:\dir\subdir\Test\TestComponent.cshtml)
|
Person person = new Person();
|
Generated Location: (1573:47,1 [37] )
Generated Location: (1572:47,1 [37] )
|
Person person = new Person();
|

View File

@ -25,7 +25,7 @@ using System.Globalization;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -5,19 +5,19 @@ Generated Location: (320:12,0 [26] )
Source Location: (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (1089:32,19 [11] )
Generated Location: (1088:32,19 [11] )
|ParentValue|
Source Location: (111:1,82 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|CultureInfo.InvariantCulture|
Generated Location: (1329:40,82 [28] )
Generated Location: (1328:40,82 [28] )
|CultureInfo.InvariantCulture|
Source Location: (152:2,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
Generated Location: (1730:51,7 [55] )
Generated Location: (1729:51,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (954:25,33 [11] )
Generated Location: (953:25,33 [11] )
|CurrentDate|
Source Location: (113:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1333:36,7 [77] )
Generated Location: (1332:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (954:25,33 [11] )
Generated Location: (953:25,33 [11] )
|ParentValue|
Source Location: (86:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1299:36,7 [50] )
Generated Location: (1298:36,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -25,7 +25,7 @@ using System.Globalization;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -5,19 +5,19 @@ Generated Location: (320:12,0 [26] )
Source Location: (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (1089:32,19 [11] )
Generated Location: (1088:32,19 [11] )
|ParentValue|
Source Location: (115:1,86 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|CultureInfo.InvariantCulture|
Generated Location: (1333:40,86 [28] )
Generated Location: (1332:40,86 [28] )
|CultureInfo.InvariantCulture|
Source Location: (156:2,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
Generated Location: (1734:51,7 [55] )
Generated Location: (1733:51,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (940:25,19 [11] )
Generated Location: (939:25,19 [11] )
|ParentValue|
Source Location: (76:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
Generated Location: (1285:36,7 [55] )
Generated Location: (1284:36,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (940:25,19 [11] )
Generated Location: (939:25,19 [11] )
|ParentValue|
Source Location: (43:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
Generated Location: (1285:36,7 [55] )
Generated Location: (1284:36,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (939:25,18 [11] )
Generated Location: (938:25,18 [11] )
|ParentValue|
Source Location: (42:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
Generated Location: (1284:36,7 [55] )
Generated Location: (1283:36,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (934:25,13 [11] )
Generated Location: (933:25,13 [11] )
|ParentValue|
Source Location: (37:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
Generated Location: (1279:36,7 [55] )
Generated Location: (1278:36,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|

View File

@ -25,7 +25,7 @@ using System.Globalization;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -5,14 +5,14 @@ Generated Location: (320:12,0 [26] )
Source Location: (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (1105:32,35 [11] )
Generated Location: (1104:32,35 [11] )
|ParentValue|
Source Location: (121:2,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; }
|
Generated Location: (1450:43,7 [44] )
Generated Location: (1449:43,7 [44] )
|
public int ParentValue { get; set; }
|

View File

@ -25,7 +25,7 @@ using System.Globalization;
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -5,19 +5,19 @@ Generated Location: (320:12,0 [26] )
Source Location: (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (1105:32,35 [11] )
Generated Location: (1104:32,35 [11] )
|ParentValue|
Source Location: (131:1,102 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|CultureInfo.CurrentCulture|
Generated Location: (1365:40,102 [26] )
Generated Location: (1364:40,102 [26] )
|CultureInfo.CurrentCulture|
Source Location: (170:2,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; }
|
Generated Location: (1762:51,7 [44] )
Generated Location: (1761:51,7 [44] )
|
public int ParentValue { get; set; }
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"

View File

@ -1,20 +1,20 @@
Source Location: (2:0,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment<string> header = (context) => |
Generated Location: (845:24,2 [46] )
Generated Location: (844:24,2 [46] )
| RenderFragment<string> header = (context) => |
Source Location: (55:0,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLowerInvariant()|
Generated Location: (1097:32,55 [26] )
Generated Location: (1096:32,55 [26] )
|context.ToLowerInvariant()|
Source Location: (87:0,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
Generated Location: (1348:40,87 [2] )
Generated Location: (1347:40,87 [2] )
|; |
Source Location: (113:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|header|
Generated Location: (1579:48,21 [6] )
Generated Location: (1578:48,21 [6] )
|header|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"

View File

@ -1,20 +1,20 @@
Source Location: (2:0,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment<string> header = (context) => |
Generated Location: (845:24,2 [46] )
Generated Location: (844:24,2 [46] )
| RenderFragment<string> header = (context) => |
Source Location: (55:0,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLowerInvariant()|
Generated Location: (1097:32,55 [26] )
Generated Location: (1096:32,55 [26] )
|context.ToLowerInvariant()|
Source Location: (87:0,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
Generated Location: (1348:40,87 [2] )
Generated Location: (1347:40,87 [2] )
|; |
Source Location: (113:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|header|
Generated Location: (1579:48,21 [6] )
Generated Location: (1578:48,21 [6] )
|header|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (31:0,31 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Enabled|
Generated Location: (952:25,31 [7] )
Generated Location: (951:25,31 [7] )
|Enabled|
Source Location: (51:1,7 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
public bool Enabled { get; set; }
|
Generated Location: (1285:36,7 [41] )
Generated Location: (1284:36,7 [41] )
|
public bool Enabled { get; set; }
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (936:25,15 [11] )
Generated Location: (935:25,15 [11] )
|CurrentDate|
Source Location: (82:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1315:36,7 [77] )
Generated Location: (1314:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,11 +1,11 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (948:25,27 [11] )
Generated Location: (947:25,27 [11] )
|CurrentDate|
Source Location: (55:0,55 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Format|
Generated Location: (1160:33,55 [6] )
Generated Location: (1159:33,55 [6] )
|Format|
Source Location: (73:1,7 [135] x:\dir\subdir\Test\TestComponent.cshtml)
@ -14,7 +14,7 @@ Source Location: (73:1,7 [135] x:\dir\subdir\Test\TestComponent.cshtml)
public string Format { get; set; } = "MM/dd/yyyy";
|
Generated Location: (1516:44,7 [135] )
Generated Location: (1515:44,7 [135] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (948:25,27 [11] )
Generated Location: (947:25,27 [11] )
|CurrentDate|
Source Location: (76:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1337:36,7 [77] )
Generated Location: (1336:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (948:25,27 [11] )
Generated Location: (947:25,27 [11] )
|ParentValue|
Source Location: (51:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1293:36,7 [50] )
Generated Location: (1292:36,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (950:25,29 [11] )
Generated Location: (949:25,29 [11] )
|CurrentDate|
Source Location: (78:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1475:36,7 [77] )
Generated Location: (1474:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (950:25,29 [11] )
Generated Location: (949:25,29 [11] )
|CurrentDate|
Source Location: (53:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1329:36,7 [77] )
Generated Location: (1328:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (950:25,29 [11] )
Generated Location: (949:25,29 [11] )
|CurrentDate|
Source Location: (78:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1339:36,7 [77] )
Generated Location: (1338:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (942:25,21 [11] )
Generated Location: (941:25,21 [11] )
|CurrentDate|
Source Location: (72:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1321:36,7 [77] )
Generated Location: (1320:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
Generated Location: (942:25,21 [11] )
Generated Location: (941:25,21 [11] )
|CurrentDate|
Source Location: (100:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
Generated Location: (1321:36,7 [77] )
Generated Location: (1320:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o =
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (878:25,15 [11] )
Generated Location: (877:25,15 [11] )
|ParentValue|
Source Location: (39:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1082:35,7 [50] )
Generated Location: (1081:35,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore

View File

@ -1,13 +1,13 @@
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
Generated Location: (936:25,15 [11] )
Generated Location: (935:25,15 [11] )
|ParentValue|
Source Location: (39:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
Generated Location: (1281:36,7 [50] )
Generated Location: (1280:36,7 [50] )
|
public int ParentValue { get; set; } = 42;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = typeof(
#nullable restore

View File

@ -1,10 +1,10 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
Generated Location: (889:25,19 [6] )
Generated Location: (888:25,19 [6] )
|string|
Source Location: (34:0,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
Generated Location: (1169:34,34 [4] )
Generated Location: (1168:34,34 [4] )
|"hi"|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = typeof(
#nullable restore

View File

@ -1,18 +1,18 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
Generated Location: (889:25,19 [6] )
Generated Location: (888:25,19 [6] )
|string|
Source Location: (37:0,37 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
Generated Location: (1172:34,37 [5] )
Generated Location: (1171:34,37 [5] )
|Value|
Source Location: (53:1,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
Generated Location: (1760:56,7 [21] )
Generated Location: (1759:56,7 [21] )
|
string Value;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__o = typeof(
#nullable restore

View File

@ -1,18 +1,18 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
Generated Location: (889:25,19 [6] )
Generated Location: (888:25,19 [6] )
|string|
Source Location: (37:0,37 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
Generated Location: (1090:34,37 [5] )
Generated Location: (1089:34,37 [5] )
|Value|
Source Location: (53:1,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
Generated Location: (1742:55,7 [21] )
Generated Location: (1741:55,7 [21] )
|
string Value;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
#nullable restore
@ -61,7 +61,7 @@ namespace __Blazor.Test.TestComponent
#line hidden
internal static class TypeInference
{
public static void CreateMyComponent_0<TItem>(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1, int __seq2, System.Object __arg2)
public static void CreateMyComponent_0<TItem>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, System.Object __arg1, int __seq2, System.Object __arg2)
{
builder.OpenComponent<global::Test.MyComponent<TItem>>(seq);
builder.AddAttribute(__seq0, "Value", __arg0);

View File

@ -1,18 +1,18 @@
Source Location: (38:0,38 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|18|
Generated Location: (974:25,38 [2] )
Generated Location: (973:25,38 [2] )
|18|
Source Location: (24:0,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
Generated Location: (1142:33,24 [5] )
Generated Location: (1141:33,24 [5] )
|Value|
Source Location: (52:1,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
Generated Location: (1629:50,7 [21] )
Generated Location: (1628:50,7 [21] )
|
string Value;
|

View File

@ -18,7 +18,7 @@ namespace Test
private static System.Object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
{
__Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
#nullable restore
@ -71,14 +71,14 @@ namespace __Blazor.Test.TestComponent
#line hidden
internal static class TypeInference
{
public static void CreateMyComponent_0<TItem>(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action<TItem> __arg1)
public static void CreateMyComponent_0<TItem>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action<TItem> __arg1)
{
builder.OpenComponent<global::Test.MyComponent<TItem>>(seq);
builder.AddAttribute(__seq0, "Item", __arg0);
builder.AddAttribute(__seq1, "ItemChanged", __arg1);
builder.CloseComponent();
}
public static void CreateMyComponent_1<TItem>(global::Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action<TItem> __arg1)
public static void CreateMyComponent_1<TItem>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int seq, int __seq0, TItem __arg0, int __seq1, global::System.Action<TItem> __arg1)
{
builder.OpenComponent<global::Test.MyComponent<TItem>>(seq);
builder.AddAttribute(__seq0, "Item", __arg0);

View File

@ -1,18 +1,18 @@
Source Location: (24:0,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
Generated Location: (960:25,24 [5] )
Generated Location: (959:25,24 [5] )
|Value|
Source Location: (57:1,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
Generated Location: (1416:42,24 [5] )
Generated Location: (1415:42,24 [5] )
|Value|
Source Location: (73:2,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
Generated Location: (1811:60,7 [21] )
Generated Location: (1810:60,7 [21] )
|
string Value;
|

Some files were not shown because too many files have changed in this diff Show More