Reactions to API review changes + Globalisation support (dotnet/aspnetcore-tooling#829)

* Update ref assembly APIs

There are some impactful changes here for the compiler that are part of the API review.

The next few commits will implement all of the required changes.

* React to API review + globalization changes

* Updates to generated baselines

* Add missed file

* Update src/Razor/src/Microsoft.CodeAnalysis.Razor/EventHandlerTagHelperDescriptorProvider.cs

Co-Authored-By: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>

* more baseline updates
\n\nCommit migrated from d955be5013
This commit is contained in:
Ryan Nowak 2019-07-16 14:55:06 -07:00 committed by GitHub
parent f2f0bed885
commit fde8f98d7e
387 changed files with 692 additions and 807 deletions

View File

@ -596,20 +596,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
List<IntermediateToken> valueExpressionTokens, List<IntermediateToken> valueExpressionTokens,
List<IntermediateToken> changeExpressionTokens) List<IntermediateToken> changeExpressionTokens)
{ {
// Now rewrite the content of the value node to look like:
//
// BindMethods.GetValue(<code>)
valueExpressionTokens.Add(new IntermediateToken()
{
Content = $"{ComponentsApi.BindMethods.GetValue}(",
Kind = TokenKind.CSharp
});
valueExpressionTokens.Add(original); valueExpressionTokens.Add(original);
valueExpressionTokens.Add(new IntermediateToken()
{
Content = ")",
Kind = TokenKind.CSharp,
});
// Now rewrite the content of the change-handler node. Since it's a component attribute, // Now rewrite the content of the change-handler node. Since it's a component attribute,
// we don't use the 'BindMethods' wrapper. We expect component attributes to always 'match' on type. // we don't use the 'BindMethods' wrapper. We expect component attributes to always 'match' on type.
@ -631,41 +618,53 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
List<IntermediateToken> valueExpressionTokens, List<IntermediateToken> valueExpressionTokens,
List<IntermediateToken> changeExpressionTokens) List<IntermediateToken> changeExpressionTokens)
{ {
// Now rewrite the content of the value node to look like: if (changeAttribute == null)
//
// BindMethods.GetValue(<code>, format: <format>, culture: <culture>)
valueExpressionTokens.Add(new IntermediateToken()
{
Content = $"{ComponentsApi.BindMethods.GetValue}(",
Kind = TokenKind.CSharp
});
valueExpressionTokens.Add(original);
if (!string.IsNullOrEmpty(format?.Content))
{ {
// This is bind on a markup element. We use FormatValue to transform the value in the correct way
// according to format and culture.
//
// Now rewrite the content of the value node to look like:
//
// BindConverter.FormatValue(<code>, format: <format>, culture: <culture>)
valueExpressionTokens.Add(new IntermediateToken() valueExpressionTokens.Add(new IntermediateToken()
{ {
Content = ", format: ", Content = $"{ComponentsApi.BindConverter.FormatValue}(",
Kind = TokenKind.CSharp, Kind = TokenKind.CSharp
}); });
valueExpressionTokens.Add(format); valueExpressionTokens.Add(original);
}
if (!string.IsNullOrEmpty(format?.Content))
{
valueExpressionTokens.Add(new IntermediateToken()
{
Content = ", format: ",
Kind = TokenKind.CSharp,
});
valueExpressionTokens.Add(format);
}
if (!string.IsNullOrEmpty(culture?.Content))
{
valueExpressionTokens.Add(new IntermediateToken()
{
Content = ", culture: ",
Kind = TokenKind.CSharp,
});
valueExpressionTokens.Add(culture);
}
if (!string.IsNullOrEmpty(culture?.Content))
{
valueExpressionTokens.Add(new IntermediateToken() valueExpressionTokens.Add(new IntermediateToken()
{ {
Content = ", culture: ", Content = ")",
Kind = TokenKind.CSharp, Kind = TokenKind.CSharp,
}); });
valueExpressionTokens.Add(culture);
} }
else
valueExpressionTokens.Add(new IntermediateToken()
{ {
Content = ")", // This is a component. We can just use the value as-is, since we know its type
Kind = TokenKind.CSharp, // we can type-check it.
}); valueExpressionTokens.Add(original);
}
// Now rewrite the content of the change-handler node. There are two cases we care about // Now rewrite the content of the change-handler node. There are two cases we care about
// here. If it's a component attribute, then don't use the 'CreateBinder' wrapper. We expect // here. If it's a component attribute, then don't use the 'CreateBinder' wrapper. We expect
@ -676,7 +675,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
// since the generic type lowering pass runs after this. To keep this simple we're relying on // since the generic type lowering pass runs after this. To keep this simple we're relying on
// the compiler to resolve overloads for us. // the compiler to resolve overloads for us.
// //
// EventCallbackFactory.CreateInferred(this, __value => <code> = __value, <code>) // RuntimeHelpers.CreateInferredEventCallback(this, __value => <code> = __value, <code>)
// //
// For general DOM attributes, we need to be able to create a delegate that accepts UIEventArgs // For general DOM attributes, we need to be able to create a delegate that accepts UIEventArgs
// so we use 'CreateBinder' // so we use 'CreateBinder'
@ -727,7 +726,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
// Component // Component
changeExpressionTokens.Add(new IntermediateToken() changeExpressionTokens.Add(new IntermediateToken()
{ {
Content = $"{ComponentsApi.EventCallback.FactoryAccessor}.{ComponentsApi.EventCallbackFactory.CreateInferredMethod}(this, __value => {original.Content} = __value, {original.Content})", Content = $"{ComponentsApi.RuntimeHelpers.CreateInferredEventCallback}(this, __value => {original.Content} = __value, {original.Content})",
Kind = TokenKind.CSharp Kind = TokenKind.CSharp
}); });
} }

View File

@ -99,7 +99,8 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
public static class RuntimeHelpers public static class RuntimeHelpers
{ {
public static readonly string TypeCheck = "Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck"; public static readonly string TypeCheck = "Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck";
public static readonly string CreateInferredEventCallback = "Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback";
} }
public static class RouteAttribute public static class RouteAttribute
@ -117,17 +118,6 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.BindInputElementAttribute"; public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.BindInputElementAttribute";
} }
public static class BindMethods
{
public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.BindMethods";
public static readonly string GetValue = "Microsoft.AspNetCore.Components.BindMethods.GetValue";
public static readonly string GetEventHandlerValue = "Microsoft.AspNetCore.Components.BindMethods.GetEventHandlerValue";
public static readonly string SetValueHandler = "Microsoft.AspNetCore.Components.BindMethods.SetValueHandler";
}
public static class EventHandlerAttribute public static class EventHandlerAttribute
{ {
public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.EventHandlerAttribute"; public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.EventHandlerAttribute";
@ -154,8 +144,13 @@ namespace Microsoft.AspNetCore.Razor.Language.Components
public static class EventCallbackFactory public static class EventCallbackFactory
{ {
public static readonly string CreateMethod = "Create"; public static readonly string CreateMethod = "Create";
public static readonly string CreateInferredMethod = "CreateInferred";
public static readonly string CreateBinderMethod = "CreateBinder"; public static readonly string CreateBinderMethod = "CreateBinder";
} }
public static class BindConverter
{
public static readonly string FullTypeName = "Microsoft.AspNetCore.Components.BindConverter";
public static readonly string FormatValue = "Microsoft.AspNetCore.Components.BindConverter.FormatValue";
}
} }
} }

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,10 +28,10 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Int32>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Int32>(this, __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Int32>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Int32>(this,
Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue))); Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)));
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Linq.Expressions.Expression<System.Func<System.Int32>>>(() => ParentValue); __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Linq.Expressions.Expression<System.Func<System.Int32>>>(() => ParentValue);
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
} }
)); ));

