Reaction to API review changes
This change updates the snapshot of components APIs used in compiler
tests and updates the tests to react tot hose changes.
\n\nCommit migrated from c8cc588bca
This commit is contained in:
parent
2873952822
commit
cb35a0aa40
|
|
@ -83,6 +83,7 @@ namespace Test
|
|||
// We're looking for VS crash issues. Meaning if the parser returns
|
||||
// diagnostics we don't want to throw.
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input type=""text"" @bind=""@page"" />
|
||||
@functions {
|
||||
public string page { get; set; } = ""text"";
|
||||
|
|
|
|||
|
|
@ -1181,6 +1181,7 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
|
|
@ -1210,6 +1211,7 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
|
|
@ -1240,6 +1242,7 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @bind=""@CurrentDate"" @bind:event=""oninput"" @bind:format=""MM/dd"" />
|
||||
@code {
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
@ -1258,6 +1261,7 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @bind-value=""@CurrentDate"" @bind-value:format=""MM/dd"" />
|
||||
@code {
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
@ -1996,20 +2000,22 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public EventCallback<UIMouseEventArgs> OnClick { get; set; }
|
||||
public EventCallback<MouseEventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
<MyComponent OnClick=""@(EventCallback.Factory.Create<UIMouseEventArgs>(this, Increment))""/>
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<MyComponent OnClick=""@(EventCallback.Factory.Create<MouseEventArgs>(this, Increment))""/>
|
||||
|
||||
@code {
|
||||
private int counter;
|
||||
|
|
@ -2173,13 +2179,14 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public EventCallback<UIMouseEventArgs> OnClick { get; set; }
|
||||
public EventCallback<MouseEventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
|
@ -2208,24 +2215,26 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public EventCallback<UIMouseEventArgs> OnClick { get; set; }
|
||||
public EventCallback<MouseEventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<MyComponent OnClick=""@Increment""/>
|
||||
|
||||
@code {
|
||||
private int counter;
|
||||
private void Increment(UIMouseEventArgs e) {
|
||||
private void Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
}");
|
||||
|
|
@ -2243,13 +2252,14 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public EventCallback<UIMouseEventArgs> OnClick { get; set; }
|
||||
public EventCallback<MouseEventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
|
@ -2279,24 +2289,26 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public EventCallback<UIMouseEventArgs> OnClick { get; set; }
|
||||
public EventCallback<MouseEventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<MyComponent OnClick=""@Increment""/>
|
||||
|
||||
@code {
|
||||
private int counter;
|
||||
private Task Increment(UIMouseEventArgs e) {
|
||||
private Task Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
@ -2315,24 +2327,26 @@ namespace Test
|
|||
AdditionalSyntaxTrees.Add(Parse(@"
|
||||
using System;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public EventCallback<UIMouseEventArgs> OnClick { get; set; }
|
||||
public EventCallback<MouseEventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<MyComponent OnClick=""@Increment""/>
|
||||
|
||||
@code {
|
||||
private int counter;
|
||||
private void Increment(UIChangeEventArgs e) {
|
||||
private void Increment(ChangeEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
}");
|
||||
|
|
@ -2398,7 +2412,7 @@ namespace Test
|
|||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public Action<UIEventArgs> OnClick { get; set; }
|
||||
public Action<EventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
|
@ -2440,10 +2454,11 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<DynamicElement @onclick=""OnClick"" />
|
||||
|
||||
@code {
|
||||
private Action<UIMouseEventArgs> OnClick { get; set; }
|
||||
private Action<MouseEventArgs> OnClick { get; set; }
|
||||
}");
|
||||
|
||||
// Assert
|
||||
|
|
@ -2465,7 +2480,7 @@ namespace Test
|
|||
public class MyComponent : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public Action<UIEventArgs> OnClick { get; set; }
|
||||
public Action<EventArgs> OnClick { get; set; }
|
||||
}
|
||||
}
|
||||
"));
|
||||
|
|
@ -2476,7 +2491,7 @@ namespace Test
|
|||
|
||||
@code {
|
||||
private int counter;
|
||||
private void Increment(UIEventArgs e) {
|
||||
private void Increment(EventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
}");
|
||||
|
|
@ -2494,6 +2509,7 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input onclick=""foo"" />");
|
||||
|
||||
// Assert
|
||||
|
|
@ -2509,6 +2525,7 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""() => { }"" />");
|
||||
|
||||
// Assert
|
||||
|
|
@ -2524,6 +2541,7 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""x => { }"" />");
|
||||
|
||||
// Assert
|
||||
|
|
@ -2539,6 +2557,7 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""OnClick"" />
|
||||
@code {
|
||||
void OnClick() {
|
||||
|
|
@ -2558,9 +2577,10 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""OnClick"" />
|
||||
@code {
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
}");
|
||||
|
||||
|
|
@ -2577,9 +2597,10 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""OnClick"" />
|
||||
@code {
|
||||
void OnClick(UIEventArgs e) {
|
||||
void OnClick(EventArgs e) {
|
||||
}
|
||||
}");
|
||||
|
||||
|
|
@ -2597,6 +2618,7 @@ namespace Test
|
|||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using System.Threading.Tasks
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""OnClick"" />
|
||||
@code {
|
||||
Task OnClick()
|
||||
|
|
@ -2619,9 +2641,10 @@ namespace Test
|
|||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using System.Threading.Tasks
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""OnClick"" />
|
||||
@code {
|
||||
Task OnClick(UIMouseEventArgs e)
|
||||
Task OnClick(MouseEventArgs e)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
@ -2641,6 +2664,7 @@ namespace Test
|
|||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using System.Threading.Tasks
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""@(async () => await Task.Delay(10))"" />
|
||||
");
|
||||
|
||||
|
|
@ -2658,6 +2682,7 @@ namespace Test
|
|||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using System.Threading.Tasks
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""@(async (e) => await Task.Delay(10))"" />
|
||||
");
|
||||
|
||||
|
|
@ -2689,9 +2714,10 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onclick=""OnClick"" />
|
||||
@code {
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
}");
|
||||
|
||||
|
|
@ -2708,9 +2734,10 @@ namespace Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<input @onCLICK=""OnClick"" />
|
||||
@code {
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
}");
|
||||
|
||||
|
|
@ -4551,6 +4578,7 @@ namespace New.Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<div>
|
||||
<a onclick=""test()"" @onclick=""() => {}"">Learn the ten cool tricks your compiler author will hate!</a>
|
||||
</div>");
|
||||
|
|
@ -4591,6 +4619,7 @@ namespace New.Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<div>
|
||||
<input type=""text"" value=""17"" @bind=""@text""></input>
|
||||
</div>
|
||||
|
|
@ -4615,6 +4644,7 @@ namespace New.Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<div>
|
||||
<input type=""text"" Value=""17"" @bind=""@text""></input>
|
||||
</div>
|
||||
|
|
@ -4638,6 +4668,7 @@ namespace New.Test
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<div>
|
||||
<input type=""text"" @bind-value=""@text"" @bind-value:event=""oninput"" @oninput=""() => {}""></input>
|
||||
</div>
|
||||
|
|
@ -5011,11 +5042,12 @@ Welcome to your new app.
|
|||
|
||||
// Act
|
||||
var generated = CompileToCSharp(@"
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
<p @onmouseover=""OnComponentHover"" style=""background: @ParentBgColor;"" />
|
||||
@code {
|
||||
public string ParentBgColor { get; set; } = ""#FFFFFF"";
|
||||
|
||||
public void OnComponentHover(UIMouseEventArgs e)
|
||||
public void OnComponentHover(MouseEventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ namespace Test
|
|||
|
||||
public class BaseClass : IComponent
|
||||
{
|
||||
public void Configure(RenderHandle renderHandle)
|
||||
public void Attach(RenderHandle renderHandle)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ namespace Test
|
|||
{
|
||||
}
|
||||
|
||||
public Task SetParametersAsync(ParameterCollection parameters)
|
||||
public Task SetParametersAsync(ParameterView parameters)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,12 +126,12 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
|
|||
[Parameter]
|
||||
public RenderFragment Body { get; set; }
|
||||
|
||||
public void Configure(RenderHandle renderHandle)
|
||||
public void Attach(RenderHandle renderHandle)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task SetParametersAsync(ParameterCollection parameters)
|
||||
public Task SetParametersAsync(ParameterView parameters)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ namespace Test
|
|||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
|
@ -26,9 +33,9 @@ using System.Threading.Tasks;
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
async (e) => await Task.Delay(10)
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
|
||||
UsingDirective - (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -16,11 +17,13 @@ Document -
|
|||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (31:1,0 [57] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (48:1,17 [36] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (75:2,0 [57] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (92:2,17 [36] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (50:1,19 [33] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - async (e) => await Task.Delay(10)
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (94:2,19 [33] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - async (e) => await Task.Delay(10)
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (88:1,57 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (88:1,57 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (132:2,57 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (132:2,57 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
|
|
|
|||
|
|
@ -3,8 +3,13 @@ Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
Generated Location: (285:11,0 [28] )
|
||||
|using System.Threading.Tasks|
|
||||
|
||||
Source Location: (50:1,19 [33] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (436:18,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (94:2,19 [33] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|async (e) => await Task.Delay(10)|
|
||||
Generated Location: (1116:31,19 [33] )
|
||||
Generated Location: (1282:38,19 [33] )
|
||||
|async (e) => await Task.Delay(10)|
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ namespace Test
|
|||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
|
@ -26,9 +33,9 @@ using System.Threading.Tasks;
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -38,9 +45,9 @@ using System.Threading.Tasks;
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
Task OnClick(UIMouseEventArgs e)
|
||||
Task OnClick(MouseEventArgs e)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
|
||||
UsingDirective - (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -16,13 +17,15 @@ Document -
|
|||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (75:2,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (68:2,7 [91] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (68:2,7 [91] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick(UIMouseEventArgs e) \n {\n return Task.CompletedTask;\n }\n
|
||||
HtmlContent - (103:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (103:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (112:3,7 [89] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (112:3,7 [89] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick(MouseEventArgs e) \n {\n return Task.CompletedTask;\n }\n
|
||||
|
|
|
|||
|
|
@ -3,21 +3,26 @@ Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
Generated Location: (285:11,0 [28] )
|
||||
|using System.Threading.Tasks|
|
||||
|
||||
Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (436:18,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|OnClick|
|
||||
Generated Location: (1114:31,17 [7] )
|
||||
Generated Location: (1280:38,17 [7] )
|
||||
|OnClick|
|
||||
|
||||
Source Location: (68:2,7 [91] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (112:3,7 [89] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
Task OnClick(UIMouseEventArgs e)
|
||||
Task OnClick(MouseEventArgs e)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
||||
Generated Location: (1315:41,7 [91] )
|
||||
Generated Location: (1481:48,7 [89] )
|
||||
|
|
||||
Task OnClick(UIMouseEventArgs e)
|
||||
Task OnClick(MouseEventArgs e)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ namespace Test
|
|||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
|
@ -26,9 +33,9 @@ using System.Threading.Tasks;
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
async () => await Task.Delay(10)
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
|
||||
UsingDirective - (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -16,11 +17,13 @@ Document -
|
|||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (31:1,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (48:1,17 [35] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (75:2,0 [56] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (92:2,17 [35] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (50:1,19 [32] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - async () => await Task.Delay(10)
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (94:2,19 [32] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - async () => await Task.Delay(10)
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (87:1,56 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (87:1,56 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (131:2,56 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (131:2,56 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
|
|
|
|||
|
|
@ -3,8 +3,13 @@ Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
Generated Location: (285:11,0 [28] )
|
||||
|using System.Threading.Tasks|
|
||||
|
||||
Source Location: (50:1,19 [32] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (436:18,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (94:2,19 [32] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|async () => await Task.Delay(10)|
|
||||
Generated Location: (1116:31,19 [32] )
|
||||
Generated Location: (1282:38,19 [32] )
|
||||
|async () => await Task.Delay(10)|
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ namespace Test
|
|||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
|
|
@ -26,9 +33,9 @@ using System.Threading.Tasks;
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -38,7 +45,7 @@ using System.Threading.Tasks;
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
Task OnClick()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml) - System.Threading.Tasks
|
||||
UsingDirective - (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -16,13 +17,15 @@ Document -
|
|||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
HtmlContent - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (29:0,29 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (31:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (73:1,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (75:2,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (59:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (68:2,7 [73] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (68:2,7 [73] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick() \n {\n return Task.CompletedTask;\n }\n
|
||||
HtmlContent - (103:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (103:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (112:3,7 [73] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (112:3,7 [73] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n Task OnClick() \n {\n return Task.CompletedTask;\n }\n
|
||||
|
|
|
|||
|
|
@ -3,19 +3,24 @@ Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
Generated Location: (285:11,0 [28] )
|
||||
|using System.Threading.Tasks|
|
||||
|
||||
Source Location: (48:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (436:18,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|OnClick|
|
||||
Generated Location: (1114:31,17 [7] )
|
||||
Generated Location: (1280:38,17 [7] )
|
||||
|OnClick|
|
||||
|
||||
Source Location: (68:2,7 [73] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (112:3,7 [73] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
Task OnClick()
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
||||
Generated Location: (1315:41,7 [73] )
|
||||
Generated Location: (1481:48,7 [73] )
|
||||
|
|
||||
Task OnClick()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
__o =
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Enabled
|
||||
|
|
@ -28,8 +28,7 @@ namespace Test
|
|||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => Enabled = __value, Enabled);
|
||||
;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
|
|
|
|||
|
|
@ -15,19 +15,12 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttribute - (6:0,6 [16] x:\dir\subdir\Test\TestComponent.cshtml) - type=" - "
|
||||
HtmlAttributeValue - (13:0,13 [8] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
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=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
HtmlAttribute - (22:0,22 [17] x:\dir\subdir\Test\TestComponent.cshtml) - @bind=" - "
|
||||
CSharpExpressionAttributeValue - (30:0,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (31:0,31 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Enabled
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (30:0,30 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => Enabled = __value,
|
||||
IntermediateToken - - CSharp - Enabled
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (51:1,7 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
Source Location: (31:0,31 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Enabled|
|
||||
Generated Location: (953:25,31 [7] )
|
||||
Generated Location: (895:25,31 [7] )
|
||||
|Enabled|
|
||||
|
||||
Source Location: (51:1,7 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
public bool Enabled { get; set; }
|
||||
|
|
||||
Generated Location: (1286:36,7 [41] )
|
||||
Generated Location: (1095:35,7 [41] )
|
||||
|
|
||||
public bool Enabled { get; set; }
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -22,7 +29,7 @@ namespace Test
|
|||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
CurrentDate
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,21 +15,23 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [73] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [73] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (58:1,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
IntermediateToken - (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
|
||||
IntermediateToken - (59:1,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format:
|
||||
IntermediateToken - - CSharp - "MM/dd"
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - oninput=" - "
|
||||
HtmlAttribute - (58:1,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - oninput=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value,
|
||||
IntermediateToken - - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format: "MM/dd"
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (82:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (82:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
|
||||
HtmlContent - (117:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (117:1,73 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (126:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (126:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (59:1,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|CurrentDate|
|
||||
Generated Location: (937:25,15 [11] )
|
||||
Generated Location: (1101:32,15 [11] )
|
||||
|CurrentDate|
|
||||
|
||||
Source Location: (82:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (126:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
||||
Generated Location: (1316:36,7 [77] )
|
||||
Generated Location: (1480:43,7 [77] )
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
__o =
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
CurrentDate
|
||||
|
|
@ -28,7 +28,8 @@ namespace Test
|
|||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, format:
|
||||
;
|
||||
__o =
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Format
|
||||
|
|
@ -36,8 +37,7 @@ namespace Test
|
|||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value, CurrentDate, format: Format);
|
||||
;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
|
|
|
|||
|
|
@ -15,22 +15,15 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [64] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttribute - (6:0,6 [12] x:\dir\subdir\Test\TestComponent.cshtml) - type=" - "
|
||||
HtmlAttributeValue - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
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=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
HtmlAttribute - (18:0,18 [21] x:\dir\subdir\Test\TestComponent.cshtml) - @bind=" - "
|
||||
CSharpExpressionAttributeValue - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format:
|
||||
HtmlAttribute - (39:0,39 [23] x:\dir\subdir\Test\TestComponent.cshtml) - @bind:format=" - "
|
||||
CSharpExpressionAttributeValue - (54:0,54 [7] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (55:0,55 [6] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Format
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value,
|
||||
IntermediateToken - - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format: Format
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (64:0,64 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (64:0,64 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (73:1,7 [135] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|CurrentDate|
|
||||
Generated Location: (949:25,27 [11] )
|
||||
Generated Location: (891:25,27 [11] )
|
||||
|CurrentDate|
|
||||
|
||||
Source Location: (55:0,55 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Format|
|
||||
Generated Location: (1161:33,55 [6] )
|
||||
Generated Location: (1114:34,55 [6] )
|
||||
|Format|
|
||||
|
||||
Source Location: (73:1,7 [135] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
@ -14,7 +14,7 @@ Source Location: (73:1,7 [135] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
|
||||
public string Format { get; set; } = "MM/dd/yyyy";
|
||||
|
|
||||
Generated Location: (1517:44,7 [135] )
|
||||
Generated Location: (1313:44,7 [135] )
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
__o =
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
CurrentDate
|
||||
|
|
@ -28,8 +28,7 @@ namespace Test
|
|||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, format: "MM/dd/yyyy");
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value, CurrentDate, format: "MM/dd/yyyy");
|
||||
;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
|
|
|
|||
|
|
@ -15,22 +15,15 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [67] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttribute - (6:0,6 [12] x:\dir\subdir\Test\TestComponent.cshtml) - type=" - "
|
||||
HtmlAttributeValue - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
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=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
HtmlAttribute - (18:0,18 [21] x:\dir\subdir\Test\TestComponent.cshtml) - @bind=" - "
|
||||
CSharpExpressionAttributeValue - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format:
|
||||
IntermediateToken - - CSharp - "MM/dd/yyyy"
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value,
|
||||
IntermediateToken - - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format: "MM/dd/yyyy"
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (39:0,39 [26] x:\dir\subdir\Test\TestComponent.cshtml) - @bind:format=" - "
|
||||
HtmlAttributeValue - (54:0,54 [10] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (54:0,54 [10] x:\dir\subdir\Test\TestComponent.cshtml) - Html - MM/dd/yyyy
|
||||
HtmlContent - (67:0,67 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (67:0,67 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (76:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|CurrentDate|
|
||||
Generated Location: (949:25,27 [11] )
|
||||
Generated Location: (891:25,27 [11] )
|
||||
|CurrentDate|
|
||||
|
||||
Source Location: (76:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
||||
Generated Location: (1338:36,7 [77] )
|
||||
Generated Location: (1095:35,7 [77] )
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
__o =
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
ParentValue
|
||||
|
|
@ -28,8 +28,7 @@ namespace Test
|
|||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => ParentValue = __value, ParentValue);
|
||||
;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
|
|
|
|||
|
|
@ -15,19 +15,12 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [42] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttribute - (6:0,6 [12] x:\dir\subdir\Test\TestComponent.cshtml) - type=" - "
|
||||
HtmlAttributeValue - (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
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=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
HtmlAttribute - (18:0,18 [21] x:\dir\subdir\Test\TestComponent.cshtml) - @bind=" - "
|
||||
CSharpExpressionAttributeValue - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (26:0,26 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => ParentValue = __value,
|
||||
IntermediateToken - - CSharp - ParentValue
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (51:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|ParentValue|
|
||||
Generated Location: (949:25,27 [11] )
|
||||
Generated Location: (891:25,27 [11] )
|
||||
|ParentValue|
|
||||
|
||||
Source Location: (51:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
public int ParentValue { get; set; } = 42;
|
||||
|
|
||||
Generated Location: (1294:36,7 [50] )
|
||||
Generated Location: (1095:35,7 [50] )
|
||||
|
|
||||
public int ParentValue { get; set; } = 42;
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -22,7 +29,7 @@ namespace Test
|
|||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
CurrentDate
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,21 +15,23 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (20:0,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [63] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (64:1,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
IntermediateToken - (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
|
||||
IntermediateToken - (65:1,21 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format:
|
||||
IntermediateToken - - CSharp - "MM/dd"
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (20:0,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
HtmlAttribute - (64:1,20 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => CurrentDate = __value,
|
||||
IntermediateToken - - CSharp - CurrentDate
|
||||
IntermediateToken - - CSharp - , format: "MM/dd"
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (63:0,63 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (63:0,63 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (72:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (72:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
|
||||
HtmlContent - (107:1,63 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (107:1,63 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (116:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (116:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);\n
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (65:1,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|CurrentDate|
|
||||
Generated Location: (943:25,21 [11] )
|
||||
Generated Location: (1107:32,21 [11] )
|
||||
|CurrentDate|
|
||||
|
||||
Source Location: (72:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (116:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
||||
Generated Location: (1322:36,7 [77] )
|
||||
Generated Location: (1486:43,7 [77] )
|
||||
|
|
||||
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
||||
|
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
__o =
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
ParentValue
|
||||
|
|
@ -28,8 +28,7 @@ namespace Test
|
|||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => ParentValue = __value, ParentValue);
|
||||
;
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
|
|
|
|||
|
|
@ -15,16 +15,9 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [30] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
HtmlAttribute - (6:0,6 [21] x:\dir\subdir\Test\TestComponent.cshtml) - @bind=" - "
|
||||
CSharpExpressionAttributeValue - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - ParentValue
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (14:0,14 [12] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => ParentValue = __value,
|
||||
IntermediateToken - - CSharp - ParentValue
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (30:0,30 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (30:0,30 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (39:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|ParentValue|
|
||||
Generated Location: (937:25,15 [11] )
|
||||
Generated Location: (879:25,15 [11] )
|
||||
|ParentValue|
|
||||
|
||||
Source Location: (39:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
public int ParentValue { get; set; } = 42;
|
||||
|
|
||||
Generated Location: (1282:36,7 [50] )
|
||||
Generated Location: (1083:35,7 [50] )
|
||||
|
|
||||
public int ParentValue { get; set; } = 42;
|
||||
|
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = new System.Action<Microsoft.AspNetCore.Components.UIEventArgs>(
|
||||
__o = new System.Action<System.EventArgs>(
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Increment
|
||||
|
|
@ -45,7 +45,7 @@ __o = typeof(MyComponent);
|
|||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private int counter;
|
||||
private void Increment(UIEventArgs e) {
|
||||
private void Increment(EventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ Document -
|
|||
IntermediateToken - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (46:2,7 [100] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (46:2,7 [100] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(UIEventArgs e) {\n counter++;\n }\n
|
||||
CSharpCode - (46:2,7 [98] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (46:2,7 [98] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(EventArgs e) {\n counter++;\n }\n
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Increment|
|
||||
Generated Location: (950:25,23 [9] )
|
||||
Generated Location: (923:25,23 [9] )
|
||||
|Increment|
|
||||
|
||||
Source Location: (46:2,7 [100] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (46:2,7 [98] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private int counter;
|
||||
private void Increment(UIEventArgs e) {
|
||||
private void Increment(EventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1456:45,7 [100] )
|
||||
Generated Location: (1429:45,7 [98] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment(UIEventArgs e) {
|
||||
private void Increment(EventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = new System.Action<Microsoft.AspNetCore.Components.UIEventArgs>(
|
||||
__o = new System.Action<System.EventArgs>(
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
e => { Increment(); }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Source Location: (24:0,24 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|e => { Increment(); }|
|
||||
Generated Location: (951:25,24 [21] )
|
||||
Generated Location: (924:25,24 [21] )
|
||||
|e => { Increment(); }|
|
||||
|
||||
Source Location: (60:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
@ -10,7 +10,7 @@ Source Location: (60:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1469:45,7 [87] )
|
||||
Generated Location: (1442:45,7 [87] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment() {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
));
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
__o = typeof(DynamicElement);
|
||||
|
||||
#line default
|
||||
|
|
@ -42,9 +49,9 @@ __o = typeof(DynamicElement);
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private Action<UIMouseEventArgs> OnClick { get; set; }
|
||||
private Action<MouseEventArgs> OnClick { get; set; }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,13 +15,15 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
Component - (0:0,0 [37] x:\dir\subdir\Test\TestComponent.cshtml) - DynamicElement
|
||||
ComponentAttribute - (26:0,26 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick - AttributeStructure.DoubleQuotes
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
Component - (44:1,0 [37] x:\dir\subdir\Test\TestComponent.cshtml) - DynamicElement
|
||||
ComponentAttribute - (70:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (26:0,26 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (70:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (37:0,37 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (37:0,37 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (48:2,7 [62] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (48:2,7 [62] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Action<UIMouseEventArgs> OnClick { get; set; }\n
|
||||
HtmlContent - (81:1,37 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (81:1,37 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (92:3,7 [60] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (92:3,7 [60] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private Action<MouseEventArgs> OnClick { get; set; }\n
|
||||
|
|
|
|||
|
|
@ -1,14 +1,19 @@
|
|||
Source Location: (26:0,26 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (70:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|OnClick|
|
||||
Generated Location: (1007:25,26 [7] )
|
||||
Generated Location: (1173:32,26 [7] )
|
||||
|OnClick|
|
||||
|
||||
Source Location: (48:2,7 [62] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (92:3,7 [60] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private Action<UIMouseEventArgs> OnClick { get; set; }
|
||||
private Action<MouseEventArgs> OnClick { get; set; }
|
||||
|
|
||||
Generated Location: (1514:45,7 [62] )
|
||||
Generated Location: (1680:52,7 [60] )
|
||||
|
|
||||
private Action<UIMouseEventArgs> OnClick { get; set; }
|
||||
private Action<MouseEventArgs> OnClick { get; set; }
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -20,15 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
() => Increment()
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__o = "";
|
||||
__builder.AddAttribute(-1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
}
|
||||
));
|
||||
|
|
|
|||
|
|
@ -15,11 +15,9 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
Component - (0:0,0 [43] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (23:0,23 [17] x:\dir\subdir\Test\TestComponent.cshtml) - onclick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (23:0,23 [17] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => Increment()
|
||||
IntermediateToken - - CSharp - )
|
||||
ComponentAttribute - - @onclick - AttributeStructure.DoubleQuotes
|
||||
HtmlContent - (23:0,23 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (23:0,23 [17] x:\dir\subdir\Test\TestComponent.cshtml) - Html - () => Increment()
|
||||
HtmlContent - (43:0,43 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (43:0,43 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (54:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
Source Location: (23:0,23 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|() => Increment()|
|
||||
Generated Location: (1004:25,23 [17] )
|
||||
|() => Increment()|
|
||||
|
||||
Source Location: (54:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private int counter;
|
||||
|
|
@ -10,7 +5,7 @@ Source Location: (54:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1518:45,7 [87] )
|
||||
Generated Location: (1226:37,7 [87] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment() {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -22,7 +29,7 @@ namespace Test
|
|||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
text
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private string text = "hi";
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
x:\dir\subdir\Test\TestComponent.cshtml(2,3): Error RZ10008: The attribute 'Value' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'Value' is used by the '@bind' directive attribute.
|
||||
x:\dir\subdir\Test\TestComponent.cshtml(3,3): Error RZ10008: The attribute 'Value' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'Value' is used by the '@bind' directive attribute.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,31 +15,33 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [69] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (9:1,2 [52] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [69] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (53:2,2 [52] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttributeValue - (22:1,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (22:1,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
|
||||
HtmlAttributeValue - (66:2,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (66:2,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
|
||||
HtmlAttribute - - Value=" - "
|
||||
HtmlAttributeValue - (35:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (35:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - 17
|
||||
HtmlAttribute - (46:1,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
HtmlAttributeValue - (79:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (79:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - 17
|
||||
HtmlAttribute - (90:2,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
IntermediateToken - (47:1,40 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - text
|
||||
IntermediateToken - (91:2,40 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - text
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (46:1,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
HtmlAttribute - (90:2,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => text = __value,
|
||||
IntermediateToken - - CSharp - text
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (61:1,54 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (61:1,54 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (69:2,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (69:2,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (119:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (119:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (83:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (83:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private string text = "hi";\n
|
||||
HtmlContent - (105:2,54 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (105:2,54 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (113:3,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (113:3,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (163:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (163:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private string text = "hi";\n
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
Source Location: (47:1,40 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (91:2,40 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|text|
|
||||
Generated Location: (962:25,40 [4] )
|
||||
Generated Location: (1126:32,40 [4] )
|
||||
|text|
|
||||
|
||||
Source Location: (83:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private string text = "hi";
|
||||
|
|
||||
Generated Location: (1291:36,12 [35] )
|
||||
Generated Location: (1455:43,12 [35] )
|
||||
|
|
||||
private string text = "hi";
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIChangeEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
() => {}
|
||||
|
||||
#line default
|
||||
|
|
@ -31,7 +38,7 @@ namespace Test
|
|||
);
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
text
|
||||
|
||||
#line default
|
||||
|
|
@ -42,7 +49,7 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private string text = "hi";
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
x:\dir\subdir\Test\TestComponent.cshtml(2,80): Error RZ10008: The attribute 'oninput' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'oninput' is used by the '@bind-value' directive attribute.
|
||||
x:\dir\subdir\Test\TestComponent.cshtml(3,80): Error RZ10008: The attribute 'oninput' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'oninput' is used by the '@bind-value' directive attribute.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,33 +15,35 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [112] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (9:1,2 [95] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [112] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (53:2,2 [95] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttributeValue - (22:1,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (22:1,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
|
||||
HtmlAttribute - (86:1,79 [8] x:\dir\subdir\Test\TestComponent.cshtml) - oninput=" - "
|
||||
HtmlAttributeValue - (66:2,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (66:2,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
|
||||
HtmlAttribute - (130:2,79 [8] x:\dir\subdir\Test\TestComponent.cshtml) - oninput=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIChangeEventArgs>(this,
|
||||
IntermediateToken - (86:1,79 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => {}
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
|
||||
IntermediateToken - (130:2,79 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => {}
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (41:1,34 [5] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
HtmlAttribute - (85:2,34 [5] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
IntermediateToken - (42:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - text
|
||||
IntermediateToken - (86:2,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - text
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (41:1,34 [5] x:\dir\subdir\Test\TestComponent.cshtml) - oninput=" - "
|
||||
HtmlAttribute - (85:2,34 [5] x:\dir\subdir\Test\TestComponent.cshtml) - oninput=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => text = __value,
|
||||
IntermediateToken - - CSharp - text
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (104:1,97 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (104:1,97 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (112:2,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (112:2,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (162:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (162:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (126:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (126:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private string text = "hi";\n
|
||||
HtmlContent - (148:2,97 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (148:2,97 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (156:3,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (156:3,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (206:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (206:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (170:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (170:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private string text = "hi";\n
|
||||
|
|
|
|||
|
|
@ -1,18 +1,23 @@
|
|||
Source Location: (86:1,79 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (130:2,79 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|() => {}|
|
||||
Generated Location: (1061:25,79 [8] )
|
||||
Generated Location: (1223:32,79 [8] )
|
||||
|() => {}|
|
||||
|
||||
Source Location: (42:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (86:2,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|text|
|
||||
Generated Location: (1320:34,35 [4] )
|
||||
Generated Location: (1482:41,35 [4] )
|
||||
|text|
|
||||
|
||||
Source Location: (126:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (170:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private string text = "hi";
|
||||
|
|
||||
Generated Location: (1649:45,12 [35] )
|
||||
Generated Location: (1811:52,12 [35] )
|
||||
|
|
||||
private string text = "hi";
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -22,7 +29,7 @@ namespace Test
|
|||
{
|
||||
__o = Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
text
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 5 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private string text = "hi";
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
x:\dir\subdir\Test\TestComponent.cshtml(2,3): Error RZ10008: The attribute 'value' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'value' is used by the '@bind' directive attribute.
|
||||
x:\dir\subdir\Test\TestComponent.cshtml(3,3): Error RZ10008: The attribute 'value' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'value' is used by the '@bind' directive attribute.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,31 +15,33 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [69] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (9:1,2 [52] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [69] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (53:2,2 [52] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - - type=" - "
|
||||
HtmlAttributeValue - (22:1,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (22:1,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
|
||||
HtmlAttributeValue - (66:2,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (66:2,15 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - text
|
||||
HtmlAttribute - - value=" - "
|
||||
HtmlAttributeValue - (35:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (35:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - 17
|
||||
HtmlAttribute - (46:1,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
HtmlAttributeValue - (79:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (79:2,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - 17
|
||||
HtmlAttribute - (90:2,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - value=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
IntermediateToken - (47:1,40 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - text
|
||||
IntermediateToken - (91:2,40 [4] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - text
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (46:1,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
HtmlAttribute - (90:2,39 [5] x:\dir\subdir\Test\TestComponent.cshtml) - onchange=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => text = __value,
|
||||
IntermediateToken - - CSharp - text
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (61:1,54 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (61:1,54 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (69:2,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (69:2,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (119:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (119:5,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (83:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (83:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private string text = "hi";\n
|
||||
HtmlContent - (105:2,54 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (105:2,54 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (113:3,6 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (113:3,6 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (163:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (163:6,1 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private string text = "hi";\n
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
Source Location: (47:1,40 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (91:2,40 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|text|
|
||||
Generated Location: (962:25,40 [4] )
|
||||
Generated Location: (1126:32,40 [4] )
|
||||
|text|
|
||||
|
||||
Source Location: (83:3,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private string text = "hi";
|
||||
|
|
||||
Generated Location: (1291:36,12 [35] )
|
||||
Generated Location: (1455:43,12 [35] )
|
||||
|
|
||||
private string text = "hi";
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
() => {}
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
x:\dir\subdir\Test\TestComponent.cshtml(2,3): Error RZ10008: The attribute 'onclick' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'onclick' is used by the '@onclick' directive attribute.
|
||||
x:\dir\subdir\Test\TestComponent.cshtml(3,3): Error RZ10008: The attribute 'onclick' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'onclick' is used by the '@onclick' directive attribute.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,19 +15,21 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [118] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (5:0,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (9:1,2 [101] x:\dir\subdir\Test\TestComponent.cshtml) - a
|
||||
HtmlContent - (49:1,42 [57] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (49:1,42 [57] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Learn the ten cool tricks your compiler author will hate!
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [118] x:\dir\subdir\Test\TestComponent.cshtml) - div
|
||||
HtmlContent - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (49:1,5 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (53:2,2 [101] x:\dir\subdir\Test\TestComponent.cshtml) - a
|
||||
HtmlContent - (93:2,42 [57] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (93:2,42 [57] x:\dir\subdir\Test\TestComponent.cshtml) - Html - Learn the ten cool tricks your compiler author will hate!
|
||||
HtmlAttribute - - onclick=" - "
|
||||
HtmlAttributeValue - (21:1,14 [6] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (21:1,14 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - test()
|
||||
HtmlAttribute - (39:1,32 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlAttributeValue - (65:2,14 [6] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (65:2,14 [6] x:\dir\subdir\Test\TestComponent.cshtml) - Html - test()
|
||||
HtmlAttribute - (83:2,32 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (39:1,32 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => {}
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (83:2,32 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - () => {}
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (110:1,103 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (110:1,103 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
HtmlContent - (154:2,103 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (154:2,103 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
Source Location: (39:1,32 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (83:2,32 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|() => {}|
|
||||
Generated Location: (1013:25,32 [8] )
|
||||
Generated Location: (1179:32,32 [8] )
|
||||
|() => {}|
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,10 +27,10 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.UIMouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
EventCallback.Factory.Create<UIMouseEventArgs>(this, Increment)
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
EventCallback.Factory.Create<MouseEventArgs>(this, Increment)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
));
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
__o = typeof(MyComponent);
|
||||
|
||||
#line default
|
||||
|
|
@ -42,7 +49,7 @@ __o = typeof(MyComponent);
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private int counter;
|
||||
private void Increment() {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,11 +15,13 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
Component - (0:0,0 [91] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (22:0,22 [66] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (23:0,23 [65] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (24:0,24 [63] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - EventCallback.Factory.Create<UIMouseEventArgs>(this, Increment)
|
||||
HtmlContent - (91:0,91 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (91:0,91 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (102:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (102:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment() {\n counter++;\n }\n
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
Component - (44:1,0 [89] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (66:1,22 [64] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (67:1,23 [63] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (68:1,24 [61] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - EventCallback.Factory.Create<MouseEventArgs>(this, Increment)
|
||||
HtmlContent - (133:1,89 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (133:1,89 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (144:3,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (144:3,7 [87] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment() {\n counter++;\n }\n
|
||||
|
|
|
|||
|
|
@ -1,16 +1,21 @@
|
|||
Source Location: (24:0,24 [63] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|EventCallback.Factory.Create<UIMouseEventArgs>(this, Increment)|
|
||||
Generated Location: (1176:25,24 [63] )
|
||||
|EventCallback.Factory.Create<UIMouseEventArgs>(this, Increment)|
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (102:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (68:1,24 [61] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|EventCallback.Factory.Create<MouseEventArgs>(this, Increment)|
|
||||
Generated Location: (1344:32,24 [61] )
|
||||
|EventCallback.Factory.Create<MouseEventArgs>(this, Increment)|
|
||||
|
||||
Source Location: (144:3,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private int counter;
|
||||
private void Increment() {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1737:45,7 [87] )
|
||||
Generated Location: (1903:52,7 [87] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment() {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.UIMouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Increment
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Increment|
|
||||
Generated Location: (1175:25,23 [9] )
|
||||
Generated Location: (1179:25,23 [9] )
|
||||
|Increment|
|
||||
|
||||
Source Location: (46:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
@ -10,7 +10,7 @@ Source Location: (46:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1682:45,7 [87] )
|
||||
Generated Location: (1686:45,7 [87] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment() {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.UIMouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Increment
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
));
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
__o = typeof(MyComponent);
|
||||
|
||||
#line default
|
||||
|
|
@ -42,10 +49,10 @@ __o = typeof(MyComponent);
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private int counter;
|
||||
private void Increment(UIMouseEventArgs e) {
|
||||
private void Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,11 +15,13 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
Component - (0:0,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (22:0,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (46:2,7 [105] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (46:2,7 [105] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(UIMouseEventArgs e) {\n counter++;\n }\n
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
Component - (44:1,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (66:1,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (79:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (79:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (90:3,7 [103] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (90:3,7 [103] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(MouseEventArgs e) {\n counter++;\n }\n
|
||||
|
|
|
|||
|
|
@ -1,19 +1,24 @@
|
|||
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Increment|
|
||||
Generated Location: (1175:25,23 [9] )
|
||||
Generated Location: (1343:32,23 [9] )
|
||||
|Increment|
|
||||
|
||||
Source Location: (46:2,7 [105] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (90:3,7 [103] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private int counter;
|
||||
private void Increment(UIMouseEventArgs e) {
|
||||
private void Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1682:45,7 [105] )
|
||||
Generated Location: (1850:52,7 [103] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment(UIMouseEventArgs e) {
|
||||
private void Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.UIMouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Increment
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
));
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
__o = typeof(MyComponent);
|
||||
|
||||
#line default
|
||||
|
|
@ -42,10 +49,10 @@ __o = typeof(MyComponent);
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private int counter;
|
||||
private Task Increment(UIMouseEventArgs e) {
|
||||
private Task Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,11 +15,13 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
Component - (0:0,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (22:0,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (46:2,7 [141] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (46:2,7 [141] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private Task Increment(UIMouseEventArgs e) {\n counter++;\n return Task.CompletedTask;\n }\n
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
Component - (44:1,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (66:1,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (79:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (79:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (90:3,7 [139] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (90:3,7 [139] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private Task Increment(MouseEventArgs e) {\n counter++;\n return Task.CompletedTask;\n }\n
|
||||
|
|
|
|||
|
|
@ -1,20 +1,25 @@
|
|||
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Increment|
|
||||
Generated Location: (1175:25,23 [9] )
|
||||
Generated Location: (1343:32,23 [9] )
|
||||
|Increment|
|
||||
|
||||
Source Location: (46:2,7 [141] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (90:3,7 [139] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private int counter;
|
||||
private Task Increment(UIMouseEventArgs e) {
|
||||
private Task Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
||||
Generated Location: (1682:45,7 [141] )
|
||||
Generated Location: (1850:52,7 [139] )
|
||||
|
|
||||
private int counter;
|
||||
private Task Increment(UIMouseEventArgs e) {
|
||||
private Task Increment(MouseEventArgs e) {
|
||||
counter++;
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.UIMouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Increment
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Increment|
|
||||
Generated Location: (1175:25,23 [9] )
|
||||
Generated Location: (1179:25,23 [9] )
|
||||
|Increment|
|
||||
|
||||
Source Location: (46:2,7 [123] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
@ -11,7 +11,7 @@ Source Location: (46:2,7 [123] x:\dir\subdir\Test\TestComponent.cshtml)
|
|||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
||||
Generated Location: (1682:45,7 [123] )
|
||||
Generated Location: (1686:45,7 [123] )
|
||||
|
|
||||
private int counter;
|
||||
private Task Increment() {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.UIMouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
Increment
|
||||
|
||||
#line default
|
||||
|
|
@ -33,7 +40,7 @@ namespace Test
|
|||
}
|
||||
));
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
__o = typeof(MyComponent);
|
||||
|
||||
#line default
|
||||
|
|
@ -42,10 +49,10 @@ __o = typeof(MyComponent);
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 4 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
private int counter;
|
||||
private void Increment(UIChangeEventArgs e) {
|
||||
private void Increment(ChangeEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,11 +15,13 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
Component - (0:0,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (22:0,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (35:0,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (46:2,7 [106] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (46:2,7 [106] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(UIChangeEventArgs e) {\n counter++;\n }\n
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
Component - (44:1,0 [35] x:\dir\subdir\Test\TestComponent.cshtml) - MyComponent
|
||||
ComponentAttribute - (66:1,22 [10] x:\dir\subdir\Test\TestComponent.cshtml) - OnClick - AttributeStructure.DoubleQuotes
|
||||
CSharpExpression - (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - Increment
|
||||
HtmlContent - (79:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (79:1,35 [4] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n\n
|
||||
CSharpCode - (90:3,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (90:3,7 [104] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n private int counter;\n private void Increment(ChangeEventArgs e) {\n counter++;\n }\n
|
||||
|
|
|
|||
|
|
@ -1,19 +1,24 @@
|
|||
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|Increment|
|
||||
Generated Location: (1175:25,23 [9] )
|
||||
Generated Location: (1343:32,23 [9] )
|
||||
|Increment|
|
||||
|
||||
Source Location: (46:2,7 [106] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (90:3,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
private int counter;
|
||||
private void Increment(UIChangeEventArgs e) {
|
||||
private void Increment(ChangeEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
Generated Location: (1682:45,7 [106] )
|
||||
Generated Location: (1850:52,7 [104] )
|
||||
|
|
||||
private int counter;
|
||||
private void Increment(UIChangeEventArgs e) {
|
||||
private void Increment(ChangeEventArgs e) {
|
||||
counter++;
|
||||
}
|
||||
|
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -23,9 +30,9 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,11 +15,13 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (6:0,6 [19] x:\dir\subdir\Test\TestComponent.cshtml) - @onCLICK=" - "
|
||||
HtmlAttributeValue - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - OnClick
|
||||
HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (50:1,6 [19] x:\dir\subdir\Test\TestComponent.cshtml) - @onCLICK=" - "
|
||||
HtmlAttributeValue - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - Html - OnClick
|
||||
HtmlContent - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(MouseEventArgs e) {\n }\n
|
||||
|
|
|
|||
|
|
@ -1,11 +1,16 @@
|
|||
Source Location: (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
|
||||
Generated Location: (900:26,7 [49] )
|
||||
Generated Location: (1064:33,7 [47] )
|
||||
|
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -32,9 +39,9 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
void OnClick(UIEventArgs e) {
|
||||
void OnClick(EventArgs e) {
|
||||
}
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,13 +15,15 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (37:1,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (37:1,7 [44] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIEventArgs e) {\n }\n
|
||||
HtmlContent - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (81:2,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (81:2,7 [42] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(EventArgs e) {\n }\n
|
||||
|
|
|
|||
|
|
@ -1,16 +1,21 @@
|
|||
Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|OnClick|
|
||||
Generated Location: (998:25,17 [7] )
|
||||
Generated Location: (1164:32,17 [7] )
|
||||
|OnClick|
|
||||
|
||||
Source Location: (37:1,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (81:2,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
void OnClick(UIEventArgs e) {
|
||||
void OnClick(EventArgs e) {
|
||||
}
|
||||
|
|
||||
Generated Location: (1199:35,7 [44] )
|
||||
Generated Location: (1365:42,7 [42] )
|
||||
|
|
||||
void OnClick(UIEventArgs e) {
|
||||
void OnClick(EventArgs e) {
|
||||
}
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -32,9 +39,9 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,13 +15,15 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
|
||||
HtmlContent - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(MouseEventArgs e) {\n }\n
|
||||
|
|
|
|||
|
|
@ -1,16 +1,21 @@
|
|||
Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|OnClick|
|
||||
Generated Location: (998:25,17 [7] )
|
||||
Generated Location: (1164:32,17 [7] )
|
||||
|OnClick|
|
||||
|
||||
Source Location: (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
|
||||
Generated Location: (1199:35,7 [49] )
|
||||
Generated Location: (1365:42,7 [47] )
|
||||
|
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
x => { }
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,9 +15,11 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (17:0,17 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (61:1,17 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (17:0,17 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (61:1,17 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
|
||||
IntermediateToken - - CSharp - )
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
Source Location: (17:0,17 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (61:1,17 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|x => { }|
|
||||
Generated Location: (998:25,17 [8] )
|
||||
Generated Location: (1164:32,17 [8] )
|
||||
|x => { }|
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -32,9 +39,9 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
||||
#line default
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,13 +15,15 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(UIMouseEventArgs e) {\n }\n
|
||||
HtmlContent - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick(MouseEventArgs e) {\n }\n
|
||||
|
|
|
|||
|
|
@ -1,16 +1,21 @@
|
|||
Source Location: (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
Generated Location: (320:12,0 [41] )
|
||||
|using Microsoft.AspNetCore.Components.Web|
|
||||
|
||||
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|OnClick|
|
||||
Generated Location: (998:25,17 [7] )
|
||||
Generated Location: (1164:32,17 [7] )
|
||||
|OnClick|
|
||||
|
||||
Source Location: (37:1,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
|
||||
Generated Location: (1199:35,7 [49] )
|
||||
Generated Location: (1365:42,7 [47] )
|
||||
|
|
||||
void OnClick(UIMouseEventArgs e) {
|
||||
void OnClick(MouseEventArgs e) {
|
||||
}
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -20,15 +20,6 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
x => { }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,8 +15,12 @@ Document -
|
|||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [29] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (17:0,17 [8] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (17:0,17 [8] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - x => { }
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlAttribute - (6:0,6 [20] x:\dir\subdir\Test\TestComponent.cshtml) - @onclick=" - "
|
||||
HtmlAttributeValue - (17:0,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (17:0,17 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - x
|
||||
HtmlAttributeValue - (18:0,18 [3] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (19:0,19 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - =>
|
||||
HtmlAttributeValue - (21:0,21 [2] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (22:0,22 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - {
|
||||
HtmlAttributeValue - (23:0,23 [2] x:\dir\subdir\Test\TestComponent.cshtml) -
|
||||
IntermediateToken - (24:0,24 [1] x:\dir\subdir\Test\TestComponent.cshtml) - Html - }
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
Source Location: (17:0,17 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
|x => { }|
|
||||
Generated Location: (998:25,17 [8] )
|
||||
|x => { }|
|
||||
|
||||
|
|
@ -8,6 +8,13 @@ namespace Test
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase
|
||||
{
|
||||
#pragma warning disable 219
|
||||
|
|
@ -20,9 +27,9 @@ namespace Test
|
|||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
__o = Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
OnClick
|
||||
|
||||
#line default
|
||||
|
|
@ -32,7 +39,7 @@ namespace Test
|
|||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
#line 3 "x:\dir\subdir\Test\TestComponent.cshtml"
|
||||
|
||||
void OnClick() {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Document -
|
|||
UsingDirective - (53:3,1 [17] ) - System.Linq
|
||||
UsingDirective - (73:4,1 [28] ) - System.Threading.Tasks
|
||||
UsingDirective - (104:5,1 [37] ) - Microsoft.AspNetCore.Components
|
||||
UsingDirective - (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml) - Microsoft.AspNetCore.Components.Web
|
||||
ClassDeclaration - - public - TestComponent - Microsoft.AspNetCore.Components.ComponentBase -
|
||||
DesignTimeDirective -
|
||||
CSharpCode -
|
||||
|
|
@ -14,13 +15,15 @@ Document -
|
|||
CSharpCode -
|
||||
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||
MethodDeclaration - - protected override - void - BuildRenderTree
|
||||
MarkupElement - (0:0,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
HtmlContent - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (42:0,42 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
MarkupElement - (44:1,0 [28] x:\dir\subdir\Test\TestComponent.cshtml) - input
|
||||
HtmlAttribute - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - onclick=" - "
|
||||
CSharpExpressionAttributeValue - -
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
|
||||
IntermediateToken - (17:0,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
IntermediateToken - (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - OnClick
|
||||
IntermediateToken - - CSharp - )
|
||||
HtmlContent - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (28:0,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (37:1,7 [31] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (37:1,7 [31] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick() {\n }\n
|
||||
HtmlContent - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (72:1,28 [2] x:\dir\subdir\Test\TestComponent.cshtml) - Html - \n
|
||||
CSharpCode - (81:2,7 [31] x:\dir\subdir\Test\TestComponent.cshtml)
|
||||
IntermediateToken - (81:2,7 [31] x:\dir\subdir\Test\TestComponent.cshtml) - CSharp - \n void OnClick() {\n }\n
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue