Fixup tests

\n\nCommit migrated from 5707808e9f
This commit is contained in:
Pranav K 2019-08-12 20:51:22 -07:00
parent 80d6dfea89
commit 2317fc9687
3 changed files with 11 additions and 11 deletions

View File

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

View File

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

View File

@ -12,10 +12,10 @@ namespace __GeneratedComponent
public class AspNetCore_d3c3d6059615673cb46fc4974164d61eabadb890 : Microsoft.AspNetCore.Components.ComponentBase, IDisposable
{
#pragma warning disable 1998
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
{
builder.OpenElement(0, "div");
builder.AddAttribute(1, "class",
__builder.OpenElement(0, "div");
__builder.AddAttribute(1, "class",
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"
this.ToString()
@ -24,8 +24,8 @@ namespace __GeneratedComponent
#line hidden
#nullable disable
);
builder.AddMarkupContent(2, "\r\n Hello world\r\n ");
builder.AddContent(3,
__builder.AddMarkupContent(2, "\r\n Hello world\r\n ");
__builder.AddContent(3,
#nullable restore
#line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"
string.Format("{0}", "Hello")
@ -34,8 +34,8 @@ namespace __GeneratedComponent
#line hidden
#nullable disable
);
builder.AddMarkupContent(4, "\r\n");
builder.CloseElement();
__builder.AddMarkupContent(4, "\r\n");
__builder.CloseElement();
}
#pragma warning restore 1998
#nullable restore