View File

@ -17,12 +17,10 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue) IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueExpression - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueExpression - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - () => ParentValue IntermediateToken - - CSharp - () => ParentValue

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1, Microsoft.AspNetCore.Components.BindMethods.GetValue( __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,8 +28,8 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
), -1, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, , -1, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue)), -1, () => ParentValue); Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)), -1, () => ParentValue);
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
__o = typeof(MyComponent<>); __o = typeof(MyComponent<>);

View File

@ -17,12 +17,10 @@ Document -
Component - (0:0,0 [45] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [45] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParam - AttributeStructure.DoubleQuotes ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParam - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParamChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParamChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue) IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)
ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParamExpression - AttributeStructure.DoubleQuotes ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParamExpression - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - () => ParentValue IntermediateToken - - CSharp - () => ParentValue

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,9 +28,9 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Int32>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Int32>(this, __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Int32>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Int32>(this,
Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue))); Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)));
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
} }
)); ));

View File

@ -17,12 +17,10 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue) IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)
HtmlContent - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) HtmlContent - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
IntermediateToken - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n IntermediateToken - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
CSharpCode - (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml) CSharpCode - (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,9 +28,9 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Int32>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Int32>(this, __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Int32>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Int32>(this,
Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue))); Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)));
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
} }
)); ));

View File

@ -17,12 +17,10 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateInferred(this, __value => ParentValue = __value, ParentValue) IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => ParentValue = __value, ParentValue)
HtmlContent - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) HtmlContent - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml)
IntermediateToken - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n IntermediateToken - (41:0,41 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
CSharpCode - (50:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml) CSharpCode - (50:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,7 +28,7 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = new System.Action<System.Int32>( __o = new System.Action<System.Int32>(
__value => ParentValue = __value); __value => ParentValue = __value);
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {

View File

@ -17,9 +17,7 @@ Document -
Component - (0:0,0 [71] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [71] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - __value => ParentValue = __value IntermediateToken - - CSharp - __value => ParentValue = __value

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
Component - (0:0,0 [71] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [71] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - OnChanged - AttributeStructure.DoubleQuotes

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,10 +28,10 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = new System.Action<System.Int32>( __o = new System.Action<System.Int32>(
__value => ParentValue = __value); __value => ParentValue = __value);
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Linq.Expressions.Expression<System.Func<System.Int32>>>(() => ParentValue); __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Linq.Expressions.Expression<System.Func<System.Int32>>>(() => ParentValue);
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {
} }
)); ));

View File

@ -17,9 +17,7 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - __value => ParentValue = __value IntermediateToken - - CSharp - __value => ParentValue = __value

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1, Microsoft.AspNetCore.Components.BindMethods.GetValue( __Blazor.Test.TestComponent.TypeInference.CreateMyComponent_0(builder, -1, -1,
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,7 +28,7 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
), -1, , -1,
__value => ParentValue = __value, -1, () => ParentValue); __value => ParentValue = __value, -1, () => ParentValue);
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"

View File

@ -17,9 +17,7 @@ Document -
Component - (0:0,0 [45] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [45] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParam - AttributeStructure.DoubleQuotes ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParam - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParamChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml) - SomeParamChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - __value => ParentValue = __value IntermediateToken - - CSharp - __value => ParentValue = __value

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,7 +28,7 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = new System.Action<System.Int32>( __o = new System.Action<System.Int32>(
__value => ParentValue = __value); __value => ParentValue = __value);
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {

View File

@ -17,9 +17,7 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - __value => ParentValue = __value IntermediateToken - - CSharp - __value => ParentValue = __value

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.Int32>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue
@ -28,7 +28,7 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = new System.Action<System.Int32>( __o = new System.Action<System.Int32>(
__value => ParentValue = __value); __value => ParentValue = __value);
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {

View File

@ -17,9 +17,7 @@ Document -
Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent Component - (0:0,0 [41] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - )
ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - __value => ParentValue = __value IntermediateToken - - CSharp - __value => ParentValue = __value

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.RuntimeHelpers.TypeCheck<System.String>(Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
person.Name person.Name
@ -28,7 +28,7 @@ namespace Test
#line default #line default
#line hidden #line hidden
#nullable disable #nullable disable
)); );
__o = new System.Action<System.String>( __o = new System.Action<System.String>(
__value => person.Name = __value); __value => person.Name = __value);
builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => { builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((builder2) => {

View File

@ -17,9 +17,7 @@ Document -
Component - (0:0,0 [39] x:\dir\subdir\Test\TestComponent.cshtml) - InputText Component - (0:0,0 [39] x:\dir\subdir\Test\TestComponent.cshtml) - InputText
ComponentAttribute - (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes ComponentAttribute - (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml) - Value - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue(
IntermediateToken - (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name IntermediateToken - (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - person.Name
IntermediateToken - - CSharp - )
ComponentAttribute - (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes ComponentAttribute - (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml) - ValueChanged - AttributeStructure.DoubleQuotes
CSharpExpression - CSharpExpression -
IntermediateToken - - CSharp - __value => person.Name = __value IntermediateToken - - CSharp - __value => person.Name = __value

View File

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

View File

@ -27,7 +27,7 @@ using System.Globalization;
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml" #line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -20,7 +20,7 @@ Document -
MarkupElement - (29:1,0 [114] x:\dir\subdir\Test\TestComponent.cshtml) - div MarkupElement - (29:1,0 [114] x:\dir\subdir\Test\TestComponent.cshtml) - div
HtmlAttribute - (47:1,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (47:1,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - , culture: IntermediateToken - - CSharp - , culture:
IntermediateToken - (111:1,82 [28] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CultureInfo.InvariantCulture IntermediateToken - (111:1,82 [28] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CultureInfo.InvariantCulture

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
HtmlAttribute - (32:0,32 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (32:0,32 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd" IntermediateToken - - CSharp - "MM/dd"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
HtmlAttribute - (32:0,32 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (32:0,32 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (32:0,32 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - " HtmlAttribute - (32:0,32 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "

View File

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

View File

@ -27,7 +27,7 @@ using System.Globalization;
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml" #line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -20,7 +20,7 @@ Document -
MarkupElement - (29:1,0 [118] x:\dir\subdir\Test\TestComponent.cshtml) - div MarkupElement - (29:1,0 [118] x:\dir\subdir\Test\TestComponent.cshtml) - div
HtmlAttribute - (47:1,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - " HtmlAttribute - (47:1,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - , culture: IntermediateToken - - CSharp - , culture:
IntermediateToken - (115:1,86 [28] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CultureInfo.InvariantCulture IntermediateToken - (115:1,86 [28] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CultureInfo.InvariantCulture

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [67] x:\dir\subdir\Test\TestComponent.cshtml) - div MarkupElement - (0:0,0 [67] x:\dir\subdir\Test\TestComponent.cshtml) - div
HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - " HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - anotherevent=" - " HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - anotherevent=" - "

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [34] x:\dir\subdir\Test\TestComponent.cshtml) - div MarkupElement - (0:0,0 [34] x:\dir\subdir\Test\TestComponent.cshtml) - div
HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - " HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - " HtmlAttribute - (18:0,18 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - div MarkupElement - (0:0,0 [33] x:\dir\subdir\Test\TestComponent.cshtml) - div
HtmlAttribute - (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - " HtmlAttribute - (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - " HtmlAttribute - (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - div MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - div
HtmlAttribute - (12:0,12 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - " HtmlAttribute - (12:0,12 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myvalue=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (12:0,12 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - " HtmlAttribute - (12:0,12 [12] x:\dir\subdir\Test\TestComponent.cshtml) - myevent=" - "

View File

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

View File

@ -27,7 +27,7 @@ using System.Globalization;
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml" #line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -23,7 +23,7 @@ Document -
IntermediateToken - (42:1,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom IntermediateToken - (42:1,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom
HtmlAttribute - (63:1,34 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (63:1,34 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (63:1,34 [12] x:\dir\subdir\Test\TestComponent.cshtml) - anotherevent=" - " HtmlAttribute - (63:1,34 [12] x:\dir\subdir\Test\TestComponent.cshtml) - anotherevent=" - "

View File

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

View File

@ -27,7 +27,7 @@ using System.Globalization;
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml" #line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -23,7 +23,7 @@ Document -
IntermediateToken - (42:1,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom IntermediateToken - (42:1,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom
HtmlAttribute - (63:1,34 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (63:1,34 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - , culture: IntermediateToken - - CSharp - , culture:
IntermediateToken - (131:1,102 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CultureInfo.CurrentCulture IntermediateToken - (131:1,102 [26] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CultureInfo.CurrentCulture

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
Enabled Enabled

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) - Html - checkbox IntermediateToken - (13:0,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) - Html - checkbox
HtmlAttribute - (30:0,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - checked=" - " HtmlAttribute - (30:0,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - checked=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (31:0,31 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled IntermediateToken - (31:0,31 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (30:0,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - " HtmlAttribute - (30:0,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [73] x:\dir\subdir\Test\TestComponent.cshtml) - input MarkupElement - (0:0,0 [73] x:\dir\subdir\Test\TestComponent.cshtml) - input
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd" IntermediateToken - - CSharp - "MM/dd"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - (55:0,55 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format IntermediateToken - (55:0,55 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd/yyyy" IntermediateToken - - CSharp - "MM/dd/yyyy"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text IntermediateToken - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - " HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom IntermediateToken - (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom
HtmlAttribute - (28:0,28 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (28:0,28 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd/yyyy" IntermediateToken - - CSharp - "MM/dd/yyyy"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom IntermediateToken - (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom
HtmlAttribute - (28:0,28 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (28:0,28 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd" IntermediateToken - - CSharp - "MM/dd"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -20,7 +20,7 @@ Document -
IntermediateToken - (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom IntermediateToken - (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - custom
HtmlAttribute - (28:0,28 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (28:0,28 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd/yyyy" IntermediateToken - - CSharp - "MM/dd/yyyy"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input MarkupElement - (0:0,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
HtmlAttribute - (20:0,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (20:0,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd" IntermediateToken - - CSharp - "MM/dd"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
CurrentDate CurrentDate

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [91] x:\dir\subdir\Test\TestComponent.cshtml) - input MarkupElement - (0:0,0 [91] x:\dir\subdir\Test\TestComponent.cshtml) - input
HtmlAttribute - (20:0,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (20:0,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate IntermediateToken - (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
IntermediateToken - - CSharp - , format: IntermediateToken - - CSharp - , format:
IntermediateToken - - CSharp - "MM/dd" IntermediateToken - - CSharp - "MM/dd"

View File

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

View File

@ -20,7 +20,7 @@ namespace Test
#pragma warning disable 1998 #pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder) protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{ {
__o = Microsoft.AspNetCore.Components.BindMethods.GetValue( __o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#nullable restore #nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml" #line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
ParentValue ParentValue

View File

@ -17,7 +17,7 @@ Document -
MarkupElement - (0:0,0 [30] x:\dir\subdir\Test\TestComponent.cshtml) - input MarkupElement - (0:0,0 [30] x:\dir\subdir\Test\TestComponent.cshtml) - input
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - " HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
CSharpExpressionAttributeValue - - CSharpExpressionAttributeValue - -
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindMethods.GetValue( IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
IntermediateToken - (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue IntermediateToken - (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
IntermediateToken - - CSharp - ) IntermediateToken - - CSharp - )
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - " HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "

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