From 41ad03c85b324135f34b07b6c399a1856d105d55 Mon Sep 17 00:00:00 2001
From: David Wengier
Date: Mon, 26 Feb 2024 16:20:42 +1100
Subject: [PATCH 01/11] Don't emit #line default and #line hidden between
consecutive using directives
---
.../CodeGeneration/CodeWriterExtensions.cs | 18 ++++++++++++------
.../CodeGeneration/DefaultDocumentWriter.cs | 14 ++++++++++++--
.../CodeGeneration/DesignTimeNodeWriter.cs | 9 +++++++--
.../CodeGeneration/RuntimeNodeWriter.cs | 10 +++++++---
.../ComponentDesignTimeNodeWriter.cs | 9 +++++++--
.../Components/ComponentRuntimeNodeWriter.cs | 9 +++++++--
...efaultRazorIntermediateNodeLoweringPhase.cs | 14 +++++++++++++-
.../UsingDirectiveIntermediateNode.cs | 2 ++
8 files changed, 67 insertions(+), 18 deletions(-)
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/CodeWriterExtensions.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/CodeWriterExtensions.cs
index 9f2b6610252..4fbd31097e9 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/CodeWriterExtensions.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/CodeWriterExtensions.cs
@@ -531,7 +531,7 @@ public static CSharpCodeWritingScope BuildMethodDeclaration(
return new CSharpCodeWritingScope(writer);
}
- public static IDisposable BuildLinePragma(this CodeWriter writer, SourceSpan? span, CodeRenderingContext context)
+ public static IDisposable BuildLinePragma(this CodeWriter writer, SourceSpan? span, CodeRenderingContext context, bool suppressLineDefaultAndHidden = false)
{
if (string.IsNullOrEmpty(span?.FilePath))
{
@@ -540,7 +540,7 @@ public static IDisposable BuildLinePragma(this CodeWriter writer, SourceSpan? sp
}
var sourceSpan = RemapFilePathIfNecessary(span.Value, context);
- return new LinePragmaWriter(writer, sourceSpan, context, 0, false);
+ return new LinePragmaWriter(writer, sourceSpan, context, 0, useEnhancedLinePragma: false, suppressLineDefaultAndHidden);
}
public static IDisposable BuildEnhancedLinePragma(this CodeWriter writer, SourceSpan? span, CodeRenderingContext context, int characterOffset = 0)
@@ -717,13 +717,15 @@ private class LinePragmaWriter : IDisposable
private readonly int _sourceLineIndex;
private readonly int _startLineIndex;
private readonly string _sourceFilePath;
+ private readonly bool _suppressLineDefaultAndHidden;
public LinePragmaWriter(
CodeWriter writer,
SourceSpan span,
CodeRenderingContext context,
int characterOffset,
- bool useEnhancedLinePragma = false)
+ bool useEnhancedLinePragma = false,
+ bool suppressLineDefaultAndHidden = false)
{
if (writer == null)
{
@@ -732,6 +734,7 @@ public LinePragmaWriter(
_writer = writer;
_context = context;
+ _suppressLineDefaultAndHidden = suppressLineDefaultAndHidden;
_startIndent = _writer.CurrentIndent;
_sourceFilePath = span.FilePath;
_sourceLineIndex = span.LineIndex;
@@ -780,9 +783,12 @@ public void Dispose()
var linePragma = new LinePragma(_sourceLineIndex, lineCount, _sourceFilePath);
_context.AddLinePragma(linePragma);
- _writer
- .WriteLine("#line default")
- .WriteLine("#line hidden");
+ if (!_suppressLineDefaultAndHidden)
+ {
+ _writer
+ .WriteLine("#line default")
+ .WriteLine("#line hidden");
+ }
if (!_context.Options.SuppressNullabilityEnforcement)
{
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DefaultDocumentWriter.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DefaultDocumentWriter.cs
index ce0f8a336c1..b72c8a2cd9d 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DefaultDocumentWriter.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DefaultDocumentWriter.cs
@@ -4,7 +4,6 @@
#nullable disable
using System;
-using System.Collections.Immutable;
using System.Linq;
using System.Security.Cryptography;
using Microsoft.AspNetCore.Razor.Language.Intermediate;
@@ -138,7 +137,18 @@ public override void VisitNamespaceDeclaration(NamespaceDeclarationIntermediateN
{
using (Context.CodeWriter.BuildNamespace(node.Content))
{
- Context.CodeWriter.WriteLine("#line hidden");
+ if (node.Children.OfType().Any())
+ {
+ // Tooling needs at least one line directive before using directives, otherwise Roslyn will
+ // not offer to create a new one. The last using in the group will output a hidden line
+ // directive after itself.
+ Context.CodeWriter.WriteLine("#line default");
+ }
+ else
+ {
+ // If there are no using directives, we output the hidden directive here.
+ Context.CodeWriter.WriteLine("#line hidden");
+ }
VisitDefault(node);
}
}
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DesignTimeNodeWriter.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DesignTimeNodeWriter.cs
index b78856a4022..4cbd6445522 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DesignTimeNodeWriter.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/DesignTimeNodeWriter.cs
@@ -13,9 +13,9 @@ public class DesignTimeNodeWriter : IntermediateNodeWriter
{
public override void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node)
{
- if (node.Source.HasValue)
+ if (node.Source is { FilePath: not null } sourceSpan)
{
- using (context.CodeWriter.BuildLinePragma(node.Source.Value, context))
+ using (context.CodeWriter.BuildLinePragma(sourceSpan, context, suppressLineDefaultAndHidden: !node.AppendLineDefaultAndHidden))
{
context.AddSourceMappingFor(node);
context.CodeWriter.WriteUsing(node.Content);
@@ -24,6 +24,11 @@ public override void WriteUsingDirective(CodeRenderingContext context, UsingDire
else
{
context.CodeWriter.WriteUsing(node.Content);
+
+ if (node.AppendLineDefaultAndHidden)
+ {
+ context.CodeWriter.WriteLine("#line hidden");
+ }
}
}
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/RuntimeNodeWriter.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/RuntimeNodeWriter.cs
index 8504cd0070f..334b7fce8b9 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/RuntimeNodeWriter.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/CodeGeneration/RuntimeNodeWriter.cs
@@ -4,7 +4,6 @@
#nullable disable
using System;
-using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
@@ -32,9 +31,9 @@ public class RuntimeNodeWriter : IntermediateNodeWriter
public override void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node)
{
- if (node.Source.HasValue)
+ if (node.Source is { FilePath: not null } sourceSpan)
{
- using (context.CodeWriter.BuildLinePragma(node.Source.Value, context))
+ using (context.CodeWriter.BuildLinePragma(sourceSpan, context, suppressLineDefaultAndHidden: !node.AppendLineDefaultAndHidden))
{
context.CodeWriter.WriteUsing(node.Content);
}
@@ -42,6 +41,11 @@ public override void WriteUsingDirective(CodeRenderingContext context, UsingDire
else
{
context.CodeWriter.WriteUsing(node.Content);
+
+ if (node.AppendLineDefaultAndHidden)
+ {
+ context.CodeWriter.WriteLine("#line hidden");
+ }
}
}
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentDesignTimeNodeWriter.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentDesignTimeNodeWriter.cs
index ff951d615a6..ca0f254f95d 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentDesignTimeNodeWriter.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentDesignTimeNodeWriter.cs
@@ -72,9 +72,9 @@ public override void WriteUsingDirective(CodeRenderingContext context, UsingDire
throw new ArgumentNullException(nameof(node));
}
- if (node.Source.HasValue)
+ if (node.Source is { FilePath: not null } sourceSpan)
{
- using (context.CodeWriter.BuildLinePragma(node.Source.Value, context))
+ using (context.CodeWriter.BuildLinePragma(sourceSpan, context, suppressLineDefaultAndHidden: !node.AppendLineDefaultAndHidden))
{
context.AddSourceMappingFor(node);
context.CodeWriter.WriteUsing(node.Content);
@@ -83,6 +83,11 @@ public override void WriteUsingDirective(CodeRenderingContext context, UsingDire
else
{
context.CodeWriter.WriteUsing(node.Content);
+
+ if (node.AppendLineDefaultAndHidden)
+ {
+ context.CodeWriter.WriteLine("#line hidden");
+ }
}
}
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentRuntimeNodeWriter.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentRuntimeNodeWriter.cs
index 84efec4faae..3ba64ea668b 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentRuntimeNodeWriter.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentRuntimeNodeWriter.cs
@@ -348,9 +348,9 @@ public override void WriteUsingDirective(CodeRenderingContext context, UsingDire
throw new ArgumentNullException(nameof(node));
}
- if (node.Source.HasValue)
+ if (node.Source is { FilePath: not null } sourceSpan)
{
- using (context.CodeWriter.BuildLinePragma(node.Source.Value, context))
+ using (context.CodeWriter.BuildLinePragma(sourceSpan, context, suppressLineDefaultAndHidden: !node.AppendLineDefaultAndHidden))
{
context.CodeWriter.WriteUsing(node.Content);
}
@@ -358,6 +358,11 @@ public override void WriteUsingDirective(CodeRenderingContext context, UsingDire
else
{
context.CodeWriter.WriteUsing(node.Content, endLine: true);
+
+ if (node.AppendLineDefaultAndHidden)
+ {
+ context.CodeWriter.WriteLine("#line hidden");
+ }
}
}
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/DefaultRazorIntermediateNodeLoweringPhase.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/DefaultRazorIntermediateNodeLoweringPhase.cs
index 8a8ec1f9165..52c106cc749 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/DefaultRazorIntermediateNodeLoweringPhase.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/DefaultRazorIntermediateNodeLoweringPhase.cs
@@ -102,15 +102,27 @@ protected override void ExecuteCore(RazorCodeDocument codeDocument)
// In each lowering piece above, namespaces were tracked. We render them here to ensure every
// lowering action has a chance to add a source location to a namespace. Ultimately, closest wins.
var index = 0;
+
+ UsingDirectiveIntermediateNode lastDirective = null;
foreach (var reference in usingReferences)
{
var @using = new UsingDirectiveIntermediateNode()
{
Content = reference.Namespace,
- Source = reference.Source,
+ Source = reference.Source
};
builder.Insert(index++, @using);
+
+ lastDirective = @using;
+ }
+
+ if (lastDirective is not null)
+ {
+ // Using directives can be emitted without "#line hidden" regions between them, to allow Roslyn to add
+ // new directives as necessary, but we want to append one on the last using, so things go back to
+ // normal for whatever comes next.
+ lastDirective.AppendLineDefaultAndHidden = true;
}
PostProcessImportedDirectives(document);
diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Intermediate/UsingDirectiveIntermediateNode.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Intermediate/UsingDirectiveIntermediateNode.cs
index 9c356699e6a..bb96bcc4eb5 100644
--- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Intermediate/UsingDirectiveIntermediateNode.cs
+++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Intermediate/UsingDirectiveIntermediateNode.cs
@@ -11,6 +11,8 @@ public sealed class UsingDirectiveIntermediateNode : IntermediateNode
{
public override IntermediateNodeCollection Children => IntermediateNodeCollection.ReadOnly;
+ public bool AppendLineDefaultAndHidden { get; set; }
+
public string Content { get; set; }
public override void Accept(IntermediateNodeVisitor visitor)
From 945f5794fa0a3567c9d2242d6c41024694f1530c Mon Sep 17 00:00:00 2001
From: David Wengier
Date: Mon, 26 Feb 2024 16:21:01 +1100
Subject: [PATCH 02/11] Update a single test baseline to illustrate the change
---
.../Usings_Runtime.codegen.cs | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs
index c90796a270a..27c170689a0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs
@@ -4,41 +4,31 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_Runtime), @"default", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml")]
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
- #line hidden
+ #line default
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using System.IO;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using Foo = System.Text.Encoding;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using System;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using static System;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 6 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using static System.Console;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
From 7b9c80646aef740af483d4ccc24f5c73bee4143b Mon Sep 17 00:00:00 2001
From: David Wengier
Date: Mon, 26 Feb 2024 16:21:23 +1100
Subject: [PATCH 03/11] Add a new test to cover out-of-order using directives
---
.../CodeGenerationIntegrationTest.cs | 3 +
.../Usings_DesignTime.codegen.cs | 12 +-
.../Usings_DesignTime.mappings.txt | 18 +--
.../Usings_OutOfOrder.cshtml | 32 +++++
.../Usings_OutOfOrder_DesignTime.codegen.cs | 106 +++++++++++++++
.../Usings_OutOfOrder_DesignTime.codegen.html | 32 +++++
...gs_OutOfOrder_DesignTime.html.mappings.txt | 126 ++++++++++++++++++
.../Usings_OutOfOrder_DesignTime.ir.txt | 64 +++++++++
.../Usings_OutOfOrder_DesignTime.mappings.txt | 83 ++++++++++++
.../Usings_OutOfOrder_Runtime.codegen.cs | 113 ++++++++++++++++
.../Usings_OutOfOrder_Runtime.ir.txt | 55 ++++++++
11 files changed, 624 insertions(+), 20 deletions(-)
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.cs
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.html
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.html.mappings.txt
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.ir.txt
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.mappings.txt
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.codegen.cs
create mode 100644 src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.ir.txt
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/CodeGenerationIntegrationTest.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/CodeGenerationIntegrationTest.cs
index e9e590aecb1..7e13fc1b3b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/CodeGenerationIntegrationTest.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/CodeGenerationIntegrationTest.cs
@@ -84,6 +84,9 @@ public class CodeGenerationIntegrationTest(bool designTime = false)
[IntegrationTestFact]
public void Usings() => RunTest();
+ [IntegrationTestFact]
+ public void Usings_OutOfOrder() => RunTest();
+
[IntegrationTestFact]
public void ImplicitExpressionAtEOF() => RunTest();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs
index 8a4843bf9bd..ed219336199 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs
@@ -2,41 +2,31 @@
#pragma warning disable 1591
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
- #line hidden
+ #line default
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using System.IO;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using Foo = System.Text.Encoding;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using System;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using static System;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 6 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
using static System.Console;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt
index 5bd256408b8..e3cf1952949 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (1:0,1 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|using System.IO|
-Generated Location: (248:7,0 [15] )
+Generated Location: (249:7,0 [15] )
|using System.IO|
Source Location: (19:1,1 [32] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|using Foo = System.Text.Encoding|
-Generated Location: (417:14,0 [32] )
+Generated Location: (389:12,0 [32] )
|using Foo = System.Text.Encoding|
Source Location: (54:2,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|using System|
-Generated Location: (603:21,0 [12] )
+Generated Location: (546:17,0 [12] )
|using System|
Source Location: (71:4,1 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|using static System|
-Generated Location: (769:28,0 [19] )
+Generated Location: (683:22,0 [19] )
|using static System|
Source Location: (93:5,1 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|using static System.Console|
-Generated Location: (942:35,0 [27] )
+Generated Location: (827:27,0 [27] )
|using static System.Console|
Source Location: (123:6,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|using static global::System.Text.Encoding|
-Generated Location: (1123:42,0 [41] )
+Generated Location: (979:32,0 [41] )
|using static global::System.Text.Encoding|
Source Location: (170:8,2 [158] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
@@ -33,7 +33,7 @@ Source Location: (170:8,2 [158] TestFiles/IntegrationTests/CodeGenerationIntegra
using var disposable = (IDisposable)ViewData["disposable"];
using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
|
-Generated Location: (1795:61,2 [158] )
+Generated Location: (1651:51,2 [158] )
|
using var disposable = (IDisposable)ViewData["disposable"];
using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
@@ -41,11 +41,11 @@ Generated Location: (1795:61,2 [158] )
Source Location: (362:13,29 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|typeof(Path).FullName|
-Generated Location: (2134:70,29 [21] )
+Generated Location: (1990:60,29 [21] )
|typeof(Path).FullName|
Source Location: (424:14,35 [20] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml)
|typeof(Foo).FullName|
-Generated Location: (2345:77,35 [20] )
+Generated Location: (2201:67,35 [20] )
|typeof(Foo).FullName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml
new file mode 100644
index 00000000000..dcc058d906c
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml
@@ -0,0 +1,32 @@
+@using System.IO
+
+@functions {
+ // functions 1
+}
+
+@using Foo = System.Text.Encoding
+
+@functions {
+ // functions 2
+}
+
+@using System
+
+@using static System
+@using static System.Console
+
+@functions {
+ // functions 3
+}
+
+@using static global::System.Text.Encoding
+
+@{
+ using var disposable = (IDisposable)ViewData["disposable"];
+ using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
+}
+
+Path's full type name is @typeof(Path).FullName
+Foo's actual full type name is @typeof(Foo).FullName
+
+@using System.Text
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.cs
new file mode 100644
index 00000000000..fd1eb97a265
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.cs
@@ -0,0 +1,106 @@
+//
+#pragma warning disable 1591
+namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
+{
+ #line default
+#nullable restore
+#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using System.IO;
+
+#nullable disable
+#nullable restore
+#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using Foo = System.Text.Encoding;
+
+#nullable disable
+#nullable restore
+#line 13 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using System;
+
+#nullable disable
+#nullable restore
+#line 15 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using static System;
+
+#nullable disable
+#nullable restore
+#line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using static System.Console;
+
+#nullable disable
+#nullable restore
+#line 22 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using static global::System.Text.Encoding;
+
+#nullable disable
+#nullable restore
+#line 32 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using System.Text;
+
+#line default
+#line hidden
+#nullable disable
+ public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_OutOfOrder_DesignTime
+ {
+ #pragma warning disable 219
+ private void __RazorDirectiveTokenHelpers__() {
+ }
+ #pragma warning restore 219
+ #pragma warning disable 0414
+ private static object __o = null;
+ #pragma warning restore 0414
+ #pragma warning disable 1998
+ public async System.Threading.Tasks.Task ExecuteAsync()
+ {
+#nullable restore
+#line 24 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ using var disposable = (IDisposable)ViewData["disposable"];
+ using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
+
+#line default
+#line hidden
+#nullable disable
+#nullable restore
+#line 29 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+ __o = typeof(Path).FullName;
+
+#line default
+#line hidden
+#nullable disable
+#nullable restore
+#line 30 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+ __o = typeof(Foo).FullName;
+
+#line default
+#line hidden
+#nullable disable
+ }
+ #pragma warning restore 1998
+#nullable restore
+#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ // functions 1
+
+#line default
+#line hidden
+#nullable disable
+#nullable restore
+#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ // functions 2
+
+#line default
+#line hidden
+#nullable disable
+#nullable restore
+#line 18 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ // functions 3
+
+#line default
+#line hidden
+#nullable disable
+ }
+}
+#pragma warning restore 1591
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.html b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.html
new file mode 100644
index 00000000000..f3e1ae6940f
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.codegen.html
@@ -0,0 +1,32 @@
+~~~~~~ ~~~~~~~~~
+
+~~~~~~~~~~ ~
+ ~~ ~~~~~~~~~ ~
+~
+
+~~~~~~ ~~~ ~ ~~~~~~~~~~~~~~~~~~~~
+
+~~~~~~~~~~ ~
+ ~~ ~~~~~~~~~ ~
+~
+
+~~~~~~ ~~~~~~
+
+~~~~~~ ~~~~~~ ~~~~~~
+~~~~~~ ~~~~~~ ~~~~~~~~~~~~~~
+
+~~~~~~~~~~ ~
+ ~~ ~~~~~~~~~ ~
+~
+
+~~~~~~ ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+~~
+ ~~~~~ ~~~ ~~~~~~~~~~ ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~~~~~ ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~
+
+Path's full type name is ~~~~~~~~~~~~~~~~~~~~~~
+Foo's actual full type name is ~~~~~~~~~~~~~~~~~~~~~
+
+~~~~~~ ~~~~~~~~~~~
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.html.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.html.mappings.txt
new file mode 100644
index 00000000000..84de0afb761
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.html.mappings.txt
@@ -0,0 +1,126 @@
+Source Location: (16:0,16 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (16:0,16 [4] )
+|
+
+|
+
+Source Location: (30:2,10 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+| |
+Generated Location: (30:2,10 [1] )
+| |
+
+Source Location: (55:4,1 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (55:4,1 [4] )
+|
+
+|
+
+Source Location: (92:6,33 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (92:6,33 [4] )
+|
+
+|
+
+Source Location: (106:8,10 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+| |
+Generated Location: (106:8,10 [1] )
+| |
+
+Source Location: (131:10,1 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (131:10,1 [4] )
+|
+
+|
+
+Source Location: (148:12,13 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (148:12,13 [4] )
+|
+
+|
+
+Source Location: (172:14,20 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+|
+Generated Location: (172:14,20 [2] )
+|
+|
+
+Source Location: (202:15,28 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (202:15,28 [4] )
+|
+
+|
+
+Source Location: (216:17,10 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+| |
+Generated Location: (216:17,10 [1] )
+| |
+
+Source Location: (241:19,1 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (241:19,1 [4] )
+|
+
+|
+
+Source Location: (287:21,42 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (287:21,42 [4] )
+|
+
+|
+
+Source Location: (452:26,1 [32] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+Path's full type name is |
+Generated Location: (452:26,1 [32] )
+|
+
+
Path's full type name is |
+
+Source Location: (506:28,50 [40] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+Foo's actual full type name is |
+Generated Location: (506:28,50 [40] )
+|
+Foo's actual full type name is |
+
+Source Location: (567:29,55 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+
+|
+Generated Location: (567:29,55 [8] )
+|
+
+|
+
+Source Location: (593:31,18 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+|
+Generated Location: (593:31,18 [2] )
+|
+|
+
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.ir.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.ir.txt
new file mode 100644
index 00000000000..05fdea8124c
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.ir.txt
@@ -0,0 +1,64 @@
+Document -
+ NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
+ UsingDirective - (1:0,1 [15] Usings_OutOfOrder.cshtml) - System.IO
+ UsingDirective - (60:6,1 [32] Usings_OutOfOrder.cshtml) - Foo = System.Text.Encoding
+ UsingDirective - (136:12,1 [12] Usings_OutOfOrder.cshtml) - System
+ UsingDirective - (153:14,1 [19] Usings_OutOfOrder.cshtml) - static System
+ UsingDirective - (175:15,1 [27] Usings_OutOfOrder.cshtml) - static System.Console
+ UsingDirective - (246:21,1 [41] Usings_OutOfOrder.cshtml) - static global::System.Text.Encoding
+ UsingDirective - (576:31,1 [17] Usings_OutOfOrder.cshtml) - System.Text
+ ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_OutOfOrder_DesignTime - -
+ DesignTimeDirective -
+ CSharpCode -
+ IntermediateToken - - CSharp - #pragma warning disable 0414
+ CSharpCode -
+ IntermediateToken - - CSharp - private static object __o = null;
+ CSharpCode -
+ IntermediateToken - - CSharp - #pragma warning restore 0414
+ MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
+ HtmlContent - (16:0,16 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (16:0,16 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (55:4,1 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (55:4,1 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (92:6,33 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (92:6,33 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (131:10,1 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (131:10,1 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (148:12,13 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (148:12,13 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (172:14,20 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (172:14,20 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (202:15,28 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (202:15,28 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (241:19,1 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (241:19,1 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (287:21,42 [4] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (287:21,42 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ CSharpCode - (293:23,2 [158] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (293:23,2 [158] Usings_OutOfOrder.cshtml) - CSharp - \n using var disposable = (IDisposable)ViewData["disposable"];\n using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];\n
+ HtmlContent - (454:27,0 [30] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (454:27,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ LazyIntermediateToken - (456:28,0 [2] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (459:28,3 [25] Usings_OutOfOrder.cshtml) - Html - Path's full type name is
+ CSharpExpression - (485:28,29 [21] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (485:28,29 [21] Usings_OutOfOrder.cshtml) - CSharp - typeof(Path).FullName
+ HtmlContent - (506:28,50 [40] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (506:28,50 [4] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (510:28,54 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ LazyIntermediateToken - (512:29,0 [2] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (515:29,3 [31] Usings_OutOfOrder.cshtml) - Html - Foo's actual full type name is
+ CSharpExpression - (547:29,35 [20] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (547:29,35 [20] Usings_OutOfOrder.cshtml) - CSharp - typeof(Foo).FullName
+ HtmlContent - (567:29,55 [8] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (567:29,55 [4] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (571:29,59 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ HtmlContent - (593:31,18 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (593:31,18 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ CSharpCode - (32:2,12 [22] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (32:2,12 [22] Usings_OutOfOrder.cshtml) - CSharp - \n // functions 1\n
+ CSharpCode - (108:8,12 [22] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (108:8,12 [22] Usings_OutOfOrder.cshtml) - CSharp - \n // functions 2\n
+ CSharpCode - (218:17,12 [22] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (218:17,12 [22] Usings_OutOfOrder.cshtml) - CSharp - \n // functions 3\n
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.mappings.txt
new file mode 100644
index 00000000000..194a297b302
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_DesignTime.mappings.txt
@@ -0,0 +1,83 @@
+Source Location: (1:0,1 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using System.IO|
+Generated Location: (260:7,0 [15] )
+|using System.IO|
+
+Source Location: (60:6,1 [32] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using Foo = System.Text.Encoding|
+Generated Location: (411:12,0 [32] )
+|using Foo = System.Text.Encoding|
+
+Source Location: (136:12,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using System|
+Generated Location: (580:17,0 [12] )
+|using System|
+
+Source Location: (153:14,1 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using static System|
+Generated Location: (729:22,0 [19] )
+|using static System|
+
+Source Location: (175:15,1 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using static System.Console|
+Generated Location: (885:27,0 [27] )
+|using static System.Console|
+
+Source Location: (246:21,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using static global::System.Text.Encoding|
+Generated Location: (1049:32,0 [41] )
+|using static global::System.Text.Encoding|
+
+Source Location: (576:31,1 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|using System.Text|
+Generated Location: (1227:37,0 [17] )
+|using System.Text|
+
+Source Location: (293:23,2 [158] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+ using var disposable = (IDisposable)ViewData["disposable"];
+ using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
+|
+Generated Location: (1898:56,2 [158] )
+|
+ using var disposable = (IDisposable)ViewData["disposable"];
+ using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
+|
+
+Source Location: (485:28,29 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|typeof(Path).FullName|
+Generated Location: (2248:65,29 [21] )
+|typeof(Path).FullName|
+
+Source Location: (547:29,35 [20] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|typeof(Foo).FullName|
+Generated Location: (2470:72,35 [20] )
+|typeof(Foo).FullName|
+
+Source Location: (32:2,12 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+ // functions 1
+|
+Generated Location: (2716:81,12 [22] )
+|
+ // functions 1
+|
+
+Source Location: (108:8,12 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+ // functions 2
+|
+Generated Location: (2912:89,12 [22] )
+|
+ // functions 2
+|
+
+Source Location: (218:17,12 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml)
+|
+ // functions 3
+|
+Generated Location: (3109:97,12 [22] )
+|
+ // functions 3
+|
+
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.codegen.cs
new file mode 100644
index 00000000000..7ad742efda6
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.codegen.cs
@@ -0,0 +1,113 @@
+#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "a3144fef15024ccbbb19682bfb110b149c637f2ae64b4499962195e7612ba274"
+//
+#pragma warning disable 1591
+[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_OutOfOrder_Runtime), @"default", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml")]
+namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
+{
+ #line default
+#nullable restore
+#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using System.IO;
+
+#nullable disable
+#nullable restore
+#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using Foo = System.Text.Encoding;
+
+#nullable disable
+#nullable restore
+#line 13 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using System;
+
+#nullable disable
+#nullable restore
+#line 15 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using static System;
+
+#nullable disable
+#nullable restore
+#line 16 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using static System.Console;
+
+#nullable disable
+#nullable restore
+#line 22 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using static global::System.Text.Encoding;
+
+#nullable disable
+#nullable restore
+#line 32 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+using System.Text;
+
+#line default
+#line hidden
+#nullable disable
+ [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"a3144fef15024ccbbb19682bfb110b149c637f2ae64b4499962195e7612ba274", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml")]
+ public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_OutOfOrder_Runtime
+ {
+ #pragma warning disable 1998
+ public async System.Threading.Tasks.Task ExecuteAsync()
+ {
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+ WriteLiteral("\r\n");
+#nullable restore
+#line 24 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ using var disposable = (IDisposable)ViewData["disposable"];
+ using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];
+
+#line default
+#line hidden
+#nullable disable
+ WriteLiteral("\r\nPath\'s full type name is ");
+#nullable restore
+#line (29,30)-(29,51) 6 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+Write(typeof(Path).FullName);
+
+#line default
+#line hidden
+#nullable disable
+ WriteLiteral("
\r\nFoo\'s actual full type name is ");
+#nullable restore
+#line (30,36)-(30,56) 6 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+Write(typeof(Foo).FullName);
+
+#line default
+#line hidden
+#nullable disable
+ WriteLiteral("
\r\n\r\n");
+ }
+ #pragma warning restore 1998
+#nullable restore
+#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ // functions 1
+
+#line default
+#line hidden
+#nullable disable
+#nullable restore
+#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ // functions 2
+
+#line default
+#line hidden
+#nullable disable
+#nullable restore
+#line 18 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder.cshtml"
+
+ // functions 3
+
+#line default
+#line hidden
+#nullable disable
+ }
+}
+#pragma warning restore 1591
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.ir.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.ir.txt
new file mode 100644
index 00000000000..c715100b447
--- /dev/null
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_OutOfOrder_Runtime.ir.txt
@@ -0,0 +1,55 @@
+Document -
+ RazorCompiledItemAttribute -
+ NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
+ UsingDirective - (1:0,1 [17] Usings_OutOfOrder.cshtml) - System.IO
+ UsingDirective - (60:6,1 [34] Usings_OutOfOrder.cshtml) - Foo = System.Text.Encoding
+ UsingDirective - (136:12,1 [14] Usings_OutOfOrder.cshtml) - System
+ UsingDirective - (153:14,1 [21] Usings_OutOfOrder.cshtml) - static System
+ UsingDirective - (175:15,1 [29] Usings_OutOfOrder.cshtml) - static System.Console
+ UsingDirective - (246:21,1 [43] Usings_OutOfOrder.cshtml) - static global::System.Text.Encoding
+ UsingDirective - (576:31,1 [19] Usings_OutOfOrder.cshtml) - System.Text
+ RazorSourceChecksumAttribute -
+ ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_OutOfOrder_Runtime - -
+ MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
+ HtmlContent - (18:1,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (18:1,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (57:5,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (57:5,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (94:7,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (94:7,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (133:11,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (133:11,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (150:13,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (150:13,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (204:16,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (204:16,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (243:20,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (243:20,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ HtmlContent - (289:22,0 [2] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (289:22,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ CSharpCode - (293:23,2 [158] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (293:23,2 [158] Usings_OutOfOrder.cshtml) - CSharp - \n using var disposable = (IDisposable)ViewData["disposable"];\n using System.IDisposable otherDisposable = (IDisposable)ViewData["otherdisposable"];\n
+ HtmlContent - (454:27,0 [30] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (454:27,0 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ LazyIntermediateToken - (456:28,0 [2] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (459:28,3 [25] Usings_OutOfOrder.cshtml) - Html - Path's full type name is
+ CSharpExpression - (485:28,29 [21] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (485:28,29 [21] Usings_OutOfOrder.cshtml) - CSharp - typeof(Path).FullName
+ HtmlContent - (506:28,50 [40] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (506:28,50 [4] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (510:28,54 [2] Usings_OutOfOrder.cshtml) - Html - \n
+ LazyIntermediateToken - (512:29,0 [2] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (515:29,3 [31] Usings_OutOfOrder.cshtml) - Html - Foo's actual full type name is
+ CSharpExpression - (547:29,35 [20] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (547:29,35 [20] Usings_OutOfOrder.cshtml) - CSharp - typeof(Foo).FullName
+ HtmlContent - (567:29,55 [8] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (567:29,55 [4] Usings_OutOfOrder.cshtml) - Html -
+ LazyIntermediateToken - (571:29,59 [4] Usings_OutOfOrder.cshtml) - Html - \n\n
+ CSharpCode - (32:2,12 [22] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (32:2,12 [22] Usings_OutOfOrder.cshtml) - CSharp - \n // functions 1\n
+ CSharpCode - (108:8,12 [22] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (108:8,12 [22] Usings_OutOfOrder.cshtml) - CSharp - \n // functions 2\n
+ CSharpCode - (218:17,12 [22] Usings_OutOfOrder.cshtml)
+ LazyIntermediateToken - (218:17,12 [22] Usings_OutOfOrder.cshtml) - CSharp - \n // functions 3\n
From 70ebea330f6d0b6b851a22d0315f83fb785a079e Mon Sep 17 00:00:00 2001
From: David Wengier
Date: Mon, 26 Feb 2024 16:21:41 +1100
Subject: [PATCH 04/11] Add tooling test to validate end user behaviour
---
.../CodeActionEndToEndTest.NetFx.cs | 56 ++++++++++++++++++-
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/CodeActions/CodeActionEndToEndTest.NetFx.cs b/src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/CodeActions/CodeActionEndToEndTest.NetFx.cs
index 8b267cb979e..5339d4e179c 100644
--- a/src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/CodeActions/CodeActionEndToEndTest.NetFx.cs
+++ b/src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/CodeActions/CodeActionEndToEndTest.NetFx.cs
@@ -357,6 +357,54 @@ public async Task Handle_ConvertToInterpolatedString_CodeBlock()
await ValidateCodeActionAsync(input, expected, RazorPredefinedCodeRefactoringProviderNames.ConvertToInterpolatedString);
}
+
+ [Fact]
+ public async Task Handle_AddUsing()
+ {
+ var input = """
+ @functions
+ {
+ private [||]StringBuilder _x = new StringBuilder();
+ }
+ """;
+
+ var expected = """
+ @using System.Text
+ @functions
+ {
+ private StringBuilder _x = new StringBuilder();
+ }
+ """;
+
+ await ValidateCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.AddImport);
+ }
+
+ [Fact]
+ public async Task Handle_AddUsing_WithExisting()
+ {
+ var input = """
+ @using System
+ @using System.Collections.Generic
+
+ @functions
+ {
+ private [||]StringBuilder _x = new StringBuilder();
+ }
+ """;
+
+ var expected = """
+ @using System
+ @using System.Collections.Generic
+ @using System.Text
+
+ @functions
+ {
+ private StringBuilder _x = new StringBuilder();
+ }
+ """;
+
+ await ValidateCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.AddImport);
+ }
#endregion
#region RazorCodeAction Tests
@@ -624,7 +672,7 @@ public async Task Handle_GenerateMethod_SetEventParameter_DoesNothing(string par
var uri = new Uri(razorFilePath);
var languageServer = await CreateLanguageServerAsync(codeDocument, razorFilePath);
var documentContext = CreateDocumentContext(uri, codeDocument);
- var requestContext = new RazorRequestContext(documentContext, null!, "lsp/method", uri:null);
+ var requestContext = new RazorRequestContext(documentContext, null!, "lsp/method", uri: null);
var result = await GetCodeActionsAsync(
uri,
@@ -1093,7 +1141,11 @@ private async Task[]> GetCodeActionsAsync(
var endpoint = new CodeActionEndpoint(
DocumentMappingService.AssumeNotNull(),
razorCodeActionProviders: razorProviders ?? [],
- csharpCodeActionProviders: [new DefaultCSharpCodeActionProvider(TestLanguageServerFeatureOptions.Instance)],
+ csharpCodeActionProviders:
+ [
+ new DefaultCSharpCodeActionProvider(TestLanguageServerFeatureOptions.Instance),
+ new TypeAccessibilityCodeActionProvider()
+ ],
htmlCodeActionProviders: [],
clientConnection,
LanguageServerFeatureOptions.AssumeNotNull(),
From eeec319a9e966df80b827baa5d044870459c78c1 Mon Sep 17 00:00:00 2001
From: David Wengier
Date: Mon, 26 Feb 2024 16:40:11 +1100
Subject: [PATCH 05/11] Update unit tests that cover the changed functionality
---
.../DesignTimeNodeWriterTest.cs | 36 +++++++++++++++++++
.../CodeGeneration/RuntimeNodeWriterTest.cs | 32 +++++++++++++++++
.../ComponentDeclarationIntegrationTest.cs | 3 +-
3 files changed, 70 insertions(+), 1 deletion(-)
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/DesignTimeNodeWriterTest.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/DesignTimeNodeWriterTest.cs
index 483694c1df4..1c4c8b9b485 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/DesignTimeNodeWriterTest.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/DesignTimeNodeWriterTest.cs
@@ -67,6 +67,42 @@ public void WriteUsingDirective_WithSource_WritesContentWithLinePragmaAndMapping
#line 1 ""test.cshtml""
using System;
+#nullable disable
+",
+ csharp,
+ ignoreLineEndingDifferences: true);
+ }
+
+ [Fact]
+ public void WriteUsingDirective_WithSourceAndLineDirectives_WritesContentWithLinePragmaAndMapping()
+ {
+ // Arrange
+ var writer = new DesignTimeNodeWriter();
+ using var context = TestCodeRenderingContext.CreateDesignTime();
+
+ var originalSpan = new SourceSpan("test.cshtml", 0, 0, 0, 6);
+ var generatedSpan = new SourceSpan(null, 38 + Environment.NewLine.Length * 3, 3, 0, 6);
+ var expectedSourceMapping = new SourceMapping(originalSpan, generatedSpan);
+ var node = new UsingDirectiveIntermediateNode()
+ {
+ Content = "System",
+ Source = originalSpan,
+ AppendLineDefaultAndHidden = true
+ };
+
+ // Act
+ writer.WriteUsingDirective(context, node);
+
+ // Assert
+ var mapping = Assert.Single(((DefaultCodeRenderingContext)context).SourceMappings);
+ Assert.Equal(expectedSourceMapping, mapping);
+ var csharp = context.CodeWriter.GenerateCode();
+ Assert.Equal(
+@"
+#nullable restore
+#line 1 ""test.cshtml""
+using System;
+
#line default
#line hidden
#nullable disable
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/RuntimeNodeWriterTest.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/RuntimeNodeWriterTest.cs
index 988d196f19a..baf565e4e61 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/RuntimeNodeWriterTest.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/RuntimeNodeWriterTest.cs
@@ -65,6 +65,38 @@ public void WriteUsingDirective_WithSource_WritesContentWithLinePragma()
#line 1 ""test.cshtml""
using System;
+#nullable disable
+",
+ csharp,
+ ignoreLineEndingDifferences: true);
+ }
+
+ [Fact]
+ public void WriteUsingDirective_WithSourceAndLineDirectives_WritesContentWithLinePragmaAndMapping()
+ {
+ // Arrange
+ var codeWriter = new CodeWriter();
+ var writer = new RuntimeNodeWriter();
+ using var context = TestCodeRenderingContext.CreateRuntime();
+
+ var node = new UsingDirectiveIntermediateNode()
+ {
+ Content = "System",
+ Source = new SourceSpan("test.cshtml", 0, 0, 0, 3),
+ AppendLineDefaultAndHidden = true,
+ };
+
+ // Act
+ writer.WriteUsingDirective(context, node);
+
+ // Assert
+ var csharp = context.CodeWriter.GenerateCode();
+ Assert.Equal(
+@"
+#nullable restore
+#line 1 ""test.cshtml""
+using System;
+
#line default
#line hidden
#nullable disable
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentDeclarationIntegrationTest.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentDeclarationIntegrationTest.cs
index 0bd599dd870..3f001a8dd0d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentDeclarationIntegrationTest.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentDeclarationIntegrationTest.cs
@@ -117,12 +117,13 @@ public void DeclarationConfiguration_FunctionsBlockHasLineMappings_MappingsApply
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
From b939379c7bb181618d3146892304e424a8b84678 Mon Sep 17 00:00:00 2001
From: David Wengier
Date: Mon, 26 Feb 2024 17:44:09 +1100
Subject: [PATCH 06/11] Update test baselines
---
.../Basic_DesignTime.codegen.cs | 3 ++-
.../Basic_DesignTime.mappings.txt | 12 ++++-----
...IncompleteDirectives_DesignTime.codegen.cs | 3 ++-
...completeDirectives_DesignTime.mappings.txt | 10 +++----
.../InheritsViewModel_DesignTime.codegen.cs | 3 ++-
.../InheritsViewModel_DesignTime.mappings.txt | 4 +--
...eritsWithViewImports_DesignTime.codegen.cs | 3 ++-
...itsWithViewImports_DesignTime.mappings.txt | 2 +-
.../InjectWithModel_DesignTime.codegen.cs | 3 ++-
.../InjectWithModel_DesignTime.mappings.txt | 10 +++----
.../InjectWithSemicolon_DesignTime.codegen.cs | 3 ++-
...njectWithSemicolon_DesignTime.mappings.txt | 18 ++++++-------
.../Inject_DesignTime.codegen.cs | 3 ++-
.../Inject_DesignTime.mappings.txt | 4 +--
...nvalidNamespaceAtEOF_DesignTime.codegen.cs | 3 ++-
...lExpressionTagHelper_DesignTime.codegen.cs | 3 ++-
...xpressionTagHelper_DesignTime.mappings.txt | 8 +++---
.../Model_DesignTime.codegen.cs | 3 ++-
.../Model_DesignTime.mappings.txt | 2 +-
.../MultipleModels_DesignTime.codegen.cs | 3 ++-
.../MultipleModels_DesignTime.mappings.txt | 4 +--
.../Sections_DesignTime.codegen.cs | 3 ++-
.../Sections_DesignTime.mappings.txt | 10 +++----
...ewComponentTagHelper_DesignTime.codegen.cs | 3 ++-
...ComponentTagHelper_DesignTime.mappings.txt | 6 ++---
.../_ViewImports_DesignTime.codegen.cs | 3 ++-
.../_ViewImports_DesignTime.mappings.txt | 4 +--
.../Basic_DesignTime.codegen.cs | 3 ++-
.../Basic_DesignTime.mappings.txt | 12 ++++-----
.../Basic_Runtime.codegen.cs | 3 ++-
...IncompleteDirectives_DesignTime.codegen.cs | 3 ++-
...completeDirectives_DesignTime.mappings.txt | 14 +++++-----
.../IncompleteDirectives_Runtime.codegen.cs | 3 ++-
.../InheritsViewModel_DesignTime.codegen.cs | 3 ++-
.../InheritsViewModel_DesignTime.mappings.txt | 4 +--
.../InheritsViewModel_Runtime.codegen.cs | 3 ++-
...eritsWithViewImports_DesignTime.codegen.cs | 3 ++-
...itsWithViewImports_DesignTime.mappings.txt | 2 +-
...InheritsWithViewImports_Runtime.codegen.cs | 3 ++-
.../InjectWithModel_DesignTime.codegen.cs | 3 ++-
.../InjectWithModel_DesignTime.mappings.txt | 10 +++----
.../InjectWithModel_Runtime.codegen.cs | 3 ++-
.../InjectWithSemicolon_DesignTime.codegen.cs | 3 ++-
...njectWithSemicolon_DesignTime.mappings.txt | 18 ++++++-------
.../InjectWithSemicolon_Runtime.codegen.cs | 3 ++-
.../Inject_DesignTime.codegen.cs | 3 ++-
.../Inject_DesignTime.mappings.txt | 4 +--
.../Inject_Runtime.codegen.cs | 3 ++-
...nvalidNamespaceAtEOF_DesignTime.codegen.cs | 3 ++-
.../InvalidNamespaceAtEOF_Runtime.codegen.cs | 3 ++-
...lformedPageDirective_DesignTime.codegen.cs | 3 ++-
.../MalformedPageDirective_Runtime.codegen.cs | 3 ++-
...lExpressionTagHelper_DesignTime.codegen.cs | 3 ++-
...xpressionTagHelper_DesignTime.mappings.txt | 8 +++---
...odelExpressionTagHelper_Runtime.codegen.cs | 3 ++-
.../Model_DesignTime.codegen.cs | 3 ++-
.../Model_DesignTime.mappings.txt | 2 +-
.../Model_Runtime.codegen.cs | 3 ++-
.../MultipleModels_DesignTime.codegen.cs | 3 ++-
.../MultipleModels_DesignTime.mappings.txt | 4 +--
.../PageWithNamespace_DesignTime.codegen.cs | 3 ++-
.../PageWithNamespace_DesignTime.mappings.txt | 2 +-
.../PageWithNamespace_Runtime.codegen.cs | 3 ++-
...LeadingPageDirective_DesignTime.codegen.cs | 3 ++-
...hNoLeadingPageDirective_Runtime.codegen.cs | 3 ++-
...gesWithRouteTemplate_DesignTime.codegen.cs | 2 +-
...sWithRouteTemplate_DesignTime.mappings.txt | 10 +++----
...rPagesWithRouteTemplate_Runtime.codegen.cs | 2 +-
...zorPagesWithoutModel_DesignTime.codegen.cs | 2 +-
...rPagesWithoutModel_DesignTime.mappings.txt | 8 +++---
.../RazorPagesWithoutModel_Runtime.codegen.cs | 2 +-
.../RazorPages_DesignTime.codegen.cs | 2 +-
.../RazorPages_DesignTime.mappings.txt | 10 +++----
.../RazorPages_Runtime.codegen.cs | 2 +-
.../Sections_DesignTime.codegen.cs | 3 ++-
.../Sections_DesignTime.mappings.txt | 10 +++----
.../Sections_Runtime.codegen.cs | 3 ++-
.../UsingDirectives_DesignTime.codegen.cs | 8 +-----
.../UsingDirectives_DesignTime.mappings.txt | 8 +++---
.../UsingDirectives_Runtime.codegen.cs | 8 +-----
...ewComponentTagHelper_DesignTime.codegen.cs | 3 ++-
...ComponentTagHelper_DesignTime.mappings.txt | 6 ++---
.../ViewComponentTagHelper_Runtime.codegen.cs | 3 ++-
.../ViewWithNamespace_DesignTime.codegen.cs | 3 ++-
.../ViewWithNamespace_DesignTime.mappings.txt | 2 +-
.../ViewWithNamespace_Runtime.codegen.cs | 3 ++-
.../_ViewImports_DesignTime.codegen.cs | 3 ++-
.../_ViewImports_DesignTime.mappings.txt | 4 +--
.../_ViewImports_Runtime.codegen.cs | 3 ++-
.../BasicTest.codegen.cs | 3 ++-
...ctiveWithViewImports_DesignTime.codegen.cs | 2 +-
...iveWithViewImports_DesignTime.mappings.txt | 2 +-
...irectiveWithViewImports_Runtime.codegen.cs | 2 +-
.../BasicComponent_DesignTime.codegen.cs | 3 ++-
.../BasicComponent_DesignTime.mappings.txt | 8 +++---
.../BasicComponent_Runtime.codegen.cs | 3 ++-
.../Basic_DesignTime.codegen.cs | 3 ++-
.../Basic_DesignTime.mappings.txt | 12 ++++-----
.../Basic_Runtime.codegen.cs | 3 ++-
...IncompleteDirectives_DesignTime.codegen.cs | 3 ++-
...completeDirectives_DesignTime.mappings.txt | 14 +++++-----
.../IncompleteDirectives_Runtime.codegen.cs | 3 ++-
.../InheritsViewModel_DesignTime.codegen.cs | 3 ++-
.../InheritsViewModel_DesignTime.mappings.txt | 4 +--
.../InheritsViewModel_Runtime.codegen.cs | 3 ++-
...eritsWithViewImports_DesignTime.codegen.cs | 3 ++-
...itsWithViewImports_DesignTime.mappings.txt | 2 +-
...InheritsWithViewImports_Runtime.codegen.cs | 3 ++-
.../InjectWithModel_DesignTime.codegen.cs | 3 ++-
.../InjectWithModel_DesignTime.mappings.txt | 10 +++----
.../InjectWithModel_Runtime.codegen.cs | 3 ++-
.../InjectWithSemicolon_DesignTime.codegen.cs | 3 ++-
...njectWithSemicolon_DesignTime.mappings.txt | 18 ++++++-------
.../InjectWithSemicolon_Runtime.codegen.cs | 3 ++-
.../Inject_DesignTime.codegen.cs | 3 ++-
.../Inject_DesignTime.mappings.txt | 4 +--
.../Inject_Runtime.codegen.cs | 3 ++-
...nvalidNamespaceAtEOF_DesignTime.codegen.cs | 3 ++-
.../InvalidNamespaceAtEOF_Runtime.codegen.cs | 3 ++-
...lformedPageDirective_DesignTime.codegen.cs | 3 ++-
.../MalformedPageDirective_Runtime.codegen.cs | 3 ++-
...lExpressionTagHelper_DesignTime.codegen.cs | 3 ++-
...xpressionTagHelper_DesignTime.mappings.txt | 8 +++---
...odelExpressionTagHelper_Runtime.codegen.cs | 3 ++-
.../Model_DesignTime.codegen.cs | 3 ++-
.../Model_DesignTime.mappings.txt | 2 +-
.../Model_Runtime.codegen.cs | 3 ++-
.../MultipleModels_DesignTime.codegen.cs | 3 ++-
.../MultipleModels_DesignTime.mappings.txt | 4 +--
.../PageWithNamespace_DesignTime.codegen.cs | 3 ++-
.../PageWithNamespace_DesignTime.mappings.txt | 2 +-
.../PageWithNamespace_Runtime.codegen.cs | 3 ++-
...LeadingPageDirective_DesignTime.codegen.cs | 3 ++-
...hNoLeadingPageDirective_Runtime.codegen.cs | 3 ++-
.../RazorPage_WithCssScope.codegen.cs | 3 ++-
...gesWithRouteTemplate_DesignTime.codegen.cs | 2 +-
...sWithRouteTemplate_DesignTime.mappings.txt | 10 +++----
...rPagesWithRouteTemplate_Runtime.codegen.cs | 2 +-
...zorPagesWithoutModel_DesignTime.codegen.cs | 2 +-
...rPagesWithoutModel_DesignTime.mappings.txt | 8 +++---
.../RazorPagesWithoutModel_Runtime.codegen.cs | 2 +-
.../RazorPages_DesignTime.codegen.cs | 2 +-
.../RazorPages_DesignTime.mappings.txt | 10 +++----
.../RazorPages_Runtime.codegen.cs | 2 +-
.../RazorView_Layout_WithCssScope.codegen.cs | 3 ++-
.../RazorView_WithCssScope.codegen.cs | 3 ++-
...bleModel_NullableContextEnabled.codegen.cs | 2 +-
...eBaseType_NullableContexEnabled.codegen.cs | 2 +-
...bleModel_NullableContextEnabled.codegen.cs | 2 +-
...Model_NullableContextNotEnabled.codegen.cs | 2 +-
.../Sections_DesignTime.codegen.cs | 3 ++-
.../Sections_DesignTime.mappings.txt | 10 +++----
.../Sections_Runtime.codegen.cs | 3 ++-
.../UsingDirectives_DesignTime.codegen.cs | 8 +-----
.../UsingDirectives_DesignTime.mappings.txt | 8 +++---
.../UsingDirectives_Runtime.codegen.cs | 8 +-----
...tTagHelperOptionalParam_Runtime.codegen.cs | 3 ++-
...ewComponentTagHelper_DesignTime.codegen.cs | 3 ++-
...ComponentTagHelper_DesignTime.mappings.txt | 6 ++---
.../ViewComponentTagHelper_Runtime.codegen.cs | 3 ++-
.../ViewWithNamespace_DesignTime.codegen.cs | 3 ++-
.../ViewWithNamespace_DesignTime.mappings.txt | 2 +-
.../ViewWithNamespace_Runtime.codegen.cs | 3 ++-
.../_ViewImports_DesignTime.codegen.cs | 3 ++-
.../_ViewImports_DesignTime.mappings.txt | 4 +--
.../_ViewImports_Runtime.codegen.cs | 3 ++-
.../ComponentCodeGenerationTestBase.cs | 4 +--
.../CSharp8_DesignTime.codegen.cs | 2 +-
.../CSharp8_DesignTime.mappings.txt | 24 ++++++++---------
.../CSharp8_Runtime.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 20 +++++++-------
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 24 ++++++++---------
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 20 +++++++-------
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../ComponentImports/_Imports.codegen.cs | 4 +--
.../ComponentImports/_Imports.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 22 ++++++++--------
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 18 ++++++-------
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 22 ++++++++--------
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 18 ++++++-------
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 16 ++++++------
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 18 ++++++-------
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 16 ++++++------
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 18 ++++++-------
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 4 +--
.../Counter.codegen.cs | 4 +--
.../Counter.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 26 +++++++++----------
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../Element_WithKey/TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../Element_WithRef/TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 20 +++++++-------
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 20 +++++++-------
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../FormName_Nested/TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 18 ++++++-------
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../Regression_597/TestComponent.codegen.cs | 3 ++-
.../Regression_597/TestComponent.mappings.txt | 4 +--
.../Regression_609/TestComponent.codegen.cs | 3 ++-
.../Regression_609/TestComponent.mappings.txt | 6 ++---
.../Regression_772/TestComponent.codegen.cs | 3 ++-
.../Regression_772/TestComponent.mappings.txt | 4 +--
.../Regression_773/TestComponent.codegen.cs | 3 ++-
.../Regression_773/TestComponent.mappings.txt | 4 +--
.../Regression_784/TestComponent.codegen.cs | 2 +-
.../Regression_784/TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 12 ++++-----
.../ScriptTag_Razor7/TestComponent.codegen.cs | 3 ++-
.../ScriptTag_Razor8/TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../ComponentImports/_Imports.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 18 ++++++-------
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 18 ++++++-------
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../UseTestComponent.codegen.cs | 2 +-
.../UseTestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 10 +++----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 4 +--
.../Counter.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.mappings.txt | 12 ++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../Element_WithKey/TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../Element_WithRef/TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../FormName_Nested/TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 4 +--
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 6 ++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../Regression_597/TestComponent.codegen.cs | 3 ++-
.../Regression_597/TestComponent.mappings.txt | 2 +-
.../Regression_609/TestComponent.codegen.cs | 3 ++-
.../Regression_609/TestComponent.mappings.txt | 2 +-
.../Regression_772/TestComponent.codegen.cs | 3 ++-
.../Regression_773/TestComponent.codegen.cs | 3 ++-
.../Regression_784/TestComponent.codegen.cs | 2 +-
.../Regression_784/TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 14 +++++-----
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 8 +++---
.../ScriptTag_Razor7/TestComponent.codegen.cs | 3 ++-
.../ScriptTag_Razor8/TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 4 +--
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 2 +-
.../TestComponent.mappings.txt | 8 +++---
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../TestComponent.codegen.cs | 3 ++-
.../TestComponent.mappings.txt | 2 +-
.../LineMapping/Shared_Component1_razor.g.cs | 3 ++-
.../Shared_Component1_razor.g.cs | 3 ++-
.../7/Shared_Component1_razor.g.cs | 3 ++-
.../7/Views_Home_Index_cshtml.g.cs | 3 ++-
.../8/Shared_Component1_razor.g.cs | 3 ++-
.../8/Views_Home_Index_cshtml.g.cs | 3 ++-
.../Views_Home_Index_cshtml.g.cs | 3 ++-
.../Views_Home_Index_cshtml.g.cs | 5 ++--
1503 files changed, 3312 insertions(+), 2731 deletions(-)
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
index 06d241819cb..bf03d23b082 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
index f80161366ce..fb7d598c50e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
@@ -1,34 +1,34 @@
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|this.ToString()|
-Generated Location: (1023:26,13 [15] )
+Generated Location: (1042:27,13 [15] )
|this.ToString()|
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|string.Format("{0}", "Hello")|
-Generated Location: (1159:31,6 [29] )
+Generated Location: (1178:32,6 [29] )
|string.Format("{0}", "Hello")|
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
var cls = "foo";
|
-Generated Location: (1305:36,2 [25] )
+Generated Location: (1324:37,2 [25] )
|
var cls = "foo";
|
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|if(cls != null) { |
-Generated Location: (1453:42,11 [18] )
+Generated Location: (1472:43,11 [18] )
|if(cls != null) { |
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|cls|
-Generated Location: (1615:47,30 [3] )
+Generated Location: (1634:48,30 [3] )
|cls|
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
| }|
-Generated Location: (1766:52,33 [2] )
+Generated Location: (1785:53,33 [2] )
| }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
index fd82ffdede3..4d76d31392d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
index 81d610d340e..47098f01ee5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (102:3,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (784:19,0 [0] )
+Generated Location: (803:20,0 [0] )
||
Source Location: (123:6,8 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (982:27,0 [0] )
+Generated Location: (1001:28,0 [0] )
||
Source Location: (133:7,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|MyService|
-Generated Location: (1180:35,0 [17] )
+Generated Location: (1199:36,0 [17] )
|MyService|
Source Location: (93:2,6 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1680:50,6 [0] )
+Generated Location: (1699:51,6 [0] )
||
Source Location: (113:5,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1816:55,7 [0] )
+Generated Location: (1835:56,7 [0] )
||
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
index 3a56ef87801..311560b9007 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
index 6d6516acda2..ec4f12b6f0d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (10:0,10 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|MyBasePageForViews|
-Generated Location: (748:19,0 [26] )
+Generated Location: (767:20,0 [26] )
|MyBasePageForViews|
Source Location: (45:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|MyModel|
-Generated Location: (992:27,0 [7] )
+Generated Location: (1011:28,0 [7] )
|MyModel|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
index c7cef99373e..6964e05736c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyBasePageForViews
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
index e2d1f920f55..1ec125e03d6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml)
|MyModel|
-Generated Location: (760:19,0 [7] )
+Generated Location: (779:20,0 [7] )
|MyModel|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
index 1100fa772af..4ba494d4e81 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
index d03c5c88807..b56706ef322 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyModel|
-Generated Location: (774:19,0 [7] )
+Generated Location: (793:20,0 [7] )
|MyModel|
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyApp|
-Generated Location: (997:27,0 [5] )
+Generated Location: (1016:28,0 [5] )
|MyApp|
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyPropertyName|
-Generated Location: (1240:35,22 [14] )
+Generated Location: (1259:36,22 [14] )
|MyPropertyName|
Source Location: (54:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyService|
-Generated Location: (1454:43,0 [17] )
+Generated Location: (1473:44,0 [17] )
|MyService|
Source Location: (72:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|Html|
-Generated Location: (1709:51,22 [4] )
+Generated Location: (1728:52,22 [4] )
|Html|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
index 6974340dc6e..62f90202c7f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
index a3fc94f1a67..7f2bf8e4d97 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
@@ -1,45 +1,45 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyModel|
-Generated Location: (782:19,0 [7] )
+Generated Location: (801:20,0 [7] )
|MyModel|
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyApp|
-Generated Location: (1009:27,0 [5] )
+Generated Location: (1028:28,0 [5] )
|MyApp|
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyPropertyName|
-Generated Location: (1256:35,22 [14] )
+Generated Location: (1275:36,22 [14] )
|MyPropertyName|
Source Location: (58:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyService|
-Generated Location: (1474:43,0 [17] )
+Generated Location: (1493:44,0 [17] )
|MyService|
Source Location: (76:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|Html|
-Generated Location: (1733:51,22 [4] )
+Generated Location: (1752:52,22 [4] )
|Html|
Source Location: (93:3,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyApp|
-Generated Location: (1941:59,0 [5] )
+Generated Location: (1960:60,0 [5] )
|MyApp|
Source Location: (99:3,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyPropertyName2|
-Generated Location: (2188:67,22 [15] )
+Generated Location: (2207:68,22 [15] )
|MyPropertyName2|
Source Location: (129:4,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyService|
-Generated Location: (2407:75,0 [17] )
+Generated Location: (2426:76,0 [17] )
|MyService|
Source Location: (147:4,26 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|Html2|
-Generated Location: (2666:83,22 [5] )
+Generated Location: (2685:84,22 [5] )
|Html2|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
index f010d25d6a5..9f520da2108 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
index 6a1ed58f311..210a1b240af 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (8:0,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|MyApp|
-Generated Location: (756:19,0 [5] )
+Generated Location: (775:20,0 [5] )
|MyApp|
Source Location: (14:0,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|MyPropertyName|
-Generated Location: (990:27,22 [14] )
+Generated Location: (1009:28,22 [14] )
|MyPropertyName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
index 0cd9a3544e8..ee9e140b180 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
index 1f8e86a5cf6..49e1f8ce93b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#line hidden
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
index ef10e58b10d..95f2a2ce38a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|DateTime|
-Generated Location: (1267:25,0 [8] )
+Generated Location: (1286:26,0 [8] )
|DateTime|
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|"InputTestTagHelper, AppCode"|
-Generated Location: (1537:33,37 [29] )
+Generated Location: (1556:34,37 [29] )
|"InputTestTagHelper, AppCode"|
Source Location: (83:4,17 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|Date|
-Generated Location: (2209:49,102 [4] )
+Generated Location: (2228:50,102 [4] )
|Date|
Source Location: (111:5,18 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|Model|
-Generated Location: (2601:56,94 [5] )
+Generated Location: (2620:57,94 [5] )
|Model|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
index ab69f1c2b1b..2b389f6fece 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
index 2728b371925..0bc5d9b2d13 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (7:0,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml)
|System.Collections.IEnumerable|
-Generated Location: (777:19,0 [30] )
+Generated Location: (796:20,0 [30] )
|System.Collections.IEnumerable|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
index cfc09847aaa..b8807b5fcf0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
index 9ccbf62c04a..8e578271adf 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (7:0,7 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|ThisShouldBeGenerated|
-Generated Location: (786:19,0 [21] )
+Generated Location: (805:20,0 [21] )
|ThisShouldBeGenerated|
Source Location: (37:1,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|System.Collections.IEnumerable|
-Generated Location: (1022:27,0 [30] )
+Generated Location: (1041:28,0 [30] )
|System.Collections.IEnumerable|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
index 9b5b1bff1e4..5204f739ec8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Sections : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#line hidden
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
index b4b806b39ef..bc74f3cb0f4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
@@ -1,29 +1,29 @@
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|DateTime|
-Generated Location: (1235:25,0 [8] )
+Generated Location: (1254:26,0 [8] )
|DateTime|
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|"InputTestTagHelper, AppCode"|
-Generated Location: (1489:33,37 [29] )
+Generated Location: (1508:34,37 [29] )
|"InputTestTagHelper, AppCode"|
Source Location: (152:10,9 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|Section1|
-Generated Location: (1727:41,22 [8] )
+Generated Location: (1746:42,22 [8] )
|Section1|
Source Location: (68:4,2 [46] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|
Layout = "_SectionTestLayout.cshtml";
|
-Generated Location: (2186:56,2 [46] )
+Generated Location: (2205:57,2 [46] )
|
Layout = "_SectionTestLayout.cshtml";
|
Source Location: (222:12,21 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|Date|
-Generated Location: (2611:64,102 [4] )
+Generated Location: (2630:65,102 [4] )
|Date|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
index a04712ebb1c..4c6110819de 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#line hidden
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
index 47662c2c8a2..f0b35de24b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
@@ -1,19 +1,19 @@
Source Location: (14:0,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|"*, AppCode"|
-Generated Location: (1473:26,37 [12] )
+Generated Location: (1492:27,37 [12] )
|"*, AppCode"|
Source Location: (30:1,2 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
var foo = "Hello";
|
-Generated Location: (1943:41,2 [26] )
+Generated Location: (1962:42,2 [26] )
|
var foo = "Hello";
|
Source Location: (83:5,22 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|foo|
-Generated Location: (2394:49,22 [3] )
+Generated Location: (2413:50,22 [3] )
|foo|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
index d6cca7e73eb..d2ba5d42359 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
index bba8151b595..4c993834244 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (8:0,8 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|IHtmlHelper|
-Generated Location: (768:19,0 [19] )
+Generated Location: (787:20,0 [19] )
|IHtmlHelper|
Source Location: (28:0,28 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|Helper|
-Generated Location: (1022:27,22 [6] )
+Generated Location: (1041:28,22 [6] )
|Helper|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
index 06d241819cb..bf03d23b082 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
index f80161366ce..fb7d598c50e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
@@ -1,34 +1,34 @@
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|this.ToString()|
-Generated Location: (1023:26,13 [15] )
+Generated Location: (1042:27,13 [15] )
|this.ToString()|
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|string.Format("{0}", "Hello")|
-Generated Location: (1159:31,6 [29] )
+Generated Location: (1178:32,6 [29] )
|string.Format("{0}", "Hello")|
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
var cls = "foo";
|
-Generated Location: (1305:36,2 [25] )
+Generated Location: (1324:37,2 [25] )
|
var cls = "foo";
|
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|if(cls != null) { |
-Generated Location: (1453:42,11 [18] )
+Generated Location: (1472:43,11 [18] )
|if(cls != null) { |
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|cls|
-Generated Location: (1615:47,30 [3] )
+Generated Location: (1634:48,30 [3] )
|cls|
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
| }|
-Generated Location: (1766:52,33 [2] )
+Generated Location: (1785:53,33 [2] )
| }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs
index 666b4178b21..922102ff416 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"3b732a30f94dc763cbd74d150cca70825dbddec2bddfba4e4d82547d5ced9a82", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
index 9f1e3c3cae4..e4a3ca3749f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
index 00f9947ec41..ee142f2a9c3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
@@ -1,35 +1,35 @@
Source Location: (128:7,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (775:19,0 [0] )
+Generated Location: (794:20,0 [0] )
||
Source Location: (149:10,8 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (974:27,0 [0] )
+Generated Location: (993:28,0 [0] )
||
Source Location: (159:11,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|MyService|
-Generated Location: (1173:35,0 [17] )
+Generated Location: (1192:36,0 [17] )
|MyService|
Source Location: (203:14,11 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1412:43,0 [0] )
+Generated Location: (1431:44,0 [0] )
||
Source Location: (119:6,6 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1872:58,6 [0] )
+Generated Location: (1891:59,6 [0] )
||
Source Location: (139:9,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (2009:63,7 [0] )
+Generated Location: (2028:64,7 [0] )
||
Source Location: (190:13,10 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (2149:68,10 [0] )
+Generated Location: (2168:69,10 [0] )
||
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs
index 21634332b10..3cbca3489af 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives), null)]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"7afd23f4d24de7b2bec1fb06d0a708e2d98adee36c510f65d3424dfda5445dca", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
index 3a56ef87801..311560b9007 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
index 6d6516acda2..ec4f12b6f0d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (10:0,10 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|MyBasePageForViews|
-Generated Location: (748:19,0 [26] )
+Generated Location: (767:20,0 [26] )
|MyBasePageForViews|
Source Location: (45:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|MyModel|
-Generated Location: (992:27,0 [7] )
+Generated Location: (1011:28,0 [7] )
|MyModel|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs
index 4a309ad7934..5784cab39cd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"1ca5ae8e569aefa6575a68e8d8b2d375ed79deec6565fb893b72b89423f55abd", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel : MyBasePageForViews
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
index 4b519ecde50..f34cefd6c8c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyPageModel
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
index aa41b5c91dd..38f0e5ddc2d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (14:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml)
|MyModel|
-Generated Location: (753:19,0 [7] )
+Generated Location: (772:20,0 [7] )
|MyModel|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs
index 9d183f47539..7fecf4103dc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports), null)]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"a652fac42d6a27ace9b45de079bd1bd21d47f29255b96899785aaa55a4a8e354", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"0fd3e40bc660f76f39c803bba3ce5cbaf8ca19f7a8c1563212571e769673e06a", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports : MyPageModel
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
index 1100fa772af..4ba494d4e81 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
index d03c5c88807..b56706ef322 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyModel|
-Generated Location: (774:19,0 [7] )
+Generated Location: (793:20,0 [7] )
|MyModel|
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyApp|
-Generated Location: (997:27,0 [5] )
+Generated Location: (1016:28,0 [5] )
|MyApp|
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyPropertyName|
-Generated Location: (1240:35,22 [14] )
+Generated Location: (1259:36,22 [14] )
|MyPropertyName|
Source Location: (54:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyService|
-Generated Location: (1454:43,0 [17] )
+Generated Location: (1473:44,0 [17] )
|MyService|
Source Location: (72:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|Html|
-Generated Location: (1709:51,22 [4] )
+Generated Location: (1728:52,22 [4] )
|Html|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs
index 460a950d431..a48d7fce894 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"319d5fa6f848e64d19bf7eab2f5e3339cdfc75b02a9bc6f2773eed1a40f5e9d0", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
index 6974340dc6e..62f90202c7f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
index a3fc94f1a67..7f2bf8e4d97 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
@@ -1,45 +1,45 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyModel|
-Generated Location: (782:19,0 [7] )
+Generated Location: (801:20,0 [7] )
|MyModel|
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyApp|
-Generated Location: (1009:27,0 [5] )
+Generated Location: (1028:28,0 [5] )
|MyApp|
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyPropertyName|
-Generated Location: (1256:35,22 [14] )
+Generated Location: (1275:36,22 [14] )
|MyPropertyName|
Source Location: (58:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyService|
-Generated Location: (1474:43,0 [17] )
+Generated Location: (1493:44,0 [17] )
|MyService|
Source Location: (76:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|Html|
-Generated Location: (1733:51,22 [4] )
+Generated Location: (1752:52,22 [4] )
|Html|
Source Location: (93:3,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyApp|
-Generated Location: (1941:59,0 [5] )
+Generated Location: (1960:60,0 [5] )
|MyApp|
Source Location: (99:3,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyPropertyName2|
-Generated Location: (2188:67,22 [15] )
+Generated Location: (2207:68,22 [15] )
|MyPropertyName2|
Source Location: (129:4,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyService|
-Generated Location: (2407:75,0 [17] )
+Generated Location: (2426:76,0 [17] )
|MyService|
Source Location: (147:4,26 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|Html2|
-Generated Location: (2666:83,22 [5] )
+Generated Location: (2685:84,22 [5] )
|Html2|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs
index 1ea0c57df72..6902e21cebf 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"771acb56660727ab6e4ca50e95bde0cf2a72af8de3e9ec1cd4b72969645cb9af", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
index f010d25d6a5..9f520da2108 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
index 6a1ed58f311..210a1b240af 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (8:0,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|MyApp|
-Generated Location: (756:19,0 [5] )
+Generated Location: (775:20,0 [5] )
|MyApp|
Source Location: (14:0,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|MyPropertyName|
-Generated Location: (990:27,22 [14] )
+Generated Location: (1009:28,22 [14] )
|MyPropertyName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs
index a070f316cb9..68c9778fb69 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"f0ec78e6ab6def57bd9067e564edaa84059a8ecb9a3c1766a148a7df3096b7b0", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
index 0cd9a3544e8..ee9e140b180 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs
index 68064a3e8eb..008eefe59c4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"3b8355e6c17c9dc5d6062d64a789a8b5a81db5adec1e9913ff7a7c1565682765", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs
index 4772d70b2f0..deae9bd3128 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs
index 86ef07e9a9e..6883460d6f4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective), null)]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"189450bf29773af1b743c49fb8b24230b292c19db0334d587f0e094856e5218f", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
index 1f8e86a5cf6..49e1f8ce93b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#line hidden
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
index ef10e58b10d..95f2a2ce38a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|DateTime|
-Generated Location: (1267:25,0 [8] )
+Generated Location: (1286:26,0 [8] )
|DateTime|
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|"InputTestTagHelper, AppCode"|
-Generated Location: (1537:33,37 [29] )
+Generated Location: (1556:34,37 [29] )
|"InputTestTagHelper, AppCode"|
Source Location: (83:4,17 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|Date|
-Generated Location: (2209:49,102 [4] )
+Generated Location: (2228:50,102 [4] )
|Date|
Source Location: (111:5,18 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|Model|
-Generated Location: (2601:56,94 [5] )
+Generated Location: (2620:57,94 [5] )
|Model|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs
index b0f0ae7b78a..a326e5e38ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"b96e944bd86a2acecd5a176708eedb3cdc8eef05122fd51aa5c4fe58d4069af7", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
index ab69f1c2b1b..2b389f6fece 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
index 2728b371925..0bc5d9b2d13 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (7:0,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml)
|System.Collections.IEnumerable|
-Generated Location: (777:19,0 [30] )
+Generated Location: (796:20,0 [30] )
|System.Collections.IEnumerable|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs
index adf99750857..a4765283751 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"36b79708f36f3606c2eb7c7eaf383853df55ab030280d5deb8f762fac54fd1c0", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
index cfc09847aaa..b8807b5fcf0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
index 9ccbf62c04a..8e578271adf 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (7:0,7 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|ThisShouldBeGenerated|
-Generated Location: (786:19,0 [21] )
+Generated Location: (805:20,0 [21] )
|ThisShouldBeGenerated|
Source Location: (37:1,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|System.Collections.IEnumerable|
-Generated Location: (1022:27,0 [30] )
+Generated Location: (1041:28,0 [30] )
|System.Collections.IEnumerable|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs
index da7a6088083..88ba20e62c3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test.Namespace
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace Test.Namespace
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_PageWithNamespace : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt
index 8e406971505..c520b33ce69 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (18:1,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml)
|Test.Namespace|
-Generated Location: (817:19,44 [14] )
+Generated Location: (836:20,44 [14] )
|Test.Namespace|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs
index 18f68e03bf4..2a74606cf7c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml", typeof(Test.Namespace.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_PageWithNamespace), null)]
namespace Test.Namespace
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace Test.Namespace
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"92c481f9b1b9a31021ed6835c8d889f2ac9590a6abd9eaadbab6c046b2638d62", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_PageWithNamespace : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs
index d88e9d905fa..841f292a079 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPageWithNoLeadingPageDirective : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs
index b2146e339fb..625f6cbad84 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPageWithNoLeadingPageDirective), null)]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"5eaf8fb8900db86500f29c357a6119d29d8639ae7b054b4cc5e00bbdf4882c2d", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPageWithNoLeadingPageDirective : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs
index 2897c037526..c16992c3556 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt
index 84dd2b42186..b523eda2e7a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (36:3,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|using Microsoft.AspNetCore.Mvc.RazorPages|
-Generated Location: (492:14,0 [41] )
+Generated Location: (493:14,0 [41] )
|using Microsoft.AspNetCore.Mvc.RazorPages|
Source Location: (6:0,6 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|"/About"|
-Generated Location: (1135:26,37 [8] )
+Generated Location: (1136:26,37 [8] )
|"/About"|
Source Location: (25:2,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|NewModel|
-Generated Location: (1348:34,0 [8] )
+Generated Location: (1349:34,0 [8] )
|NewModel|
Source Location: (213:12,18 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|Model.Name|
-Generated Location: (1859:49,18 [10] )
+Generated Location: (1860:49,18 [10] )
|Model.Name|
Source Location: (93:5,12 [97] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
@@ -25,7 +25,7 @@ Source Location: (93:5,12 [97] TestFiles/IntegrationTests/CodeGenerationIntegrat
public string Name { get; set; }
}
|
-Generated Location: (2067:56,12 [97] )
+Generated Location: (2068:56,12 [97] )
|
public class NewModel : PageModel
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs
index 2cd108d9b03..d89895dd0b3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithRouteTemplate), @"/About")]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs
index b6194b5c5af..b236de4152e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt
index 35ad4da92d7..335b81c005f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (38:3,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|using Microsoft.AspNetCore.Mvc.RazorPages|
-Generated Location: (487:14,0 [41] )
+Generated Location: (488:14,0 [41] )
|using Microsoft.AspNetCore.Mvc.RazorPages|
Source Location: (23:2,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|"*, AppCode"|
-Generated Location: (1470:31,37 [12] )
+Generated Location: (1471:31,37 [12] )
|"*, AppCode"|
Source Location: (566:24,47 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|Name|
-Generated Location: (2133:48,47 [4] )
+Generated Location: (2134:48,47 [4] )
|Name|
Source Location: (95:5,12 [283] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
@@ -28,7 +28,7 @@ Source Location: (95:5,12 [283] TestFiles/IntegrationTests/CodeGenerationIntegra
public string Name { get; set; }
}
|
-Generated Location: (2918:63,12 [283] )
+Generated Location: (2919:63,12 [283] )
|
public IActionResult OnPost(Customer customer)
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs
index fb8fc18c4b0..1b52c73ed01 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel), null)]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs
index 3d5a806ff83..ecf01460f40 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt
index 41053ddb3b2..17d0902bee1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (55:4,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|using Microsoft.AspNetCore.Mvc.RazorPages|
-Generated Location: (475:14,0 [41] )
+Generated Location: (476:14,0 [41] )
|using Microsoft.AspNetCore.Mvc.RazorPages|
Source Location: (16:2,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|NewModel|
-Generated Location: (1378:30,0 [8] )
+Generated Location: (1379:30,0 [8] )
|NewModel|
Source Location: (40:3,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|"*, AppCode"|
-Generated Location: (1653:39,37 [12] )
+Generated Location: (1654:39,37 [12] )
|"*, AppCode"|
Source Location: (661:28,47 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|Model.Name|
-Generated Location: (2304:56,47 [10] )
+Generated Location: (2305:56,47 [10] )
|Model.Name|
Source Location: (112:6,12 [360] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
@@ -36,7 +36,7 @@ Source Location: (112:6,12 [360] TestFiles/IntegrationTests/CodeGenerationIntegr
public string Name { get; set; }
}
|
-Generated Location: (3083:71,12 [360] )
+Generated Location: (3084:71,12 [360] )
|
public class NewModel : PageModel
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs
index 227cd808f91..fc7a763e892 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages), null)]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
index 9b5b1bff1e4..5204f739ec8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Sections : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#line hidden
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
index b4b806b39ef..bc74f3cb0f4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
@@ -1,29 +1,29 @@
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|DateTime|
-Generated Location: (1235:25,0 [8] )
+Generated Location: (1254:26,0 [8] )
|DateTime|
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|"InputTestTagHelper, AppCode"|
-Generated Location: (1489:33,37 [29] )
+Generated Location: (1508:34,37 [29] )
|"InputTestTagHelper, AppCode"|
Source Location: (152:10,9 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|Section1|
-Generated Location: (1727:41,22 [8] )
+Generated Location: (1746:42,22 [8] )
|Section1|
Source Location: (68:4,2 [46] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|
Layout = "_SectionTestLayout.cshtml";
|
-Generated Location: (2186:56,2 [46] )
+Generated Location: (2205:57,2 [46] )
|
Layout = "_SectionTestLayout.cshtml";
|
Source Location: (222:12,21 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|Date|
-Generated Location: (2611:64,102 [4] )
+Generated Location: (2630:65,102 [4] )
|Date|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs
index c7466cb0348..7b7eca6c857 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Sections))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"1ed96a957fe000fd0c80cc511def19ab692563eb64f3349a4c87c524e2ecbd60", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Sections : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs
index 55822ae3585..675257e9dbd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System.Collections.Generic;
using System.Linq;
@@ -13,18 +13,12 @@ namespace AspNetCore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.ComponentModel;
-#line default
-#line hidden
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.Collections;
-#line default
-#line hidden
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System;
-#line default
-#line hidden
#line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt
index 0280e0ebbcb..c7fa35053c4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System.ComponentModel|
-Generated Location: (461:13,0 [27] )
+Generated Location: (462:13,0 [27] )
|using System.ComponentModel|
Source Location: (31:1,1 [24] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System.Collections|
-Generated Location: (613:18,0 [24] )
+Generated Location: (585:16,0 [24] )
|using System.Collections|
Source Location: (58:2,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System|
-Generated Location: (762:23,0 [12] )
+Generated Location: (705:19,0 [12] )
|using System|
Source Location: (73:3,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System|
-Generated Location: (899:28,0 [12] )
+Generated Location: (813:22,0 [12] )
|using System|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs
index e6adcbfa75c..4e7622ebd16 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_UsingDirectives))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@@ -15,18 +15,12 @@ namespace AspNetCore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.ComponentModel;
-#line default
-#line hidden
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.Collections;
-#line default
-#line hidden
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System;
-#line default
-#line hidden
#line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
index a04712ebb1c..4c6110819de 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#line hidden
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
index 47662c2c8a2..f0b35de24b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
@@ -1,19 +1,19 @@
Source Location: (14:0,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|"*, AppCode"|
-Generated Location: (1473:26,37 [12] )
+Generated Location: (1492:27,37 [12] )
|"*, AppCode"|
Source Location: (30:1,2 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
var foo = "Hello";
|
-Generated Location: (1943:41,2 [26] )
+Generated Location: (1962:42,2 [26] )
|
var foo = "Hello";
|
Source Location: (83:5,22 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|foo|
-Generated Location: (2394:49,22 [3] )
+Generated Location: (2413:50,22 [3] )
|foo|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs
index e6535938905..a25a2ee9ab3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"9ef17a17b6e1fedefe92b2dd4e87273d3ae73d9b1f8b2ad44ce57c5611f991d3", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs
index 64fd5cd165d..581debfed94 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test.Namespace
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace Test.Namespace
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewWithNamespace : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt
index 171346a86af..bb48aa6ceb0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (11:0,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml)
|Test.Namespace|
-Generated Location: (826:19,44 [14] )
+Generated Location: (845:20,44 [14] )
|Test.Namespace|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs
index d965921c731..69e98c0c60f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml", typeof(Test.Namespace.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewWithNamespace))]
namespace Test.Namespace
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace Test.Namespace
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"0f6ba484a31913081c643e369f111f82106eb1ca92fd309c17581be004098c27", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewWithNamespace : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
index d6cca7e73eb..d2ba5d42359 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using System;
using System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
index bba8151b595..4c993834244 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (8:0,8 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|IHtmlHelper|
-Generated Location: (768:19,0 [19] )
+Generated Location: (787:20,0 [19] )
|IHtmlHelper|
Source Location: (28:0,28 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|Helper|
-Generated Location: (1022:27,22 [6] )
+Generated Location: (1041:28,22 [6] )
|Helper|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs
index 6022c563652..8f0a45958c7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"d62f98eaaf5b78af8d93afeee3b564ac056a55d715d72361969351a6dd2ca3b2", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.codegen.cs
index ed1f60545db..804ac3c37f0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.codegen.cs
@@ -5,7 +5,7 @@
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.cshtml", typeof(AspNetCore.TestFiles_IntegrationTests_InstrumentationPassIntegrationTest_BasicTest))]
namespace AspNetCore
{
- #line hidden
+ #line default
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,6 +13,7 @@ namespace AspNetCore
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"0b74a41c8d96c43904d510d22f53726a6462f225ce6c59ed2ef8e0c4c0c0e757", @"/TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.cshtml")]
public class TestFiles_IntegrationTests_InstrumentationPassIntegrationTest_BasicTest : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.codegen.cs
index 34cfb078777..72ea10cfae3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.mappings.txt
index a0d67e2cf2f..d4c610e7d5d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (11:0,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml)
|[Serializable]|
-Generated Location: (902:28,11 [14] )
+Generated Location: (903:28,11 [14] )
|[Serializable]|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_Runtime.codegen.cs
index f009118984b..224af58406f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeDirectiveWithViewImports), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeDirectiveWithViewImports.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.codegen.cs
index 42613e5c87d..b606282e560 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace __GeneratedComponent
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class AspNetCore_3708c9fcd2e1ecb6cbaba92bcc60927f830690f42092c4aa1a7275c2f37020fd : global::Microsoft.AspNetCore.Components.ComponentBase, IDisposable
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.mappings.txt
index 8f592fc8285..913e3b9e576 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_DesignTime.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (12:0,12 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|IDisposable|
-Generated Location: (729:17,0 [11] )
+Generated Location: (748:18,0 [11] )
|IDisposable|
Source Location: (38:1,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|this.ToString()|
-Generated Location: (1329:35,13 [15] )
+Generated Location: (1348:36,13 [15] )
|this.ToString()|
Source Location: (79:3,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|string.Format("{0}", "Hello")|
-Generated Location: (1526:43,6 [29] )
+Generated Location: (1545:44,6 [29] )
|string.Format("{0}", "Hello")|
Source Location: (132:6,12 [37] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|
void IDisposable.Dispose(){ }
|
-Generated Location: (1778:52,12 [37] )
+Generated Location: (1797:53,12 [37] )
|
void IDisposable.Dispose(){ }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_Runtime.codegen.cs
index 269fe2c84f9..2d3c2771795 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent_Runtime.codegen.cs
@@ -3,12 +3,13 @@
#pragma warning disable 1591
namespace __GeneratedComponent
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class AspNetCore_3708c9fcd2e1ecb6cbaba92bcc60927f830690f42092c4aa1a7275c2f37020fd : global::Microsoft.AspNetCore.Components.ComponentBase, IDisposable
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
index e0310b2a3a0..d47bc5a9b87 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
index fbc33f8d555..6c52286f164 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_DesignTime.mappings.txt
@@ -1,34 +1,34 @@
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|this.ToString()|
-Generated Location: (1399:31,13 [15] )
+Generated Location: (1418:32,13 [15] )
|this.ToString()|
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|string.Format("{0}", "Hello")|
-Generated Location: (1573:38,6 [29] )
+Generated Location: (1592:39,6 [29] )
|string.Format("{0}", "Hello")|
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
var cls = "foo";
|
-Generated Location: (1757:45,2 [25] )
+Generated Location: (1776:46,2 [25] )
|
var cls = "foo";
|
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|if(cls != null) { |
-Generated Location: (1943:53,11 [18] )
+Generated Location: (1962:54,11 [18] )
|if(cls != null) { |
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|cls|
-Generated Location: (2143:60,30 [3] )
+Generated Location: (2162:61,30 [3] )
|cls|
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
| }|
-Generated Location: (2332:67,33 [2] )
+Generated Location: (2351:68,33 [2] )
| }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs
index 41e2a12df87..a999d3e3c1c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"3b732a30f94dc763cbd74d150cca70825dbddec2bddfba4e4d82547d5ced9a82", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
index 895a673babf..0635af37ce1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
index 0ebd182dc83..bed41ca11a3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_DesignTime.mappings.txt
@@ -1,35 +1,35 @@
Source Location: (128:7,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1166:24,0 [0] )
+Generated Location: (1185:25,0 [0] )
||
Source Location: (149:10,8 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1403:34,0 [0] )
+Generated Location: (1422:35,0 [0] )
||
Source Location: (159:11,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|MyService|
-Generated Location: (1640:44,0 [17] )
+Generated Location: (1659:45,0 [17] )
|MyService|
Source Location: (203:14,11 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (1918:54,0 [0] )
+Generated Location: (1937:55,0 [0] )
||
Source Location: (119:6,6 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (2416:71,6 [0] )
+Generated Location: (2435:72,6 [0] )
||
Source Location: (139:9,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (2591:78,7 [0] )
+Generated Location: (2610:79,7 [0] )
||
Source Location: (190:13,10 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
-Generated Location: (2769:85,10 [0] )
+Generated Location: (2788:86,10 [0] )
||
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs
index 5b216a5f105..6d980953949 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"7afd23f4d24de7b2bec1fb06d0a708e2d98adee36c510f65d3424dfda5445dca", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
index 133bebb546a..07d7af0d995 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
index f6f750bfd9f..37f2d348b02 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (10:0,10 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|MyBasePageForViews|
-Generated Location: (1136:24,0 [26] )
+Generated Location: (1155:25,0 [26] )
|MyBasePageForViews|
Source Location: (45:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|MyModel|
-Generated Location: (1419:34,0 [7] )
+Generated Location: (1438:35,0 [7] )
|MyModel|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs
index f6a9e0af42c..0ba7a5c81ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"1ca5ae8e569aefa6575a68e8d8b2d375ed79deec6565fb893b72b89423f55abd", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
index 9de5fa6dac3..661bfc152f2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
index 33b9c187da0..9a9e309fec6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (14:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml)
|MyModel|
-Generated Location: (1147:24,0 [7] )
+Generated Location: (1166:25,0 [7] )
|MyModel|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs
index 1ddf3dcfa5b..493735a449a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"a652fac42d6a27ace9b45de079bd1bd21d47f29255b96899785aaa55a4a8e354", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"0fd3e40bc660f76f39c803bba3ce5cbaf8ca19f7a8c1563212571e769673e06a", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml")]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
index c4686ea216a..a5a0d153593 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
index 2258a44d741..064a8f74358 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_DesignTime.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyModel|
-Generated Location: (1160:24,0 [7] )
+Generated Location: (1179:25,0 [7] )
|MyModel|
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyApp|
-Generated Location: (1422:34,0 [5] )
+Generated Location: (1441:35,0 [5] )
|MyApp|
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyPropertyName|
-Generated Location: (1704:44,22 [14] )
+Generated Location: (1723:45,22 [14] )
|MyPropertyName|
Source Location: (54:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|MyService|
-Generated Location: (1957:54,0 [17] )
+Generated Location: (1976:55,0 [17] )
|MyService|
Source Location: (72:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|Html|
-Generated Location: (2251:64,22 [4] )
+Generated Location: (2270:65,22 [4] )
|Html|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs
index ab08bd2f60f..84e31b7b68e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"319d5fa6f848e64d19bf7eab2f5e3339cdfc75b02a9bc6f2773eed1a40f5e9d0", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
index b37a3343fa6..f71fd1a207f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
index 18df9ff184d..381d1513ea8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_DesignTime.mappings.txt
@@ -1,45 +1,45 @@
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyModel|
-Generated Location: (1172:24,0 [7] )
+Generated Location: (1191:25,0 [7] )
|MyModel|
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyApp|
-Generated Location: (1438:34,0 [5] )
+Generated Location: (1457:35,0 [5] )
|MyApp|
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyPropertyName|
-Generated Location: (1724:44,22 [14] )
+Generated Location: (1743:45,22 [14] )
|MyPropertyName|
Source Location: (58:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyService|
-Generated Location: (1981:54,0 [17] )
+Generated Location: (2000:55,0 [17] )
|MyService|
Source Location: (76:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|Html|
-Generated Location: (2279:64,22 [4] )
+Generated Location: (2298:65,22 [4] )
|Html|
Source Location: (93:3,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyApp|
-Generated Location: (2526:74,0 [5] )
+Generated Location: (2545:75,0 [5] )
|MyApp|
Source Location: (99:3,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyPropertyName2|
-Generated Location: (2812:84,22 [15] )
+Generated Location: (2831:85,22 [15] )
|MyPropertyName2|
Source Location: (129:4,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|MyService|
-Generated Location: (3070:94,0 [17] )
+Generated Location: (3089:95,0 [17] )
|MyService|
Source Location: (147:4,26 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|Html2|
-Generated Location: (3368:104,22 [5] )
+Generated Location: (3387:105,22 [5] )
|Html2|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs
index f4c7c0c6517..4fe4f0f2dce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"771acb56660727ab6e4ca50e95bde0cf2a72af8de3e9ec1cd4b72969645cb9af", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
index 253c4bfd218..3164006fc7b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
index 30dfcf0fd00..6a22a8efed5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (8:0,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|MyApp|
-Generated Location: (1133:24,0 [5] )
+Generated Location: (1152:25,0 [5] )
|MyApp|
Source Location: (14:0,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|MyPropertyName|
-Generated Location: (1406:34,22 [14] )
+Generated Location: (1425:35,22 [14] )
|MyPropertyName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs
index 4d788031040..c1116e3538d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"f0ec78e6ab6def57bd9067e564edaa84059a8ecb9a3c1766a148a7df3096b7b0", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
index d7cfd9019de..1e00b15a335 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs
index ea0be3ac255..f57d05eb903 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"3b8355e6c17c9dc5d6062d64a789a8b5a81db5adec1e9913ff7a7c1565682765", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs
index 8621e32442c..f6f49fd9f2f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs
index 27f107bae0e..a6e6beb8c3f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"189450bf29773af1b743c49fb8b24230b292c19db0334d587f0e094856e5218f", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
index 39f44cc2eb4..7dccf488c8d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
index 93133807eae..5aa6c0ef8f8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_DesignTime.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|DateTime|
-Generated Location: (1662:30,0 [8] )
+Generated Location: (1681:31,0 [8] )
|DateTime|
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|"InputTestTagHelper, AppCode"|
-Generated Location: (1971:40,37 [29] )
+Generated Location: (1990:41,37 [29] )
|"InputTestTagHelper, AppCode"|
Source Location: (83:4,17 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|Date|
-Generated Location: (2681:58,102 [4] )
+Generated Location: (2700:59,102 [4] )
|Date|
Source Location: (111:5,18 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|Model|
-Generated Location: (3111:67,94 [5] )
+Generated Location: (3130:68,94 [5] )
|Model|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs
index 55df734f54b..fcbba2fc385 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"b96e944bd86a2acecd5a176708eedb3cdc8eef05122fd51aa5c4fe58d4069af7", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
index a006c62b634..78192012935 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
index 90c04a7369f..5c7a62c1b4d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (7:0,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml)
|System.Collections.IEnumerable|
-Generated Location: (1153:24,0 [30] )
+Generated Location: (1172:25,0 [30] )
|System.Collections.IEnumerable|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs
index be312e49ea4..d866aa06a5d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"36b79708f36f3606c2eb7c7eaf383853df55ab030280d5deb8f762fac54fd1c0", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
index e97ff4b4f0e..de84fc9012c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
index 443e1b252dc..ef4b495164e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (7:0,7 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|ThisShouldBeGenerated|
-Generated Location: (1171:24,0 [21] )
+Generated Location: (1190:25,0 [21] )
|ThisShouldBeGenerated|
Source Location: (37:1,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|System.Collections.IEnumerable|
-Generated Location: (1446:34,0 [30] )
+Generated Location: (1465:35,0 [30] )
|System.Collections.IEnumerable|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs
index a87c994e68a..5dfebe2c5ef 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test.Namespace
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace Test.Namespace
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt
index ae3d2fb065d..36ca7290a81 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (18:1,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml)
|Test.Namespace|
-Generated Location: (1205:24,44 [14] )
+Generated Location: (1224:25,44 [14] )
|Test.Namespace|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs
index f834acb02e0..c985985c961 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Test.Namespace.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_PageWithNamespace), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml")]
namespace Test.Namespace
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace Test.Namespace
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"92c481f9b1b9a31021ed6835c8d889f2ac9590a6abd9eaadbab6c046b2638d62", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs
index 7858e84a1c7..ec07c095e7d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs
index 544718ce1ac..b7d9bfbee68 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPageWithNoLeadingPageDirective), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"5eaf8fb8900db86500f29c357a6119d29d8639ae7b054b4cc5e00bbdf4882c2d", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPageWithNoLeadingPageDirective.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPage_WithCssScope.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPage_WithCssScope.codegen.cs
index 681953467cf..f84e7657e2e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPage_WithCssScope.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPage_WithCssScope.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"277fbcbf5d1dfc2066aea1070e6dd8b1890ff5da41edddab19b860e37725bd8a", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs
index 741291c1e03..47beb635f2d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt
index b8844a16276..f350890e212 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_DesignTime.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (36:3,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|using Microsoft.AspNetCore.Mvc.RazorPages|
-Generated Location: (567:15,0 [41] )
+Generated Location: (568:15,0 [41] )
|using Microsoft.AspNetCore.Mvc.RazorPages|
Source Location: (6:0,6 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|"/About"|
-Generated Location: (1571:33,37 [8] )
+Generated Location: (1572:33,37 [8] )
|"/About"|
Source Location: (25:2,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|NewModel|
-Generated Location: (1822:43,0 [8] )
+Generated Location: (1823:43,0 [8] )
|NewModel|
Source Location: (213:12,18 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
|Model.Name|
-Generated Location: (2372:60,18 [10] )
+Generated Location: (2373:60,18 [10] )
|Model.Name|
Source Location: (93:5,12 [97] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml)
@@ -25,7 +25,7 @@ Source Location: (93:5,12 [97] TestFiles/IntegrationTests/CodeGenerationIntegrat
public string Name { get; set; }
}
|
-Generated Location: (2618:69,12 [97] )
+Generated Location: (2619:69,12 [97] )
|
public class NewModel : PageModel
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs
index d95f891e12d..29bbfeabee2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithRouteTemplate), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithRouteTemplate.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs
index b8d4f714b6f..915e37dc24f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt
index 40888786175..e335c60c42a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_DesignTime.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (38:3,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|using Microsoft.AspNetCore.Mvc.RazorPages|
-Generated Location: (562:15,0 [41] )
+Generated Location: (563:15,0 [41] )
|using Microsoft.AspNetCore.Mvc.RazorPages|
Source Location: (23:2,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|"*, AppCode"|
-Generated Location: (1901:38,37 [12] )
+Generated Location: (1902:38,37 [12] )
|"*, AppCode"|
Source Location: (566:24,47 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|Name|
-Generated Location: (2602:57,47 [4] )
+Generated Location: (2603:57,47 [4] )
|Name|
Source Location: (95:5,12 [283] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
@@ -28,7 +28,7 @@ Source Location: (95:5,12 [283] TestFiles/IntegrationTests/CodeGenerationIntegra
public string Name { get; set; }
}
|
-Generated Location: (3425:74,12 [283] )
+Generated Location: (3426:74,12 [283] )
|
public IActionResult OnPost(Customer customer)
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs
index 6eed0748f88..d0c06ec3297 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs
index 65e447e7a75..c991365fef4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt
index 939f3012fca..6d58723a403 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_DesignTime.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (55:4,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|using Microsoft.AspNetCore.Mvc.RazorPages|
-Generated Location: (550:15,0 [41] )
+Generated Location: (551:15,0 [41] )
|using Microsoft.AspNetCore.Mvc.RazorPages|
Source Location: (16:2,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|NewModel|
-Generated Location: (1797:37,0 [8] )
+Generated Location: (1798:37,0 [8] )
|NewModel|
Source Location: (40:3,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|"*, AppCode"|
-Generated Location: (2111:48,37 [12] )
+Generated Location: (2112:48,37 [12] )
|"*, AppCode"|
Source Location: (661:28,47 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|Model.Name|
-Generated Location: (2800:67,47 [10] )
+Generated Location: (2801:67,47 [10] )
|Model.Name|
Source Location: (112:6,12 [360] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
@@ -36,7 +36,7 @@ Source Location: (112:6,12 [360] TestFiles/IntegrationTests/CodeGenerationIntegr
public string Name { get; set; }
}
|
-Generated Location: (3617:84,12 [360] )
+Generated Location: (3618:84,12 [360] )
|
public class NewModel : PageModel
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs
index 4e09af26831..a0f9bc51c32 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages), @"mvc.1.0.razor-page", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_Layout_WithCssScope.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_Layout_WithCssScope.codegen.cs
index d67b5edeb66..e5cfb0cde4a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_Layout_WithCssScope.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_Layout_WithCssScope.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"ae0459eafa91f6ae24fb2b349577f0dfb20a0e269a8a48888a1285a725191322", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithCssScope.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithCssScope.codegen.cs
index ae56dc1ac80..2fe8f7d0a66 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithCssScope.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithCssScope.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"693e482257fa9ef37bc202b83d2bd2e6f8475e8f4d328f07e18a689f4f68c917", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNonNullableModel_NullableContextEnabled.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNonNullableModel_NullableContextEnabled.codegen.cs
index 78c2b7aec4f..088a3cdf32b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNonNullableModel_NullableContextEnabled.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNonNullableModel_NullableContextEnabled.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableBaseType_NullableContexEnabled.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableBaseType_NullableContexEnabled.codegen.cs
index f68eca9e18e..9fbc25d12fb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableBaseType_NullableContexEnabled.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableBaseType_NullableContexEnabled.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextEnabled.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextEnabled.codegen.cs
index e95ba65bd2d..9df59875f6d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextEnabled.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextEnabled.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextNotEnabled.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextNotEnabled.codegen.cs
index e95ba65bd2d..9df59875f6d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextNotEnabled.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorView_WithNullableModel_NullableContextNotEnabled.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_test), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/test.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
index 6146de43925..ec359e25f8e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
index 85faa792db8..8b027e29f7a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_DesignTime.mappings.txt
@@ -1,29 +1,29 @@
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|DateTime|
-Generated Location: (1614:30,0 [8] )
+Generated Location: (1633:31,0 [8] )
|DateTime|
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|"InputTestTagHelper, AppCode"|
-Generated Location: (1907:40,37 [29] )
+Generated Location: (1926:41,37 [29] )
|"InputTestTagHelper, AppCode"|
Source Location: (152:10,9 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|Section1|
-Generated Location: (2183:50,22 [8] )
+Generated Location: (2202:51,22 [8] )
|Section1|
Source Location: (68:4,2 [46] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|
Layout = "_SectionTestLayout.cshtml";
|
-Generated Location: (2681:67,2 [46] )
+Generated Location: (2700:68,2 [46] )
|
Layout = "_SectionTestLayout.cshtml";
|
Source Location: (222:12,21 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml)
|Date|
-Generated Location: (3144:77,102 [4] )
+Generated Location: (3163:78,102 [4] )
|Date|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs
index 402ee43f96c..116ccdab3fc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Sections), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"1ed96a957fe000fd0c80cc511def19ab692563eb64f3349a4c87c524e2ecbd60", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Sections.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs
index cef2f756cde..624e21b46c6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -14,22 +14,16 @@ namespace AspNetCore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.ComponentModel;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.Collections;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt
index e506597b8ee..a22a7e8ae05 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_DesignTime.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System.ComponentModel|
-Generated Location: (528:14,0 [27] )
+Generated Location: (529:14,0 [27] )
|using System.ComponentModel|
Source Location: (31:1,1 [24] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System.Collections|
-Generated Location: (718:21,0 [24] )
+Generated Location: (690:19,0 [24] )
|using System.Collections|
Source Location: (58:2,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System|
-Generated Location: (905:28,0 [12] )
+Generated Location: (848:24,0 [12] )
|using System|
Source Location: (73:3,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml)
|using System|
-Generated Location: (1080:35,0 [12] )
+Generated Location: (994:29,0 [12] )
|using System|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs
index e1aded5eb49..fff863fc37d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_UsingDirectives), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
@@ -15,22 +15,16 @@ namespace AspNetCore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.ComponentModel;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System.Collections;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
using System;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UsingDirectives.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam_Runtime.codegen.cs
index 552679252f0..00d9a1d540a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelperOptionalParam), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"83aa72bbe254ff67d9ee42878d80c6403361bcbb777a50d8b3d718cba176d15c", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelperOptionalParam.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
index 97c4707a99d..303e113a094 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
index 0bc8737b9fd..83745be43d7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_DesignTime.mappings.txt
@@ -1,19 +1,19 @@
Source Location: (14:0,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|"*, AppCode"|
-Generated Location: (1866:31,37 [12] )
+Generated Location: (1885:32,37 [12] )
|"*, AppCode"|
Source Location: (30:1,2 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
var foo = "Hello";
|
-Generated Location: (2374:48,2 [26] )
+Generated Location: (2393:49,2 [26] )
|
var foo = "Hello";
|
Source Location: (83:5,22 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|foo|
-Generated Location: (2863:58,22 [3] )
+Generated Location: (2882:59,22 [3] )
|foo|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs
index cdb3a708dc3..7fb16e0582b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"9ef17a17b6e1fedefe92b2dd4e87273d3ae73d9b1f8b2ad44ce57c5611f991d3", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs
index bcfafbb1993..149ede78dc9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test.Namespace
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace Test.Namespace
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt
index 05a566f2a90..0dbf9220456 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_DesignTime.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (11:0,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml)
|Test.Namespace|
-Generated Location: (1214:24,44 [14] )
+Generated Location: (1233:25,44 [14] )
|Test.Namespace|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs
index 7c64e0f6a49..3acc3c0e474 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Test.Namespace.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewWithNamespace), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml")]
namespace Test.Namespace
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace Test.Namespace
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"0f6ba484a31913081c643e369f111f82106eb1ca92fd309c17581be004098c27", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
index 22994905183..15d06e0e945 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AspNetCore
{
- #line hidden
+ #line default
using TModel = global::System.Object;
using global::System;
using global::System.Collections.Generic;
@@ -11,6 +11,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
index 376de31892b..872918b69e3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_DesignTime.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (8:0,8 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|IHtmlHelper|
-Generated Location: (1151:24,0 [19] )
+Generated Location: (1170:25,0 [19] )
|IHtmlHelper|
Source Location: (28:0,28 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|Helper|
-Generated Location: (1444:34,22 [6] )
+Generated Location: (1463:35,22 [6] )
|Helper|
diff --git a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs
index bf694c02fc8..84b29f2514d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports), @"mvc.1.0.view", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
namespace AspNetCore
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,6 +12,7 @@ namespace AspNetCore
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
+ #line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"Sha256", @"d62f98eaaf5b78af8d93afeee3b564ac056a55d715d72361969351a6dd2ca3b2", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentCodeGenerationTestBase.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentCodeGenerationTestBase.cs
index 2194dab44a9..b5ef2d9dfe6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentCodeGenerationTestBase.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentCodeGenerationTestBase.cs
@@ -10221,10 +10221,10 @@ public class MyComponent : ComponentBase
DesignTime
// (23,91): error CS1501: No overload for method 'TypeCheck' takes 2 arguments
// __o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
- ? Diagnostic(ErrorCode.ERR_BadArgCount, "TypeCheck").WithArguments("TypeCheck", "2").WithLocation(23, 91)
+ ? Diagnostic(ErrorCode.ERR_BadArgCount, "TypeCheck").WithArguments("TypeCheck", "2").WithLocation(24, 91)
// (17,138): error CS1501: No overload for method 'TypeCheck' takes 2 arguments
// __builder.AddComponentParameter(1, "StringProperty", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
- : Diagnostic(ErrorCode.ERR_BadArgCount, "TypeCheck").WithArguments("TypeCheck", "2").WithLocation(17, 138));
+ : Diagnostic(ErrorCode.ERR_BadArgCount, "TypeCheck").WithArguments("TypeCheck", "2").WithLocation(18, 138));
Assert.NotEmpty(generated.Diagnostics);
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.codegen.cs
index 2be97cd0c07..c040f0c6723 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
- #line hidden
+ #line default
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
using System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.mappings.txt
index 258d20d7405..4fc2bb897e4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_DesignTime.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [32] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|using System.Collections.Generic|
-Generated Location: (249:7,0 [32] )
+Generated Location: (250:7,0 [32] )
|using System.Collections.Generic|
Source Location: (39:2,2 [396] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
@@ -25,7 +25,7 @@ Source Location: (39:2,2 [396] TestFiles/IntegrationTests/CodeGenerationIntegrat
return TestEnum.First;
}
|
-Generated Location: (914:26,2 [396] )
+Generated Location: (915:26,2 [396] )
|
IAsyncEnumerable GetAsyncEnumerable()
{
@@ -50,12 +50,12 @@ Generated Location: (914:26,2 [396] )
Source Location: (441:24,1 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|words[1..2]|
-Generated Location: (1469:52,6 [11] )
+Generated Location: (1470:52,6 [11] )
|words[1..2]|
Source Location: (456:25,2 [13] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|words[^2..^0]|
-Generated Location: (1642:59,6 [13] )
+Generated Location: (1643:59,6 [13] )
|words[^2..^0]|
Source Location: (476:27,2 [121] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
@@ -65,7 +65,7 @@ Source Location: (476:27,2 [121] TestFiles/IntegrationTests/CodeGenerationIntegr
TestEnum.Second => "The Second!",
_ => "The others",
}|
-Generated Location: (1817:66,6 [121] )
+Generated Location: (1818:66,6 [121] )
|testEnum switch
{
TestEnum.First => "The First!",
@@ -77,36 +77,36 @@ Source Location: (603:34,1 [56] TestFiles/IntegrationTests/CodeGenerationIntegra
|await foreach (var val in GetAsyncEnumerable())
{
|
-Generated Location: (2095:78,1 [56] )
+Generated Location: (2096:78,1 [56] )
|await foreach (var val in GetAsyncEnumerable())
{
|
Source Location: (660:36,5 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|val|
-Generated Location: (2312:87,6 [3] )
+Generated Location: (2313:87,6 [3] )
|val|
Source Location: (663:36,8 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|
}|
-Generated Location: (2479:94,8 [3] )
+Generated Location: (2480:94,8 [3] )
|
}|
Source Location: (671:39,1 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|Person!.Name|
-Generated Location: (2643:102,6 [12] )
+Generated Location: (2644:102,6 [12] )
|Person!.Name|
Source Location: (686:40,1 [20] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|People![0]!.Name![1]|
-Generated Location: (2817:109,6 [20] )
+Generated Location: (2818:109,6 [20] )
|People![0]!.Name![1]|
Source Location: (709:41,1 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
|DoSomething!(Person!)|
-Generated Location: (2999:116,6 [21] )
+Generated Location: (3000:116,6 [21] )
|DoSomething!(Person!)|
Source Location: (746:43,12 [480] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml)
@@ -134,7 +134,7 @@ Source Location: (746:43,12 [480] TestFiles/IntegrationTests/CodeGenerationInteg
public string? Name { get; set; }
}
|
-Generated Location: (3237:125,12 [480] )
+Generated Location: (3238:125,12 [480] )
|
enum TestEnum
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_Runtime.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_Runtime.codegen.cs
index 26b972c2476..055d97ed633 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_Runtime.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8_Runtime.codegen.cs
@@ -4,7 +4,7 @@
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CSharp8_Runtime), @"default", @"/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml")]
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
- #line hidden
+ #line default
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp8.cshtml"
using System.Collections.Generic;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs
index 88647f25c8e..70cf49ac5b0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt
index 21b27e9f07c..d8b2920e227 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (26:0,26 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1072:25,26 [1] )
+Generated Location: (1091:26,26 [1] )
|c|
Source Location: (44:0,44 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1259:33,44 [1] )
+Generated Location: (1278:34,44 [1] )
|c|
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|MyParameter|
-Generated Location: (1505:43,13 [11] )
+Generated Location: (1524:44,13 [11] )
|MyParameter|
Source Location: (29:0,29 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|BoolParameter|
-Generated Location: (1742:52,29 [13] )
+Generated Location: (1761:53,29 [13] )
|BoolParameter|
Source Location: (60:2,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
|
private MyClass c = new();
|
-Generated Location: (2165:70,7 [42] )
+Generated Location: (2184:71,7 [42] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs
index cb989e09d5d..1358acb82e5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt
index c9b8e84c205..7bc1bfcb71a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt
@@ -1,53 +1,53 @@
Source Location: (55:1,19 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1065:25,19 [4] )
+Generated Location: (1084:26,19 [4] )
|true|
Source Location: (112:3,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1242:33,23 [9] )
+Generated Location: (1261:34,23 [9] )
|() => { }|
Source Location: (145:4,21 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1414:41,21 [1] )
+Generated Location: (1433:42,21 [1] )
|c|
Source Location: (32:0,32 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1589:49,32 [1] )
+Generated Location: (1608:50,32 [1] )
|c|
Source Location: (40:1,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|BoolParameter|
-Generated Location: (2054:60,4 [13] )
+Generated Location: (2073:61,4 [13] )
|BoolParameter|
Source Location: (66:2,4 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|StringParameter|
-Generated Location: (2268:69,4 [15] )
+Generated Location: (2287:70,4 [15] )
|StringParameter|
Source Location: (93:3,4 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|DelegateParameter|
-Generated Location: (2484:78,4 [17] )
+Generated Location: (2503:79,4 [17] )
|DelegateParameter|
Source Location: (128:4,4 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|ObjectParameter|
-Generated Location: (2702:87,4 [15] )
+Generated Location: (2721:88,4 [15] )
|ObjectParameter|
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|MyParameter|
-Generated Location: (2933:96,19 [11] )
+Generated Location: (2952:97,19 [11] )
|MyParameter|
Source Location: (161:6,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
|
private MyClass c = new();
|
-Generated Location: (3354:114,7 [42] )
+Generated Location: (3373:115,7 [42] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs
index de9f06ee914..b0c7674fcd0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt
index 7b4e5d2e597..882af476d71 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (26:0,26 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (947:25,26 [1] )
+Generated Location: (966:26,26 [1] )
|c|
Source Location: (42:2,7 [34] x:\dir\subdir\Test\TestComponent.cshtml)
|
private MyClass c = new();
|
-Generated Location: (1618:46,7 [34] )
+Generated Location: (1637:47,7 [34] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs
index 1a47558d9ac..c27925193df 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt
index b51479ea9c5..54047efb4b2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (26:0,26 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|c1 = c2|
-Generated Location: (947:25,26 [7] )
+Generated Location: (966:26,26 [7] )
|c1 = c2|
Source Location: (48:2,7 [68] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (48:2,7 [68] x:\dir\subdir\Test\TestComponent.cshtml)
private MyClass c1 = new();
private MyClass c2 = new();
|
-Generated Location: (1636:46,7 [68] )
+Generated Location: (1655:47,7 [68] )
|
private MyClass c1 = new();
private MyClass c2 = new();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs
index 7e04e013ad3..e5ba7a89c84 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt
index 4661737cb35..731b885b7c9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt
@@ -1,63 +1,63 @@
Source Location: (26:0,26 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1072:25,26 [1] )
+Generated Location: (1091:26,26 [1] )
|c|
Source Location: (43:1,13 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1303:33,13 [9] )
+Generated Location: (1322:34,13 [9] )
|() => { }|
Source Location: (74:2,19 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1474:41,19 [4] )
+Generated Location: (1493:42,19 [4] )
|true|
Source Location: (131:4,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1651:49,23 [9] )
+Generated Location: (1670:50,23 [9] )
|() => { }|
Source Location: (164:5,21 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1823:57,21 [1] )
+Generated Location: (1842:58,21 [1] )
|c|
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|MyParameter|
-Generated Location: (2069:67,13 [11] )
+Generated Location: (2088:68,13 [11] )
|MyParameter|
Source Location: (34:1,4 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (2281:76,4 [7] )
+Generated Location: (2300:77,4 [7] )
|MyEvent|
Source Location: (59:2,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|BoolParameter|
-Generated Location: (2489:85,4 [13] )
+Generated Location: (2508:86,4 [13] )
|BoolParameter|
Source Location: (85:3,4 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|StringParameter|
-Generated Location: (2703:94,4 [15] )
+Generated Location: (2722:95,4 [15] )
|StringParameter|
Source Location: (112:4,4 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|DelegateParameter|
-Generated Location: (2919:103,4 [17] )
+Generated Location: (2938:104,4 [17] )
|DelegateParameter|
Source Location: (147:5,4 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|ObjectParameter|
-Generated Location: (3137:112,4 [15] )
+Generated Location: (3156:113,4 [15] )
|ObjectParameter|
Source Location: (180:7,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
|
private MyClass c = new();
|
-Generated Location: (3562:130,7 [42] )
+Generated Location: (3581:131,7 [42] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs
index 3f50d6955b2..233d65f7a62 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt
index 625b96b069b..4dccd8ca7b0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt
@@ -1,53 +1,53 @@
Source Location: (26:0,26 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1072:25,26 [1] )
+Generated Location: (1091:26,26 [1] )
|c|
Source Location: (49:1,19 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1234:33,19 [4] )
+Generated Location: (1253:34,19 [4] )
|true|
Source Location: (106:3,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1411:41,23 [9] )
+Generated Location: (1430:42,23 [9] )
|() => { }|
Source Location: (139:4,21 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|c|
-Generated Location: (1583:49,21 [1] )
+Generated Location: (1602:50,21 [1] )
|c|
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|MyParameter|
-Generated Location: (1829:59,13 [11] )
+Generated Location: (1848:60,13 [11] )
|MyParameter|
Source Location: (34:1,4 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|BoolParameter|
-Generated Location: (2041:68,4 [13] )
+Generated Location: (2060:69,4 [13] )
|BoolParameter|
Source Location: (60:2,4 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|StringParameter|
-Generated Location: (2255:77,4 [15] )
+Generated Location: (2274:78,4 [15] )
|StringParameter|
Source Location: (87:3,4 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|DelegateParameter|
-Generated Location: (2471:86,4 [17] )
+Generated Location: (2490:87,4 [17] )
|DelegateParameter|
Source Location: (122:4,4 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|ObjectParameter|
-Generated Location: (2689:95,4 [15] )
+Generated Location: (2708:96,4 [15] )
|ObjectParameter|
Source Location: (155:6,7 [51] x:\dir\subdir\Test\TestComponent.cshtml)
|
private readonly MyClass c = new();
|
-Generated Location: (3114:113,7 [51] )
+Generated Location: (3133:114,7 [51] )
|
private readonly MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
index a9f0a623bd9..4a243560c42 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -11,8 +11,6 @@ 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"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
index 99682c4ba90..e21ef20b4ee 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_Lambda/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Threading.Tasks|
-Generated Location: (317:11,0 [28] )
+Generated Location: (318:11,0 [28] )
|using System.Threading.Tasks|
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (468:18,0 [41] )
+Generated Location: (440:16,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: (1347:38,19 [33] )
+Generated Location: (1319:36,19 [33] )
|async (e) => await Task.Delay(10)|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
index 3d273f3ada2..0aeeaf88e04 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -11,8 +11,6 @@ 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"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
index 2036aef2ad0..df60e64b6b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Threading.Tasks|
-Generated Location: (317:11,0 [28] )
+Generated Location: (318:11,0 [28] )
|using System.Threading.Tasks|
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (468:18,0 [41] )
+Generated Location: (440:16,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1345:38,17 [7] )
+Generated Location: (1317:36,17 [7] )
|OnClick|
Source Location: (112:3,7 [88] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -20,7 +20,7 @@ Source Location: (112:3,7 [88] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (1546:48,7 [88] )
+Generated Location: (1518:46,7 [88] )
|
Task OnClick(MouseEventArgs e)
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
index 20c34f7b0a8..3c877cf69dd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -11,8 +11,6 @@ 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"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
index 02a9b61c05b..a4749cd66e9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_Lambda/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Threading.Tasks|
-Generated Location: (317:11,0 [28] )
+Generated Location: (318:11,0 [28] )
|using System.Threading.Tasks|
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (468:18,0 [41] )
+Generated Location: (440:16,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: (1347:38,19 [32] )
+Generated Location: (1319:36,19 [32] )
|async () => await Task.Delay(10)|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
index 9d3115f0412..0759efb180e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -11,8 +11,6 @@ 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"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
index fb45a7ae389..793bfe4ef32 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/AsyncEventHandler_OnElement_Action_MethodGroup/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Threading.Tasks|
-Generated Location: (317:11,0 [28] )
+Generated Location: (318:11,0 [28] )
|using System.Threading.Tasks|
Source Location: (32:1,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (468:18,0 [41] )
+Generated Location: (440:16,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (92:2,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1345:38,17 [7] )
+Generated Location: (1317:36,17 [7] )
|OnClick|
Source Location: (112:3,7 [72] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -20,7 +20,7 @@ Source Location: (112:3,7 [72] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (1546:48,7 [72] )
+Generated Location: (1518:46,7 [72] )
|
Task OnClick()
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.codegen.cs
index 19070c2c287..e827d54cd6c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.mappings.txt
index 26114aba6cb..cb34e09504d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2113:41,19 [5] )
+Generated Location: (2132:42,19 [5] )
|Value|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2526:59,7 [50] )
+Generated Location: (2545:60,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs
index 9f20a4dbbd9..b5f94076e91 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt
index 5a86dce76f0..75bc80e26b0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (19:0,19 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|SomeParam|
-Generated Location: (1609:36,19 [9] )
+Generated Location: (1628:37,19 [9] )
|SomeParam|
Source Location: (54:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|
-Generated Location: (2028:54,7 [65] )
+Generated Location: (2047:55,7 [65] )
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.codegen.cs
index 7503f803731..2ae9388fb73 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.mappings.txt
index d6a8fd5cbb6..9de78ad726b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValueAndExpression_NestedGeneric/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (19:0,19 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|SomeParam|
-Generated Location: (1609:36,19 [9] )
+Generated Location: (1628:37,19 [9] )
|SomeParam|
Source Location: (54:1,7 [89] x:\dir\subdir\Test\TestComponent.cshtml)
|
public IEnumerable ParentValue { get; set; } = new [] { DateTime.Now };
|
-Generated Location: (2028:54,7 [89] )
+Generated Location: (2047:55,7 [89] )
|
public IEnumerable ParentValue { get; set; } = new [] { DateTime.Now };
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
index 26adac745c1..a9a7080ed28 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
index 7e5911b05ea..c5fa6d97339 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1921:40,19 [5] )
+Generated Location: (1940:41,19 [5] )
|Value|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2334:58,7 [50] )
+Generated Location: (2353:59,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
index a908eb4d837..111ea8e1b65 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
index bf47106ca64..962197114d4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_EventCallback_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1921:40,19 [5] )
+Generated Location: (1940:41,19 [5] )
|Value|
Source Location: (50:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "42";
|
-Generated Location: (2334:58,7 [55] )
+Generated Location: (2353:59,7 [55] )
|
public string ParentValue { get; set; } = "42";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
index ec54ea220f3..d9fd418d714 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
index 08e5d7d3996..dfd2001faeb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1584:40,19 [5] )
+Generated Location: (1603:41,19 [5] )
|Value|
Source Location: (45:0,45 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1831:49,45 [5] )
+Generated Location: (1850:50,45 [5] )
|Value|
Source Location: (80:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2244:67,7 [50] )
+Generated Location: (2263:68,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
index 8aa59ea7239..f5ee943a1b5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
index b2a22850242..4d566cf1773 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (947:25,26 [11] )
+Generated Location: (966:26,26 [11] )
|ParentValue|
Source Location: (80:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1648:46,7 [50] )
+Generated Location: (1667:47,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.codegen.cs
index c15570bcb93..df84f4f517e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.mappings.txt
index 175e5ec225d..d840a9df22d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1776:41,19 [5] )
+Generated Location: (1795:42,19 [5] )
|Value|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2189:59,7 [50] )
+Generated Location: (2208:60,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs
index 2d06122d6e5..f8ab2b2250b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt
index 74b213fd1f0..2fd6ee82e56 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValueAndExpression_Generic/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (19:0,19 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|SomeParam|
-Generated Location: (1413:36,19 [9] )
+Generated Location: (1432:37,19 [9] )
|SomeParam|
Source Location: (54:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|
-Generated Location: (1832:54,7 [65] )
+Generated Location: (1851:55,7 [65] )
|
public DateTime ParentValue { get; set; } = DateTime.Now;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
index fb5183196f8..7993bfc7531 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
index 643da157372..f1091807c35 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithMatchingProperties/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1584:40,19 [5] )
+Generated Location: (1603:41,19 [5] )
|Value|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1997:58,7 [50] )
+Generated Location: (2016:59,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
index 8aa59ea7239..f5ee943a1b5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
index 8f46fbde606..602f7ec1c1a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_SpecifiesValue_WithoutMatchingProperties/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (947:25,26 [11] )
+Generated Location: (966:26,26 [11] )
|ParentValue|
Source Location: (50:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1648:46,7 [50] )
+Generated Location: (1667:47,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
index 36783cd4d94..9854aa8e933 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
index 0e3c0770fb1..ea2b7ac38d9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_TypeChecked_WithMatchingProperties/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1051:25,26 [11] )
+Generated Location: (1070:26,26 [11] )
|ParentValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1584:40,19 [5] )
+Generated Location: (1603:41,19 [5] )
|Value|
Source Location: (50:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "42";
|
-Generated Location: (1997:58,7 [55] )
+Generated Location: (2016:59,7 [55] )
|
public string ParentValue { get; set; } = "42";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.codegen.cs
index ee311ea83d1..b284b9ac574 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.mappings.txt
index 8a0c7ee782d..99f2c76bbdf 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_Action/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Update|
-Generated Location: (1475:35,62 [6] )
+Generated Location: (1494:36,62 [6] )
|Update|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1899:48,19 [5] )
+Generated Location: (1918:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2150:57,49 [5] )
+Generated Location: (2169:58,49 [5] )
|Value|
Source Location: (81:1,7 [82] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (81:1,7 [82] x:\dir\subdir\Test\TestComponent.cshtml)
public void Update() { }
|
-Generated Location: (2563:75,7 [82] )
+Generated Location: (2582:76,7 [82] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.codegen.cs
index 0ee301b66f0..8901ebd28a2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.mappings.txt
index a5869332892..4af24babe12 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_ActionLambda/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1475:35,62 [9] )
+Generated Location: (1494:36,62 [9] )
|() => { }|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1902:48,19 [5] )
+Generated Location: (1921:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2153:57,49 [5] )
+Generated Location: (2172:58,49 [5] )
|Value|
Source Location: (84:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2566:75,7 [50] )
+Generated Location: (2585:76,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.codegen.cs
index 1aba1eed979..19ccc45ac37 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.mappings.txt
index b558e2279a0..d4a95904c6b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_AsyncLambdaProducesError/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [62] x:\dir\subdir\Test\TestComponent.cshtml)
|(value => { ParentValue = value; return Task.CompletedTask; })|
-Generated Location: (1324:34,60 [62] )
+Generated Location: (1343:35,60 [62] )
|(value => { ParentValue = value; return Task.CompletedTask; })|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1800:47,19 [5] )
+Generated Location: (1819:48,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2051:56,49 [5] )
+Generated Location: (2070:57,49 [5] )
|Value|
Source Location: (135:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2464:74,7 [50] )
+Generated Location: (2483:75,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.codegen.cs
index d45a519a700..7c9b71d2b3b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.mappings.txt
index 837ed2a68aa..e26f6de9dee 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1921:35,62 [11] )
+Generated Location: (1940:36,62 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2386:48,19 [5] )
+Generated Location: (2405:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2637:57,49 [5] )
+Generated Location: (2656:58,49 [5] )
|Value|
Source Location: (86:1,7 [102] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -23,7 +23,7 @@ Source Location: (86:1,7 [102] x:\dir\subdir\Test\TestComponent.cshtml)
public int ParentValue { get; set; } = 42;
public EventCallback UpdateValue { get; set; }
|
-Generated Location: (3050:75,7 [102] )
+Generated Location: (3069:76,7 [102] )
|
public int ParentValue { get; set; } = 42;
public EventCallback UpdateValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.codegen.cs
index 0f29d10c74e..d488938552d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.mappings.txt
index 76b512083f8..f305de723b3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesAction/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1921:35,62 [9] )
+Generated Location: (1940:36,62 [9] )
|() => { }|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2384:48,19 [5] )
+Generated Location: (2403:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2635:57,49 [5] )
+Generated Location: (2654:58,49 [5] )
|Value|
Source Location: (84:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (3048:75,7 [50] )
+Generated Location: (3067:76,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.codegen.cs
index a5c3b37cecc..43df4df141b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.mappings.txt
index e9e734dc19d..9701824baf3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_EventCallback_ReceivesFunction/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1921:35,62 [11] )
+Generated Location: (1940:36,62 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2386:48,19 [5] )
+Generated Location: (2405:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2637:57,49 [5] )
+Generated Location: (2656:58,49 [5] )
|Value|
Source Location: (86:1,7 [106] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (86:1,7 [106] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue() => Task.CompletedTask;
|
-Generated Location: (3050:75,7 [106] )
+Generated Location: (3069:76,7 [106] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.codegen.cs
index 5b4d213bfc4..9ee7c6f3c35 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.mappings.txt
index a20ea80655b..42836f97635 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningDelegate/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Update|
-Generated Location: (1515:35,62 [6] )
+Generated Location: (1534:36,62 [6] )
|Update|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1939:48,19 [5] )
+Generated Location: (1958:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2190:57,49 [5] )
+Generated Location: (2209:58,49 [5] )
|Value|
Source Location: (81:1,7 [101] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (81:1,7 [101] x:\dir\subdir\Test\TestComponent.cshtml)
public Task Update() => Task.CompletedTask;
|
-Generated Location: (2603:75,7 [101] )
+Generated Location: (2622:76,7 [101] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.codegen.cs
index 83e2ecdc828..eb928eb11e1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.mappings.txt
index 626f77e1956..dcdbe5c9b93 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithAfter_TaskReturningLambda/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [36] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { return Task.CompletedTask; }|
-Generated Location: (1515:35,62 [36] )
+Generated Location: (1534:36,62 [36] )
|() => { return Task.CompletedTask; }|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1969:48,19 [5] )
+Generated Location: (1988:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2220:57,49 [5] )
+Generated Location: (2239:58,49 [5] )
|Value|
Source Location: (111:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2633:75,7 [50] )
+Generated Location: (2652:76,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.codegen.cs
index df40ce3145b..b17f8b59dba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.mappings.txt
index 4ec43608155..868a3a3f4bd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_Action/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1324:34,60 [11] )
+Generated Location: (1343:35,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1749:47,19 [5] )
+Generated Location: (1768:48,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2000:56,49 [5] )
+Generated Location: (2019:57,49 [5] )
|Value|
Source Location: (84:1,7 [116] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (84:1,7 [116] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(int value) => ParentValue = value;
|
-Generated Location: (2413:74,7 [116] )
+Generated Location: (2432:75,7 [116] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.codegen.cs
index 957f4830e95..130a0daf436 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.mappings.txt
index 27aaa554afb..58ee9a63df1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ActionLambda/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|value => ParentValue = value|
-Generated Location: (1324:34,60 [28] )
+Generated Location: (1343:35,60 [28] )
|value => ParentValue = value|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1766:47,19 [5] )
+Generated Location: (1785:48,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2017:56,49 [5] )
+Generated Location: (2036:57,49 [5] )
|Value|
Source Location: (101:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2430:74,7 [50] )
+Generated Location: (2449:75,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.codegen.cs
index b792131b065..37fa9d0ea47 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.mappings.txt
index 0d4fe0ef97f..09729e6cab1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1660:35,60 [11] )
+Generated Location: (1679:36,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2100:48,19 [5] )
+Generated Location: (2119:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2351:57,49 [5] )
+Generated Location: (2370:58,49 [5] )
|Value|
Source Location: (84:1,7 [107] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -23,7 +23,7 @@ Source Location: (84:1,7 [107] x:\dir\subdir\Test\TestComponent.cshtml)
public int ParentValue { get; set; } = 42;
public EventCallback UpdateValue { get; set; }
|
-Generated Location: (2764:75,7 [107] )
+Generated Location: (2783:76,7 [107] )
|
public int ParentValue { get; set; } = 42;
public EventCallback UpdateValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.codegen.cs
index aeb7153fb66..033f779f6aa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.mappings.txt
index 38544202ab8..02516c70ef6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesAction/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|value => ParentValue = value|
-Generated Location: (1660:35,60 [28] )
+Generated Location: (1679:36,60 [28] )
|value => ParentValue = value|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2117:48,19 [5] )
+Generated Location: (2136:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2368:57,49 [5] )
+Generated Location: (2387:58,49 [5] )
|Value|
Source Location: (101:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2781:75,7 [50] )
+Generated Location: (2800:76,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.codegen.cs
index 62f01d03305..aa431663080 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.mappings.txt
index 9e4970a3676..01303dc1118 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_EventCallback_ReceivesFunction/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1660:35,60 [11] )
+Generated Location: (1679:36,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2100:48,19 [5] )
+Generated Location: (2119:49,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2351:57,49 [5] )
+Generated Location: (2370:58,49 [5] )
|Value|
Source Location: (84:1,7 [144] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (84:1,7 [144] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue(int value) { ParentValue = value; return Task.CompletedTask; }
|
-Generated Location: (2764:75,7 [144] )
+Generated Location: (2783:76,7 [144] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.codegen.cs
index df40ce3145b..b17f8b59dba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.mappings.txt
index 4ec43608155..868a3a3f4bd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_ProducesErrorOnOlderLanguageVersions/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1324:34,60 [11] )
+Generated Location: (1343:35,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1749:47,19 [5] )
+Generated Location: (1768:48,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2000:56,49 [5] )
+Generated Location: (2019:57,49 [5] )
|Value|
Source Location: (84:1,7 [116] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (84:1,7 [116] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(int value) => ParentValue = value;
|
-Generated Location: (2413:74,7 [116] )
+Generated Location: (2432:75,7 [116] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.codegen.cs
index b927c214422..3df683af32d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.mappings.txt
index 98e4041c06f..27488862f19 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningDelegate/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1351:34,60 [11] )
+Generated Location: (1370:35,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1776:47,19 [5] )
+Generated Location: (1795:48,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2027:56,49 [5] )
+Generated Location: (2046:57,49 [5] )
|Value|
Source Location: (84:1,7 [144] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (84:1,7 [144] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue(int value) { ParentValue = value; return Task.CompletedTask; }
|
-Generated Location: (2440:74,7 [144] )
+Generated Location: (2459:75,7 [144] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.codegen.cs
index a411f98333c..96f99a26460 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.mappings.txt
index dd57fb00085..aa242099562 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithGetSet_TaskReturningLambda/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1055:25,30 [11] )
+Generated Location: (1074:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [60] x:\dir\subdir\Test\TestComponent.cshtml)
|value => { ParentValue = value; return Task.CompletedTask; }|
-Generated Location: (1351:34,60 [60] )
+Generated Location: (1370:35,60 [60] )
|value => { ParentValue = value; return Task.CompletedTask; }|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1825:47,19 [5] )
+Generated Location: (1844:48,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2076:56,49 [5] )
+Generated Location: (2095:57,49 [5] )
|Value|
Source Location: (133:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (2489:74,7 [50] )
+Generated Location: (2508:75,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.codegen.cs
index fbaf51ad7b1..e6e19375faa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.mappings.txt
index 241de7018c0..01879664db1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (24:0,24 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1050:25,24 [11] )
+Generated Location: (1069:26,24 [11] )
|person.Name|
Source Location: (17:0,17 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1580:40,17 [5] )
+Generated Location: (1599:41,17 [5] )
|Value|
Source Location: (56:3,1 [37] x:\dir\subdir\Test\TestComponent.cshtml)
|
Person person = new Person();
|
-Generated Location: (1985:58,1 [37] )
+Generated Location: (2004:59,1 [37] )
|
Person person = new Person();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.codegen.cs
index 10d9023fe0a..c29f75799c9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.mappings.txt
index ea13e9d3d05..60edcc56508 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithCulture/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (1:0,1 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Globalization|
-Generated Location: (360:12,0 [26] )
+Generated Location: (361:12,0 [26] )
|using System.Globalization|
Source Location: (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1155:32,19 [11] )
+Generated Location: (1156:32,19 [11] )
|ParentValue|
Source Location: (111:1,82 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|CultureInfo.InvariantCulture|
-Generated Location: (1395:40,82 [28] )
+Generated Location: (1396:40,82 [28] )
|CultureInfo.InvariantCulture|
Source Location: (152:2,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1804:51,7 [55] )
+Generated Location: (1805:51,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
index 5e5eb695ee7..1c7f5a11ffa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
index 4331a7e8336..6afe898b3e9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WithFormat_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1020:25,33 [11] )
+Generated Location: (1039:26,33 [11] )
|CurrentDate|
Source Location: (113:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1407:36,7 [77] )
+Generated Location: (1426:37,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
index bf72894ac9c..9d07df9994c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
index a71e5dc7c7d..711f13ec540 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementFallback_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1020:25,33 [11] )
+Generated Location: (1039:26,33 [11] )
|ParentValue|
Source Location: (86:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1373:36,7 [50] )
+Generated Location: (1392:37,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.codegen.cs
index 52eaf9e7770..24aa66bfe39 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.mappings.txt
index 7056a1c5bbd..36c6eaef167 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithCulture/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (1:0,1 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Globalization|
-Generated Location: (360:12,0 [26] )
+Generated Location: (361:12,0 [26] )
|using System.Globalization|
Source Location: (48:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1155:32,19 [11] )
+Generated Location: (1156:32,19 [11] )
|ParentValue|
Source Location: (115:1,86 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|CultureInfo.InvariantCulture|
-Generated Location: (1399:40,86 [28] )
+Generated Location: (1400:40,86 [28] )
|CultureInfo.InvariantCulture|
Source Location: (156:2,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1808:51,7 [55] )
+Generated Location: (1809:51,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.codegen.cs
index 0b4b7cbb6c1..a0593bc9f2c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.mappings.txt
index 6775785695f..fd128597ea1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_OverridesEvent/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1006:25,19 [11] )
+Generated Location: (1025:26,19 [11] )
|ParentValue|
Source Location: (76:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1359:36,7 [55] )
+Generated Location: (1378:37,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
index 0b4b7cbb6c1..a0593bc9f2c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
index 764f6f3889e..f89e3d06e7b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElementWithSuffix_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1006:25,19 [11] )
+Generated Location: (1025:26,19 [11] )
|ParentValue|
Source Location: (43:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1359:36,7 [55] )
+Generated Location: (1378:37,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.codegen.cs
index 0af1897da7d..c14ad32cb49 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.mappings.txt
index 9011d93b286..a3968a0b062 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindAndParamBindSet/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1006:25,19 [11] )
+Generated Location: (1025:26,19 [11] )
|ParentValue|
Source Location: (49:0,49 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1412:34,49 [11] )
+Generated Location: (1431:35,49 [11] )
|UpdateValue|
Source Location: (73:1,7 [124] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -14,7 +14,7 @@ Source Location: (73:1,7 [124] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(string value) => ParentValue = value;
|
-Generated Location: (1651:44,7 [124] )
+Generated Location: (1670:45,7 [124] )
|
public string ParentValue { get; set; } = "hi";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.codegen.cs
index 42fae447f61..63e81df63cd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.mappings.txt
index 4689fa93efc..e031e86de13 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindValueWithGetSet/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (38:0,38 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (939:24,38 [11] )
+Generated Location: (958:25,38 [11] )
|ParentValue|
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1172:32,13 [11] )
+Generated Location: (1191:33,13 [11] )
|ParentValue|
Source Location: (62:0,62 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1591:41,62 [11] )
+Generated Location: (1610:42,62 [11] )
|UpdateValue|
Source Location: (86:1,7 [124] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -19,7 +19,7 @@ Source Location: (86:1,7 [124] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(string value) => ParentValue = value;
|
-Generated Location: (1830:51,7 [124] )
+Generated Location: (1849:52,7 [124] )
|
public string ParentValue { get; set; } = "hi";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.codegen.cs
index 5b994225ac1..8eae294d1ac 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.mappings.txt
index ec119131881..7a151bdf9df 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingBindWithoutSuffixAndParamBindSetWithSuffix/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1000:25,13 [11] )
+Generated Location: (1019:26,13 [11] )
|ParentValue|
Source Location: (67:1,7 [124] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -9,7 +9,7 @@ Source Location: (67:1,7 [124] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(string value) => ParentValue = value;
|
-Generated Location: (1353:36,7 [124] )
+Generated Location: (1372:37,7 [124] )
|
public string ParentValue { get; set; } = "hi";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.codegen.cs
index b76ebd414d8..8e3708652cf 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.mappings.txt
index 6773f18a4d7..1692e3be4b6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_MixingSetWithAfter/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (17:0,17 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1004:25,17 [11] )
+Generated Location: (1023:26,17 [11] )
|ParentValue|
Source Location: (41:0,41 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1543:34,41 [11] )
+Generated Location: (1562:35,41 [11] )
|UpdateValue|
Source Location: (67:0,67 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|AfterUpdate|
-Generated Location: (1897:42,67 [11] )
+Generated Location: (1916:43,67 [11] )
|AfterUpdate|
Source Location: (91:1,7 [159] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -20,7 +20,7 @@ Source Location: (91:1,7 [159] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(string value) => ParentValue = value;
public void AfterUpdate() { }
|
-Generated Location: (2140:52,7 [159] )
+Generated Location: (2159:53,7 [159] )
|
public string ParentValue { get; set; } = "hi";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.codegen.cs
index 0c99d917ee1..f1a4bb8b358 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.mappings.txt
index 086650a5422..1a6de1a856e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithBindAfterAndSuffix/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1008:25,21 [11] )
+Generated Location: (1027:26,21 [11] )
|ParentValue|
Source Location: (55:0,55 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|DoSomething|
-Generated Location: (1572:34,55 [11] )
+Generated Location: (1591:35,55 [11] )
|DoSomething|
Source Location: (85:2,7 [131] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -17,7 +17,7 @@ Source Location: (85:2,7 [131] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (1815:44,7 [131] )
+Generated Location: (1834:45,7 [131] )
|
public string ParentValue { get; set; } = "hi";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.codegen.cs
index ffbcbf4c614..b58f4d69f1b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.mappings.txt
index 01b5f6eeaca..f3be9880ace 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExplicitExpression/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml)
| var x = "anotherevent"; |
-Generated Location: (903:24,2 [25] )
+Generated Location: (922:25,2 [25] )
| var x = "anotherevent"; |
Source Location: (49:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1155:32,19 [11] )
+Generated Location: (1174:33,19 [11] )
|ParentValue|
Source Location: (83:1,53 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|x.ToString()|
-Generated Location: (1357:40,53 [12] )
+Generated Location: (1376:41,53 [12] )
|x.ToString()|
Source Location: (109:2,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1696:50,7 [55] )
+Generated Location: (1715:51,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.codegen.cs
index 3c0e75a9dc8..d2a8b0f3558 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.mappings.txt
index 453c7244c73..297c766e4ed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithEventAsExpression/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml)
| var x = "anotherevent"; |
-Generated Location: (903:24,2 [25] )
+Generated Location: (922:25,2 [25] )
| var x = "anotherevent"; |
Source Location: (49:1,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1155:32,19 [11] )
+Generated Location: (1174:33,19 [11] )
|ParentValue|
Source Location: (82:1,52 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1356:40,52 [1] )
+Generated Location: (1375:41,52 [1] )
|x|
Source Location: (96:2,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1684:50,7 [55] )
+Generated Location: (1703:51,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.codegen.cs
index b9dc42daa56..ca02174b539 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.mappings.txt
index 3d8bee69c8d..91a5b4833d4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithGetSetAndSuffix/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (25:0,25 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1012:25,25 [11] )
+Generated Location: (1031:26,25 [11] )
|ParentValue|
Source Location: (57:0,57 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|ValueChanged|
-Generated Location: (1426:34,57 [12] )
+Generated Location: (1445:35,57 [12] )
|ValueChanged|
Source Location: (88:2,7 [144] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -17,7 +17,7 @@ Source Location: (88:2,7 [144] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (1666:44,7 [144] )
+Generated Location: (1685:45,7 [144] )
|
public string ParentValue { get; set; } = "hi";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.codegen.cs
index c1d08088150..ad7f2793389 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.mappings.txt
index bc361ee51e9..8c2516f1131 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithStringAttribute_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (18:0,18 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1005:25,18 [11] )
+Generated Location: (1024:26,18 [11] )
|ParentValue|
Source Location: (42:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1358:36,7 [55] )
+Generated Location: (1377:37,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.codegen.cs
index 139b82f7ce7..1d764fda083 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.mappings.txt
index da5bf6c1d6d..050e1c04fb3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WithoutCloseTag/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (24:1,17 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (938:25,17 [11] )
+Generated Location: (957:26,17 [11] )
|ParentValue|
Source Location: (54:3,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1142:35,7 [55] )
+Generated Location: (1161:36,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
index 9277db7751e..125c156cff6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
index 8f6439275c5..d15b68b791d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToElement_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1000:25,13 [11] )
+Generated Location: (1019:26,13 [11] )
|ParentValue|
Source Location: (37:1,7 [55] x:\dir\subdir\Test\TestComponent.cshtml)
|
public string ParentValue { get; set; } = "hi";
|
-Generated Location: (1353:36,7 [55] )
+Generated Location: (1372:37,7 [55] )
|
public string ParentValue { get; set; } = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs
index 2adc15e8e1d..44d9995250e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt
index bf560118659..8fe618c785d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (21:0,21 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|int|
-Generated Location: (949:25,21 [3] )
+Generated Location: (968:26,21 [3] )
|int|
Source Location: (43:0,43 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1240:34,43 [11] )
+Generated Location: (1259:35,43 [11] )
|ParentValue|
Source Location: (75:0,75 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Update|
-Generated Location: (1664:44,75 [6] )
+Generated Location: (1683:45,75 [6] )
|Update|
Source Location: (32:0,32 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2106:57,32 [5] )
+Generated Location: (2125:58,32 [5] )
|Value|
Source Location: (62:0,62 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2375:66,62 [5] )
+Generated Location: (2394:67,62 [5] )
|Value|
Source Location: (94:1,7 [82] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (94:1,7 [82] x:\dir\subdir\Test\TestComponent.cshtml)
public void Update() { }
|
-Generated Location: (2790:84,7 [82] )
+Generated Location: (2809:85,7 [82] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs
index 6fc0220ef3d..6dc3ebb75ff 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt
index db4d371a4ee..39b2e3f69b8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CustomValue|
-Generated Location: (949:25,21 [11] )
+Generated Location: (968:26,21 [11] )
|CustomValue|
Source Location: (51:0,51 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1264:34,51 [11] )
+Generated Location: (1283:35,51 [11] )
|ParentValue|
Source Location: (81:0,81 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1872:44,81 [11] )
+Generated Location: (1891:45,81 [11] )
|UpdateValue|
Source Location: (40:0,40 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2346:57,40 [5] )
+Generated Location: (2365:58,40 [5] )
|Value|
Source Location: (70:0,70 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2631:66,70 [5] )
+Generated Location: (2650:67,70 [5] )
|Value|
Source Location: (105:1,7 [147] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (105:1,7 [147] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(CustomValue value) => ParentValue = value;
|
-Generated Location: (3046:84,7 [147] )
+Generated Location: (3065:85,7 [147] )
|
public CustomValue ParentValue { get; set; } = new CustomValue();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs
index 55e5a0645ab..92546a5708b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt
index 9410fffb9c7..242c040828e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CustomValue|
-Generated Location: (949:25,21 [11] )
+Generated Location: (968:26,21 [11] )
|CustomValue|
Source Location: (51:0,51 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1264:34,51 [11] )
+Generated Location: (1283:35,51 [11] )
|ParentValue|
Source Location: (81:0,81 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1872:44,81 [11] )
+Generated Location: (1891:45,81 [11] )
|UpdateValue|
Source Location: (40:0,40 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2346:57,40 [5] )
+Generated Location: (2365:58,40 [5] )
|Value|
Source Location: (70:0,70 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2631:66,70 [5] )
+Generated Location: (2650:67,70 [5] )
|Value|
Source Location: (105:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -28,7 +28,7 @@ Source Location: (105:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
public CustomValue ParentValue { get; set; } = new CustomValue();
public EventCallback UpdateValue { get; set; }
|
-Generated Location: (3046:84,7 [138] )
+Generated Location: (3065:85,7 [138] )
|
public CustomValue ParentValue { get; set; } = new CustomValue();
public EventCallback UpdateValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs
index 3d20bb215cf..3c5d71dd763 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt
index a4cd08aee75..7242a256f00 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CustomValue|
-Generated Location: (949:25,21 [11] )
+Generated Location: (968:26,21 [11] )
|CustomValue|
Source Location: (51:0,51 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1264:34,51 [11] )
+Generated Location: (1283:35,51 [11] )
|ParentValue|
Source Location: (81:0,81 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1872:44,81 [11] )
+Generated Location: (1891:45,81 [11] )
|UpdateValue|
Source Location: (40:0,40 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2346:57,40 [5] )
+Generated Location: (2365:58,40 [5] )
|Value|
Source Location: (70:0,70 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2631:66,70 [5] )
+Generated Location: (2650:67,70 [5] )
|Value|
Source Location: (105:1,7 [179] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (105:1,7 [179] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue(CustomValue value) { ParentValue = value; return Task.CompletedTask; }
|
-Generated Location: (3046:84,7 [179] )
+Generated Location: (3065:85,7 [179] )
|
public CustomValue ParentValue { get; set; } = new CustomValue();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs
index 3b0c9886bbc..07bb2ad7825 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt
index 604c2a315db..89eb95b316e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (62:0,62 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Update|
-Generated Location: (1440:34,62 [6] )
+Generated Location: (1459:35,62 [6] )
|Update|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1701:44,19 [5] )
+Generated Location: (1720:45,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1952:53,49 [5] )
+Generated Location: (1971:54,49 [5] )
|Value|
Source Location: (81:1,7 [82] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (81:1,7 [82] x:\dir\subdir\Test\TestComponent.cshtml)
public void Update() { }
|
-Generated Location: (2367:71,7 [82] )
+Generated Location: (2386:72,7 [82] )
|
public int ParentValue { get; set; } = 42;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs
index f95fed5f34b..43f19e2d941 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt
index 6465dec6da6..2b5c37a263d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1484:34,60 [11] )
+Generated Location: (1503:35,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1761:44,19 [5] )
+Generated Location: (1780:45,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2012:53,49 [5] )
+Generated Location: (2031:54,49 [5] )
|Value|
Source Location: (84:1,7 [147] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (84:1,7 [147] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(CustomValue value) => ParentValue = value;
|
-Generated Location: (2427:71,7 [147] )
+Generated Location: (2446:72,7 [147] )
|
public CustomValue ParentValue { get; set; } = new CustomValue();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs
index 50761659a3a..4946a21f116 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt
index 95bcf64adcc..8340d3c5900 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1484:34,60 [11] )
+Generated Location: (1503:35,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1761:44,19 [5] )
+Generated Location: (1780:45,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2012:53,49 [5] )
+Generated Location: (2031:54,49 [5] )
|Value|
Source Location: (84:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -23,7 +23,7 @@ Source Location: (84:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
public CustomValue ParentValue { get; set; } = new CustomValue();
public EventCallback UpdateValue { get; set; }
|
-Generated Location: (2427:71,7 [138] )
+Generated Location: (2446:72,7 [138] )
|
public CustomValue ParentValue { get; set; } = new CustomValue();
public EventCallback UpdateValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs
index a406fc02c33..f1203c2bcb7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt
index 67c1ed4cc33..3aea9835219 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (30:0,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1076:25,30 [11] )
+Generated Location: (1095:26,30 [11] )
|ParentValue|
Source Location: (60:0,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1484:34,60 [11] )
+Generated Location: (1503:35,60 [11] )
|UpdateValue|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1761:44,19 [5] )
+Generated Location: (1780:45,19 [5] )
|Value|
Source Location: (49:0,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2012:53,49 [5] )
+Generated Location: (2031:54,49 [5] )
|Value|
Source Location: (84:1,7 [175] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -24,7 +24,7 @@ Source Location: (84:1,7 [175] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue(CustomValue value) { ParentValue = value; return Task.CompletedTask; }
|
-Generated Location: (2427:71,7 [175] )
+Generated Location: (2446:72,7 [175] )
|
public CustomValue ParentValue { get; set; } = new CustomValue();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.codegen.cs
index ae5409d2a88..2f4ab117cf4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.mappings.txt
index 2f41cad6e70..09fc870831d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Globalization|
-Generated Location: (360:12,0 [26] )
+Generated Location: (361:12,0 [26] )
|using System.Globalization|
Source Location: (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1171:32,35 [11] )
+Generated Location: (1172:32,35 [11] )
|ParentValue|
Source Location: (121:2,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; }
|
-Generated Location: (1524:43,7 [44] )
+Generated Location: (1525:43,7 [44] )
|
public int ParentValue { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.codegen.cs
index cb2e7edf82c..9470e2a17f1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.mappings.txt
index 86d84fd771b..f3c76aa7413 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToInputElementWithDefaultCulture_Override/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (1:0,1 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Globalization|
-Generated Location: (360:12,0 [26] )
+Generated Location: (361:12,0 [26] )
|using System.Globalization|
Source Location: (64:1,35 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1171:32,35 [11] )
+Generated Location: (1172:32,35 [11] )
|ParentValue|
Source Location: (131:1,102 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|CultureInfo.CurrentCulture|
-Generated Location: (1431:40,102 [26] )
+Generated Location: (1432:40,102 [26] )
|CultureInfo.CurrentCulture|
Source Location: (170:2,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; }
|
-Generated Location: (1836:51,7 [44] )
+Generated Location: (1837:51,7 [44] )
|
public int ParentValue { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
index 343793dacfc..3b9f02c70f7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
index 0bd755408ed..26abcb842fa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndAttributeChildContent/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (2:0,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment header = (context) => |
-Generated Location: (903:24,2 [46] )
+Generated Location: (922:25,2 [46] )
| RenderFragment header = (context) => |
Source Location: (55:0,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLowerInvariant()|
-Generated Location: (1157:32,55 [26] )
+Generated Location: (1176:33,55 [26] )
|context.ToLowerInvariant()|
Source Location: (87:0,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
-Generated Location: (1408:40,87 [2] )
+Generated Location: (1427:41,87 [2] )
|; |
Source Location: (113:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|header|
-Generated Location: (1647:48,21 [6] )
+Generated Location: (1666:49,21 [6] )
|header|
Source Location: (105:1,13 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Header|
-Generated Location: (2061:61,13 [6] )
+Generated Location: (2080:62,13 [6] )
|Header|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
index 356136cb51d..8d52d8bfeb0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
index d0b7e6e5928..a7d101601f7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BodyAndExplicitChildContent/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (2:0,2 [46] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment header = (context) => |
-Generated Location: (903:24,2 [46] )
+Generated Location: (922:25,2 [46] )
| RenderFragment header = (context) => |
Source Location: (55:0,55 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLowerInvariant()|
-Generated Location: (1157:32,55 [26] )
+Generated Location: (1176:33,55 [26] )
|context.ToLowerInvariant()|
Source Location: (87:0,87 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
-Generated Location: (1408:40,87 [2] )
+Generated Location: (1427:41,87 [2] )
|; |
Source Location: (113:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|header|
-Generated Location: (1647:48,21 [6] )
+Generated Location: (1666:49,21 [6] )
|header|
Source Location: (105:1,13 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Header|
-Generated Location: (2218:64,13 [6] )
+Generated Location: (2237:65,13 [6] )
|Header|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
index b5016f282bd..2af2b314221 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
index 48cdda51e89..1026782ab4a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputCheckbox_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (31:0,31 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Enabled|
-Generated Location: (952:25,31 [7] )
+Generated Location: (971:26,31 [7] )
|Enabled|
Source Location: (51:1,7 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|
public bool Enabled { get; set; }
|
-Generated Location: (1152:35,7 [41] )
+Generated Location: (1171:36,7 [41] )
|
public bool Enabled { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.codegen.cs
index 61649a504f8..41b19e00565 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.mappings.txt
index 107f248b0e9..f094c0691a4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_CanOverrideEvent/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (59:1,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1166:32,15 [11] )
+Generated Location: (1167:32,15 [11] )
|CurrentDate|
Source Location: (126:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1553:43,7 [77] )
+Generated Location: (1554:43,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
index ab9be772f8b..4d82981feec 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
index 9d7819b8b70..103d121de33 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (948:25,27 [11] )
+Generated Location: (967:26,27 [11] )
|CurrentDate|
Source Location: (55:0,55 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Format|
-Generated Location: (1171:34,55 [6] )
+Generated Location: (1190:35,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: (1370:44,7 [135] )
+Generated Location: (1389:45,7 [135] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
index c9143cdc0cf..69703d78e09 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
index 6e6d12c35ce..a4f44cd4953 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormat_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (948:25,27 [11] )
+Generated Location: (967:26,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: (1152:35,7 [77] )
+Generated Location: (1171:36,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
index e3b3dd93200..18286559af4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
index d8f9ea40d64..81a75ef7289 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputText_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (948:25,27 [11] )
+Generated Location: (967:26,27 [11] )
|ParentValue|
Source Location: (51:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1152:35,7 [50] )
+Generated Location: (1171:36,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.codegen.cs
index ad72516c8b3..360cbef7869 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.mappings.txt
index b1a4950e6e8..c60e0505677 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultCultureAndDefaultFormat_Override/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1016:25,29 [11] )
+Generated Location: (1035:26,29 [11] )
|CurrentDate|
Source Location: (78:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1549:36,7 [77] )
+Generated Location: (1568:37,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.codegen.cs
index 82e2ab023eb..857f9afb660 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.mappings.txt
index d2aca52b6a3..36137c1df2c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1016:25,29 [11] )
+Generated Location: (1035:26,29 [11] )
|CurrentDate|
Source Location: (53:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1403:36,7 [77] )
+Generated Location: (1422:37,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.codegen.cs
index e5481d926cc..0395d4210de 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.mappings.txt
index b7efc58f087..e7fec6bdb6c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithDefaultFormat_Override/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (29:0,29 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1016:25,29 [11] )
+Generated Location: (1035:26,29 [11] )
|CurrentDate|
Source Location: (78:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1413:36,7 [77] )
+Generated Location: (1432:37,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.codegen.cs
index 325b6b785b5..c68dfd772f5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.mappings.txt
index 3622e2a6b14..025afcec493 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (65:1,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1172:32,21 [11] )
+Generated Location: (1173:32,21 [11] )
|CurrentDate|
Source Location: (116:2,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1559:43,7 [77] )
+Generated Location: (1560:43,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.codegen.cs
index 90c1e2e8526..2c9d5a0594f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.mappings.txt
index a292a6bb298..61f7ea76ddd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithSuffix_CanOverrideEvent/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|CurrentDate|
-Generated Location: (1008:25,21 [11] )
+Generated Location: (1027:26,21 [11] )
|CurrentDate|
Source Location: (100:1,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
-Generated Location: (1395:36,7 [77] )
+Generated Location: (1414:37,7 [77] )
|
public DateTime CurrentDate { get; set; } = new DateTime(2018, 1, 1);
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.codegen.cs
index 91206280e45..45bbc3cacd1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.mappings.txt
index 54eeeb75412..4e1125cd5cc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_IsCaseSensitive/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (936:25,15 [11] )
+Generated Location: (955:26,15 [11] )
|ParentValue|
Source Location: (39:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1140:35,7 [50] )
+Generated Location: (1159:36,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
index 91206280e45..45bbc3cacd1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
index 54eeeb75412..4e1125cd5cc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BuiltIn_BindToInputWithoutType_WritesAttributes/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (15:0,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (936:25,15 [11] )
+Generated Location: (955:26,15 [11] )
|ParentValue|
Source Location: (39:1,7 [50] x:\dir\subdir\Test\TestComponent.cshtml)
|
public int ParentValue { get; set; } = 42;
|
-Generated Location: (1140:35,7 [50] )
+Generated Location: (1159:36,7 [50] )
|
public int ParentValue { get; set; } = 42;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.codegen.cs
index 8da2d745b72..d685716ccb3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.mappings.txt
index cc176b1d0db..98264d523df 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CanProduceLinePragmasForComponentWithRenderFragment/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (65:1,46 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|ActionText|
-Generated Location: (947:24,46 [10] )
+Generated Location: (966:25,46 [10] )
|ActionText|
Source Location: (84:2,3 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|if (!Collapsed)
{
|
-Generated Location: (1083:31,3 [26] )
+Generated Location: (1102:32,3 [26] )
|if (!Collapsed)
{
|
Source Location: (154:5,7 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent|
-Generated Location: (1238:40,7 [12] )
+Generated Location: (1257:41,7 [12] )
|ChildContent|
Source Location: (178:6,10 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1383:47,10 [5] )
+Generated Location: (1402:48,10 [5] )
|
}|
@@ -28,14 +28,14 @@ Source Location: (201:10,1 [83] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter]
public RenderFragment ChildContent { get; set; } = (context) => |
-Generated Location: (1561:57,1 [83] )
+Generated Location: (1580:58,1 [83] )
|
[Parameter]
public RenderFragment ChildContent { get; set; } = (context) => |
Source Location: (288:12,70 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|context|
-Generated Location: (1837:66,70 [7] )
+Generated Location: (1856:67,70 [7] )
|context|
Source Location: (299:12,81 [179] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -48,7 +48,7 @@ Source Location: (299:12,81 [179] x:\dir\subdir\Test\TestComponent.cshtml)
Collapsed = !Collapsed;
}
|
-Generated Location: (2049:73,81 [179] )
+Generated Location: (2068:74,81 [179] )
|
[Parameter]
public bool Collapsed { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.codegen.cs
index bfea9c61a6b..9c46a2678d3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.mappings.txt
index 2dd3c4fbeae..a645048861f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_CombiningMultipleAncestors/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (19:0,19 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|int.MaxValue|
-Generated Location: (1039:26,19 [12] )
+Generated Location: (1058:27,19 [12] )
|int.MaxValue|
Source Location: (59:1,24 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|"Hello"|
-Generated Location: (1584:37,24 [7] )
+Generated Location: (1603:38,24 [7] )
|"Hello"|
Source Location: (50:1,15 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2530:58,15 [5] )
+Generated Location: (2549:59,15 [5] )
|Value|
Source Location: (11:0,11 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (3084:79,11 [5] )
+Generated Location: (3103:80,11 [5] )
|Value|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.codegen.cs
index 5887818d68d..b8d53f0232c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.mappings.txt
index 0c362613ce9..f8353e45449 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Explicit/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (13:0,13 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime|
-Generated Location: (941:25,13 [8] )
+Generated Location: (960:26,13 [8] )
|DateTime|
Source Location: (32:0,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1279:34,32 [23] )
+Generated Location: (1298:35,32 [23] )
|Array.Empty()|
Source Location: (23:0,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2351:63,23 [5] )
+Generated Location: (2370:64,23 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.codegen.cs
index 538ccf32b12..a440ae61611 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.mappings.txt
index 461e886509a..4023b3c19ed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ExplicitOverride/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (13:0,13 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime|
-Generated Location: (941:25,13 [8] )
+Generated Location: (960:26,13 [8] )
|DateTime|
Source Location: (32:0,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1279:34,32 [23] )
+Generated Location: (1298:35,32 [23] )
|Array.Empty()|
Source Location: (73:0,73 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|System.TimeZoneInfo|
-Generated Location: (1675:44,73 [19] )
+Generated Location: (1694:45,73 [19] )
|System.TimeZoneInfo|
Source Location: (23:0,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2322:66,23 [5] )
+Generated Location: (2341:67,23 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.codegen.cs
index 8a40f04e7f7..fad35ab7747 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.mappings.txt
index bccf03868f9..41c93986114 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (14:0,14 [24] x:\dir\subdir\Test\TestComponent.cshtml)
|() => new List()|
-Generated Location: (1029:26,14 [24] )
+Generated Location: (1048:27,14 [24] )
|() => new List()|
Source Location: (6:0,6 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (1896:47,6 [4] )
+Generated Location: (1915:48,6 [4] )
|Data|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.codegen.cs
index 2955efa54a3..9d549042a04 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.mappings.txt
index a8c69111868..4c78faebef1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (14:0,14 [33] x:\dir\subdir\Test\TestComponent.cshtml)
|() => new Dictionary()|
-Generated Location: (1029:26,14 [33] )
+Generated Location: (1048:27,14 [33] )
|() => new Dictionary()|
Source Location: (6:0,6 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (1905:47,6 [4] )
+Generated Location: (1924:48,6 [4] )
|Data|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.codegen.cs
index 5d3587c226e..a603eaf9605 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.mappings.txt
index a8c69111868..4c78faebef1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_02/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (14:0,14 [33] x:\dir\subdir\Test\TestComponent.cshtml)
|() => new Dictionary()|
-Generated Location: (1029:26,14 [33] )
+Generated Location: (1048:27,14 [33] )
|() => new Dictionary()|
Source Location: (6:0,6 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (1905:47,6 [4] )
+Generated Location: (1924:48,6 [4] )
|Data|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.codegen.cs
index 12f706ac49a..4ca0c2b3b95 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.mappings.txt
index 7430a97c748..52d3fbd6239 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_03/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (14:0,14 [27] x:\dir\subdir\Test\TestComponent.cshtml)
|new Dictionary()|
-Generated Location: (1029:26,14 [27] )
+Generated Location: (1048:27,14 [27] )
|new Dictionary()|
Source Location: (6:0,6 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (1899:47,6 [4] )
+Generated Location: (1918:48,6 [4] )
|Data|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.codegen.cs
index 5805c04dc1a..589454726e7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.mappings.txt
index 24040867b88..1bc68412c51 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericArgumentNested_Dictionary_Dynamic/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (14:0,14 [33] x:\dir\subdir\Test\TestComponent.cshtml)
|new Dictionary()|
-Generated Location: (1029:26,14 [33] )
+Generated Location: (1048:27,14 [33] )
|new Dictionary()|
Source Location: (6:0,6 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (1905:47,6 [4] )
+Generated Location: (1924:48,6 [4] )
|Data|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.codegen.cs
index 7e32d6e6aa8..cc529ccf60e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.mappings.txt
index ec25526d440..240ba9efde0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericChildContent/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (15:0,15 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1030:26,15 [23] )
+Generated Location: (1049:27,15 [23] )
|Array.Empty()|
Source Location: (50:0,50 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|context.Year|
-Generated Location: (1670:36,50 [12] )
+Generated Location: (1689:37,50 [12] )
|context.Year|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2150:56,6 [5] )
+Generated Location: (2169:57,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.codegen.cs
index 21956d2194d..f17ecd73e92 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.mappings.txt
index 1c6d13fa29d..046b2b1a0b2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_GenericLambda/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (15:0,15 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1030:26,15 [23] )
+Generated Location: (1049:27,15 [23] )
|Array.Empty()|
Source Location: (63:0,63 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|x => x.Year|
-Generated Location: (1653:36,63 [11] )
+Generated Location: (1672:37,63 [11] )
|x => x.Year|
Source Location: (49:0,49 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|SomeLambda|
-Generated Location: (1964:46,49 [10] )
+Generated Location: (1983:47,49 [10] )
|SomeLambda|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2480:66,6 [5] )
+Generated Location: (2499:67,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.codegen.cs
index c12c8c53fc2..5ed512a3331 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.mappings.txt
index 6ab8c150daf..49f785d7d6c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (13:0,13 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|WeatherForecast|
-Generated Location: (941:25,13 [15] )
+Generated Location: (960:26,13 [15] )
|WeatherForecast|
Source Location: (39:0,39 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1153:34,39 [30] )
+Generated Location: (1172:35,39 [30] )
|Array.Empty()|
Source Location: (126:2,29 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|FieldName|
-Generated Location: (1775:46,29 [9] )
+Generated Location: (1794:47,29 [9] )
|FieldName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.codegen.cs
index 06a4878051c..9cf3268f516 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.mappings.txt
index c4d77294011..6e4d595daa8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_ClassesAndInterfaces/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|using Models;|
-Generated Location: (360:12,0 [13] )
+Generated Location: (361:12,0 [13] )
|using Models;|
Source Location: (31:2,13 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|WeatherForecast|
-Generated Location: (1076:32,13 [15] )
+Generated Location: (1077:32,13 [15] )
|WeatherForecast|
Source Location: (57:2,39 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1288:41,39 [30] )
+Generated Location: (1289:41,39 [30] )
|Array.Empty()|
Source Location: (144:4,29 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|FieldName|
-Generated Location: (1910:53,29 [9] )
+Generated Location: (1911:53,29 [9] )
|FieldName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.codegen.cs
index ee4e49daa0f..51916050079 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.mappings.txt
index d01f98734b7..e9bc32008ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_MultipleConstraints_GenericClassConstraints/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|using Models;|
-Generated Location: (360:12,0 [13] )
+Generated Location: (361:12,0 [13] )
|using Models;|
Source Location: (29:1,13 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|WeatherForecast|
-Generated Location: (1076:32,13 [15] )
+Generated Location: (1077:32,13 [15] )
|WeatherForecast|
Source Location: (55:1,39 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1288:41,39 [30] )
+Generated Location: (1289:41,39 [30] )
|Array.Empty()|
Source Location: (142:3,29 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|FieldName|
-Generated Location: (1910:53,29 [9] )
+Generated Location: (1911:53,29 [9] )
|FieldName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.codegen.cs
index b78409f4fed..8c8950664b0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.mappings.txt
index 6ab8c150daf..49f785d7d6c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Inferred_WithConstraints/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (13:0,13 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|WeatherForecast|
-Generated Location: (941:25,13 [15] )
+Generated Location: (960:26,13 [15] )
|WeatherForecast|
Source Location: (39:0,39 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1153:34,39 [30] )
+Generated Location: (1172:35,39 [30] )
|Array.Empty()|
Source Location: (126:2,29 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|FieldName|
-Generated Location: (1775:46,29 [9] )
+Generated Location: (1794:47,29 [9] )
|FieldName|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.codegen.cs
index 10f753ca40f..bf5e8568ec0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.mappings.txt
index e4222ac0511..529bcb8ecd7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Multilayer/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (19:0,19 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1038:26,19 [23] )
+Generated Location: (1057:27,19 [23] )
|Array.Empty()|
Source Location: (10:0,10 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2258:57,10 [5] )
+Generated Location: (2277:58,10 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.codegen.cs
index 03c0b74db5e..51edc7618ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.mappings.txt
index 94427b9a176..1239aa1989d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_MultipleTypes/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (16:0,16 [56] x:\dir\subdir\Test\TestComponent.cshtml)
|new System.Collections.Generic.Dictionary()|
-Generated Location: (1033:26,16 [56] )
+Generated Location: (1052:27,16 [56] )
|new System.Collections.Generic.Dictionary()|
Source Location: (83:0,83 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.MinValue|
-Generated Location: (1351:34,83 [17] )
+Generated Location: (1370:35,83 [17] )
|DateTime.MinValue|
Source Location: (133:1,29 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|new[] { 'a', 'b', 'c' }|
-Generated Location: (2027:44,29 [23] )
+Generated Location: (2046:45,29 [23] )
|new[] { 'a', 'b', 'c' }|
Source Location: (115:1,11 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildOnlyItems|
-Generated Location: (2311:54,11 [14] )
+Generated Location: (2330:55,11 [14] )
|ChildOnlyItems|
Source Location: (8:0,8 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (2836:74,8 [4] )
+Generated Location: (2855:75,8 [4] )
|Data|
Source Location: (75:0,75 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Other|
-Generated Location: (3115:83,75 [5] )
+Generated Location: (3134:84,75 [5] )
|Other|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.codegen.cs
index 21cec89183d..54e84089e4a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.mappings.txt
index 53cc46e095b..712bcb47970 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_CreatesError/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (15:0,15 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1047:25,15 [23] )
+Generated Location: (1066:26,15 [23] )
|Array.Empty()|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (1511:44,6 [5] )
+Generated Location: (1530:45,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.codegen.cs
index b003669488f..b6ef2252822 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.mappings.txt
index f48432271e5..2972bce32b7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Explicit/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (13:0,13 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime|
-Generated Location: (941:25,13 [8] )
+Generated Location: (960:26,13 [8] )
|DateTime|
Source Location: (32:0,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1279:34,32 [23] )
+Generated Location: (1298:35,32 [23] )
|Array.Empty()|
Source Location: (23:0,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (1881:54,23 [5] )
+Generated Location: (1900:55,23 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.codegen.cs
index 56533f96704..a988ad81a7a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.mappings.txt
index 608de8316b0..67fac242b74 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_NotCascaded_Inferred/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (15:0,15 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1030:26,15 [23] )
+Generated Location: (1049:27,15 [23] )
|Array.Empty()|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2211:55,6 [5] )
+Generated Location: (2230:56,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.codegen.cs
index 7cb78c3b69b..9e1b41b321b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.mappings.txt
index 0e5248528b1..ee92cde1a72 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (15:0,15 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1030:26,15 [23] )
+Generated Location: (1049:27,15 [23] )
|Array.Empty()|
Source Location: (66:0,66 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|"Some string"|
-Generated Location: (1627:36,66 [13] )
+Generated Location: (1646:37,66 [13] )
|"Some string"|
Source Location: (49:0,49 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|OverrideParam|
-Generated Location: (1940:46,49 [13] )
+Generated Location: (1959:47,49 [13] )
|OverrideParam|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2458:66,6 [5] )
+Generated Location: (2477:67,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.codegen.cs
index 5b382cf4bf2..c879f3e59ee 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.mappings.txt
index 1d5ad0fa38a..d45c93e8fbc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Override_Multilayer/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (17:0,17 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (1036:26,17 [12] )
+Generated Location: (1055:27,17 [12] )
|DateTime.Now|
Source Location: (54:1,21 [37] x:\dir\subdir\Test\TestComponent.cshtml)
|System.Threading.Thread.CurrentThread|
-Generated Location: (1575:37,21 [37] )
+Generated Location: (1594:38,21 [37] )
|System.Threading.Thread.CurrentThread|
Source Location: (47:1,14 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (3529:74,14 [4] )
+Generated Location: (3548:75,14 [4] )
|Item|
Source Location: (10:0,10 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (4657:106,10 [4] )
+Generated Location: (4676:107,10 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.codegen.cs
index 43f9f08b98d..695ca6272bc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace MyApp.Components
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.mappings.txt
index 0ff472a93bc..56c5b307b79 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_ParameterInNamespace/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (11:0,11 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|MyApp.Components|
-Generated Location: (655:17,44 [16] )
+Generated Location: (674:18,44 [16] )
|MyApp.Components|
Source Location: (59:2,28 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|new MyClass()|
-Generated Location: (1330:36,28 [21] )
+Generated Location: (1349:37,28 [21] )
|new MyClass()|
Source Location: (48:2,17 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (2286:57,17 [9] )
+Generated Location: (2305:58,17 [9] )
|Parameter|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.codegen.cs
index fae21f5e6a2..4d23064b716 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.mappings.txt
index 49894bdfdcd..ca6ba3a22b7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Partial_CreatesError/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (15:0,15 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1030:26,15 [23] )
+Generated Location: (1049:27,15 [23] )
|Array.Empty()|
Source Location: (62:0,62 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|long|
-Generated Location: (1514:36,62 [4] )
+Generated Location: (1533:37,62 [4] )
|long|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2151:58,6 [5] )
+Generated Location: (2170:59,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.codegen.cs
index f03904d2741..7a7b797fa7d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.mappings.txt
index 2cea71aee40..e5603a97e7a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_Tuple/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (28:0,28 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|(1, 2)|
-Generated Location: (1054:26,28 [6] )
+Generated Location: (1073:27,28 [6] )
|(1, 2)|
Source Location: (17:0,17 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (1959:47,17 [9] )
+Generated Location: (1978:48,17 [9] )
|Parameter|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.codegen.cs
index 743ce5a7d08..90e2cb5df33 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.mappings.txt
index 3be44e7c653..f7ae5842f9e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithSplatAndKey/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (2:0,2 [60] x:\dir\subdir\Test\TestComponent.cshtml)
| var parentKey = new object(); var childKey = new object(); |
-Generated Location: (903:24,2 [60] )
+Generated Location: (922:25,2 [60] )
| var parentKey = new object(); var childKey = new object(); |
Source Location: (98:1,33 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|Array.Empty()|
-Generated Location: (1232:33,33 [23] )
+Generated Location: (1251:34,33 [23] )
|Array.Empty()|
Source Location: (179:2,53 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.MinValue|
-Generated Location: (1853:43,53 [17] )
+Generated Location: (1872:44,53 [17] )
|DateTime.MinValue|
Source Location: (145:2,19 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|childKey|
-Generated Location: (2039:51,19 [8] )
+Generated Location: (2058:52,19 [8] )
|childKey|
Source Location: (78:1,13 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|parentKey|
-Generated Location: (2407:68,13 [9] )
+Generated Location: (2426:69,13 [9] )
|parentKey|
Source Location: (89:1,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2677:78,24 [5] )
+Generated Location: (2696:79,24 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.codegen.cs
index 9079733ce23..725cf647922 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.mappings.txt
index 37c06924e8c..08ff0561fec 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/CascadingGenericInference_WithUnrelatedType_CreatesError/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (15:0,15 [29] x:\dir\subdir\Test\TestComponent.cshtml)
|new Dictionary()|
-Generated Location: (1030:26,15 [29] )
+Generated Location: (1049:27,15 [29] )
|new Dictionary()|
Source Location: (6:0,6 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (1721:46,6 [5] )
+Generated Location: (1740:47,6 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.codegen.cs
index 04792f49bf2..e5f00921272 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.mappings.txt
index 46fe3f1d09e..e4f2efc7c36 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_AtSpecifiedInRazorFileForTypeParameter/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (7:0,7 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (935:25,7 [6] )
+Generated Location: (954:26,7 [6] )
|string|
Source Location: (21:0,21 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1224:34,21 [1] )
+Generated Location: (1243:35,21 [1] )
|1|
Source Location: (15:0,15 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1633:47,15 [4] )
+Generated Location: (1652:48,15 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
index d714dff93e8..de65e29cd21 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
index 5dc0acc4799..863d82026d1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (947:25,19 [6] )
+Generated Location: (966:26,19 [6] )
|string|
Source Location: (34:0,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1235:34,34 [4] )
+Generated Location: (1254:35,34 [4] )
|"hi"|
Source Location: (26:0,26 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1668:47,26 [4] )
+Generated Location: (1687:48,26 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
index a62f3c0a105..eb4df3e718e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
index 1a8e2650380..edff2b12e9a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (947:25,19 [6] )
+Generated Location: (966:26,19 [6] )
|string|
Source Location: (37:0,37 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1238:34,37 [5] )
+Generated Location: (1257:35,37 [5] )
|Value|
Source Location: (32:0,32 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1774:49,32 [4] )
+Generated Location: (1793:50,32 [4] )
|Item|
Source Location: (53:1,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
-Generated Location: (2188:67,7 [21] )
+Generated Location: (2207:68,7 [21] )
|
string Value;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
index 82e1b11c84c..2ac7da561ee 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
index 07d84a0ba64..dcfaa88f81a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (947:25,19 [6] )
+Generated Location: (966:26,19 [6] )
|string|
Source Location: (37:0,37 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1148:34,37 [5] )
+Generated Location: (1167:35,37 [5] )
|Value|
Source Location: (53:1,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
-Generated Location: (1833:55,7 [21] )
+Generated Location: (1852:56,7 [21] )
|
string Value;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
index 9631846c552..744c577f757 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
index 9a641d46006..7bfe1643e6a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBindWeaklyTyped_TypeInference/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (38:0,38 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|18|
-Generated Location: (1084:25,38 [2] )
+Generated Location: (1103:26,38 [2] )
|18|
Source Location: (24:0,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1252:33,24 [5] )
+Generated Location: (1271:34,24 [5] )
|Value|
Source Location: (30:0,30 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1665:43,30 [5] )
+Generated Location: (1684:44,30 [5] )
|Value|
Source Location: (52:1,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
-Generated Location: (2080:61,7 [21] )
+Generated Location: (2099:62,7 [21] )
|
string Value;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
index abbdc99110c..4682e2a0f7b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
index 0cc0e23715a..61b5b01486d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericBind_TypeInference/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (24:0,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1070:25,24 [5] )
+Generated Location: (1089:26,24 [5] )
|Value|
Source Location: (19:0,19 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1372:36,19 [4] )
+Generated Location: (1391:37,19 [4] )
|Item|
Source Location: (57:1,24 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1899:53,24 [5] )
+Generated Location: (1918:54,24 [5] )
|Value|
Source Location: (52:1,19 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (2201:64,19 [4] )
+Generated Location: (2220:65,19 [4] )
|Item|
Source Location: (73:2,7 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|
string Value;
|
-Generated Location: (2615:82,7 [21] )
+Generated Location: (2634:83,7 [21] )
|
string Value;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
index c344de71b68..90f4dcc43b9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
index 8e0f5de4e3d..9635887f2fa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (947:25,19 [6] )
+Generated Location: (966:26,19 [6] )
|string|
Source Location: (34:0,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1235:34,34 [4] )
+Generated Location: (1254:35,34 [4] )
|"hi"|
Source Location: (51:1,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLower()|
-Generated Location: (1537:43,8 [17] )
+Generated Location: (1556:44,8 [17] )
|context.ToLower()|
Source Location: (26:0,26 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1837:54,26 [4] )
+Generated Location: (1856:55,26 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
index 4e966a5ba7f..0e76ed09a85 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
index 4a817fd5e20..8d639cb2d48 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericChildContent_TypeInference/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (21:0,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1067:25,21 [4] )
+Generated Location: (1086:26,21 [4] )
|"hi"|
Source Location: (38:1,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLower()|
-Generated Location: (1251:33,8 [17] )
+Generated Location: (1270:34,8 [17] )
|context.ToLower()|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1529:44,13 [4] )
+Generated Location: (1548:45,13 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
index 3b3b7a49c01..f0eb52a5d84 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
index cc5ee6936a8..c159802e662 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (947:25,19 [6] )
+Generated Location: (966:26,19 [6] )
|string|
Source Location: (34:0,34 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1235:34,34 [4] )
+Generated Location: (1254:35,34 [4] )
|"hi"|
Source Location: (50:0,50 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|17|
-Generated Location: (1447:43,50 [2] )
+Generated Location: (1466:44,50 [2] )
|17|
Source Location: (26:0,26 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1877:56,26 [4] )
+Generated Location: (1896:57,26 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
index 71e0a7d6c8f..d21aafe865f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
index 1de27ddc264..ee436057320 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (21:0,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1067:25,21 [4] )
+Generated Location: (1086:26,21 [4] )
|"hi"|
Source Location: (37:0,37 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|17|
-Generated Location: (1250:33,37 [2] )
+Generated Location: (1269:34,37 [2] )
|17|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1497:43,13 [4] )
+Generated Location: (1516:44,13 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
index 29de127e99b..d5ecd13ba4d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
index 456d0fcb23f..e3fb14e9b65 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (21:0,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1067:25,21 [4] )
+Generated Location: (1086:26,21 [4] )
|"hi"|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1316:35,13 [4] )
+Generated Location: (1335:36,13 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
index 89091d00ea2..744bd8d6834 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
index 454d5bb7418..8523a02700a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Generic_TypeInference_Multiple/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (21:0,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1067:25,21 [4] )
+Generated Location: (1086:26,21 [4] )
|"hi"|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1316:35,13 [4] )
+Generated Location: (1335:36,13 [4] )
|Item|
Source Location: (52:1,21 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|"how are you?"|
-Generated Location: (1840:52,21 [14] )
+Generated Location: (1859:53,21 [14] )
|"how are you?"|
Source Location: (44:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (2099:62,13 [4] )
+Generated Location: (2118:63,13 [4] )
|Item|
Source Location: (93:2,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|"bye!"|
-Generated Location: (2623:79,21 [6] )
+Generated Location: (2642:80,21 [6] )
|"bye!"|
Source Location: (85:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (2874:89,13 [4] )
+Generated Location: (2893:90,13 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.codegen.cs
index df12bbfa2e0..c96315ce667 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.mappings.txt
index 9787204468b..af65fc63706 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InFunctionsDirective/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (1:0,1 [48] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Rendering;|
-Generated Location: (360:12,0 [48] )
+Generated Location: (361:12,0 [48] )
|using Microsoft.AspNetCore.Components.Rendering;|
Source Location: (55:2,2 [34] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderChildComponent(__builder); |
-Generated Location: (1073:31,2 [34] )
+Generated Location: (1074:31,2 [34] )
| RenderChildComponent(__builder); |
Source Location: (101:4,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (101:4,7 [77] x:\dir\subdir\Test\TestComponent.cshtml)
void RenderChildComponent(RenderTreeBuilder __builder)
{
|
-Generated Location: (1285:40,7 [77] )
+Generated Location: (1286:40,7 [77] )
|
void RenderChildComponent(RenderTreeBuilder __builder)
{
@@ -23,7 +23,7 @@ Source Location: (193:7,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
}
|
-Generated Location: (1819:60,23 [9] )
+Generated Location: (1820:60,23 [9] )
|
}
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.codegen.cs
index 8d06de31584..c64823328d8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.mappings.txt
index 7956db01199..edc57463146 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_InLocalFunction/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.RenderTree;|
-Generated Location: (360:12,0 [49] )
+Generated Location: (361:12,0 [49] )
|using Microsoft.AspNetCore.Components.RenderTree;|
Source Location: (54:1,2 [50] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (54:1,2 [50] x:\dir\subdir\Test\TestComponent.cshtml)
void RenderChildComponent()
{
|
-Generated Location: (1074:31,2 [50] )
+Generated Location: (1075:31,2 [50] )
|
void RenderChildComponent()
{
@@ -18,13 +18,13 @@ Source Location: (119:4,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
}
|
-Generated Location: (1593:51,23 [9] )
+Generated Location: (1594:51,23 [9] )
|
}
|
Source Location: (135:8,2 [25] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderChildComponent(); |
-Generated Location: (1724:59,2 [25] )
+Generated Location: (1725:59,2 [25] )
| RenderChildComponent(); |
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
index 3293abd07b1..7038fce47fa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
index b6e1385dde3..8e90ca4a8ca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (20:0,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (948:25,20 [6] )
+Generated Location: (967:26,20 [6] )
|string|
Source Location: (34:0,34 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|int|
-Generated Location: (1153:34,34 [3] )
+Generated Location: (1172:35,34 [3] )
|int|
Source Location: (46:0,46 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1450:43,46 [4] )
+Generated Location: (1469:44,46 [4] )
|"hi"|
Source Location: (77:1,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLower()|
-Generated Location: (1766:52,22 [17] )
+Generated Location: (1785:53,22 [17] )
|context.ToLower()|
Source Location: (158:3,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
|System.Math.Max(0, item.Item)|
-Generated Location: (2131:62,6 [29] )
+Generated Location: (2150:63,6 [29] )
|System.Math.Max(0, item.Item)|
Source Location: (38:0,38 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (2460:73,38 [4] )
+Generated Location: (2479:74,38 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
index ec8dd14ed95..94776f4bb33 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
index 81a233122b6..be708b059a6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_MultipleGenerics_TypeInference/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (21:0,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1067:25,21 [4] )
+Generated Location: (1086:26,21 [4] )
|"hi"|
Source Location: (36:0,36 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|new List()|
-Generated Location: (1249:33,36 [16] )
+Generated Location: (1268:34,36 [16] )
|new List()|
Source Location: (78:1,22 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLower()|
-Generated Location: (1459:41,22 [17] )
+Generated Location: (1478:42,22 [17] )
|context.ToLower()|
Source Location: (159:3,3 [29] x:\dir\subdir\Test\TestComponent.cshtml)
|System.Math.Max(0, item.Item)|
-Generated Location: (1667:50,6 [29] )
+Generated Location: (1686:51,6 [29] )
|System.Math.Max(0, item.Item)|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1957:61,13 [4] )
+Generated Location: (1976:62,13 [4] )
|Item|
Source Location: (28:0,28 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Items|
-Generated Location: (2186:70,28 [5] )
+Generated Location: (2205:71,28 [5] )
|Items|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.codegen.cs
index cffdf0837f0..a196f450c86 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.mappings.txt
index 5ef592a8ad5..e887192a12b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_NonGenericParameterizedChildContent_TypeInference/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (21:0,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1067:25,21 [4] )
+Generated Location: (1086:26,21 [4] )
|"hi"|
Source Location: (50:1,20 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLower()|
-Generated Location: (1263:33,20 [17] )
+Generated Location: (1282:34,20 [17] )
|context.ToLower()|
Source Location: (103:2,16 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|context|
-Generated Location: (1484:42,16 [7] )
+Generated Location: (1503:43,16 [7] )
|context|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1752:53,13 [4] )
+Generated Location: (1771:54,13 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
index edd61600892..24986757aa7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_Simple/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
index 753d4a8c65a..1f41b222288 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
index 926b06da1d4..a4b21b41076 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithChildContent/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyAttr|
-Generated Location: (1194:30,13 [6] )
+Generated Location: (1213:31,13 [6] )
|MyAttr|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
index edd61600892..24986757aa7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithElementOnlyChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
index edd61600892..24986757aa7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
index c553cd590ca..1a68d063b8e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
index 711ac216333..a0bf627de03 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitEventHandler/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (988:25,23 [9] )
+Generated Location: (1007:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1405:38,13 [7] )
+Generated Location: (1424:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [98] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (46:2,7 [98] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (1820:56,7 [98] )
+Generated Location: (1839:57,7 [98] )
|
private int counter;
private void Increment(EventArgs e) {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
index 8dcdc165364..4acea829cbc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
index 0018887c05a..701e126d26c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitGenericChildContent/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (28:0,28 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|context|
-Generated Location: (1088:25,28 [7] )
+Generated Location: (1107:26,28 [7] )
|context|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
index fb8a9990287..3b113e75075 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
index fbc261da4b2..12e0f08f683 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithExplicitStringParameter/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (31:0,31 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|42.ToString()|
-Generated Location: (1057:25,31 [13] )
+Generated Location: (1076:26,31 [13] )
|42.ToString()|
Source Location: (13:0,13 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|StringProperty|
-Generated Location: (1478:38,13 [14] )
+Generated Location: (1497:39,13 [14] )
|StringProperty|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
index a4d6737ed15..2ebd681030c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
index fddf46bc4c2..72c8cffaad1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (54:0,54 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLowerInvariant()|
-Generated Location: (1137:26,54 [26] )
+Generated Location: (1156:27,54 [26] )
|context.ToLowerInvariant()|
Source Location: (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyAttr|
-Generated Location: (1425:37,13 [6] )
+Generated Location: (1444:38,13 [6] )
|MyAttr|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
index 395208ea2d6..36a30a53d94 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
index f59b3f3a0ca..ec436d809f3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterName/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (93:2,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|item.ToLowerInvariant()|
-Generated Location: (1112:26,32 [23] )
+Generated Location: (1131:27,32 [23] )
|item.ToLowerInvariant()|
Source Location: (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyAttr|
-Generated Location: (1397:37,13 [6] )
+Generated Location: (1416:38,13 [6] )
|MyAttr|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
index 395208ea2d6..36a30a53d94 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
index f59b3f3a0ca..ec436d809f3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithGenericChildContent_SetsParameterNameOnComponent/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (93:2,32 [23] x:\dir\subdir\Test\TestComponent.cshtml)
|item.ToLowerInvariant()|
-Generated Location: (1112:26,32 [23] )
+Generated Location: (1131:27,32 [23] )
|item.ToLowerInvariant()|
Source Location: (13:0,13 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyAttr|
-Generated Location: (1397:37,13 [6] )
+Generated Location: (1416:38,13 [6] )
|MyAttr|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
index fbf323fa6d4..08826d80245 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
index 7dcf6c41f3d..2625709422e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (24:0,24 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|e => { Increment(); }|
-Generated Location: (989:25,24 [21] )
+Generated Location: (1008:26,24 [21] )
|e => { Increment(); }|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1418:38,13 [7] )
+Generated Location: (1437:39,13 [7] )
|OnClick|
Source Location: (60:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (60:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (1833:56,7 [87] )
+Generated Location: (1852:57,7 [87] )
|
private int counter;
private void Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
index c13baa34973..431ed4f7ee7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
index 1c6fb0413cb..1416c00ca3e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithNonPropertyAttributes/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (55:0,55 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|43.ToString()|
-Generated Location: (999:26,55 [13] )
+Generated Location: (1018:27,55 [13] )
|43.ToString()|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
index 0f195443d2a..02a57b1b67e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Microsoft.AspNetCore.Components.RouteAttribute("/MyPage")]
[global::Microsoft.AspNetCore.Components.RouteAttribute("/AnotherRoute/{id}")]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
index 94440302533..93ee64ab56e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithPageDirective/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (6:0,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|"/MyPage"|
-Generated Location: (822:20,37 [9] )
+Generated Location: (841:21,37 [9] )
|"/MyPage"|
Source Location: (23:1,6 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"/AnotherRoute/{id}"|
-Generated Location: (1088:31,37 [20] )
+Generated Location: (1107:32,37 [20] )
|"/AnotherRoute/{id}"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
index 2c50bfe6086..242b95db34a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
index 05b5cc7408b..d0fe8a13d7b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithParameters/TestComponent.mappings.txt
@@ -1,35 +1,35 @@
Source Location: (31:1,17 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|123|
-Generated Location: (1042:25,17 [3] )
+Generated Location: (1061:26,17 [3] )
|123|
Source Location: (55:2,18 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1327:34,18 [4] )
+Generated Location: (1346:35,18 [4] )
|true|
Source Location: (114:4,20 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|new SomeType()|
-Generated Location: (1637:44,20 [14] )
+Generated Location: (1656:45,20 [14] )
|new SomeType()|
Source Location: (18:1,4 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|IntProperty|
-Generated Location: (2050:57,4 [11] )
+Generated Location: (2069:58,4 [11] )
|IntProperty|
Source Location: (41:2,4 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|BoolProperty|
-Generated Location: (2262:66,4 [12] )
+Generated Location: (2281:67,4 [12] )
|BoolProperty|
Source Location: (66:3,4 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|StringProperty|
-Generated Location: (2475:75,4 [14] )
+Generated Location: (2494:76,4 [14] )
|StringProperty|
Source Location: (98:4,4 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|ObjectProperty|
-Generated Location: (2690:84,4 [14] )
+Generated Location: (2709:85,4 [14] )
|ObjectProperty|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
index f12a429d85b..d1940213eca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
index 3bc4ad7d599..61909e5b5fb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithWeaklyTypeEventHandler/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (70:1,26 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1246:32,26 [7] )
+Generated Location: (1247:32,26 [7] )
|OnClick|
Source Location: (92:3,7 [60] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Action OnClick { get; set; }
|
-Generated Location: (1774:52,7 [60] )
+Generated Location: (1775:52,7 [60] )
|
private Action OnClick { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.codegen.cs
index 63e2e56c1d2..21377b5debe 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.mappings.txt
index b867947eac1..e40ba6f712b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildContent_FromAnotherNamespace/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|using AnotherTest|
-Generated Location: (360:12,0 [17] )
+Generated Location: (361:12,0 [17] )
|using AnotherTest|
Source Location: (119:6,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|context|
-Generated Location: (1531:42,13 [7] )
+Generated Location: (1532:42,13 [7] )
|context|
Source Location: (276:12,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|context|
-Generated Location: (2356:69,13 [7] )
+Generated Location: (2357:69,13 [7] )
|context|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.codegen.cs
index 34a7665ea99..0959b18f5c4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace Test
#line 1 "x:\dir\subdir\Test\_Imports.razor"
using System.Text;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\_Imports.razor"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.mappings.txt
index a4190d245ab..3684e2190ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentImports/_Imports.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [17] x:\dir\subdir\Test\_Imports.razor)
|using System.Text|
-Generated Location: (354:12,0 [17] )
+Generated Location: (355:12,0 [17] )
|using System.Text|
Source Location: (21:1,1 [23] x:\dir\subdir\Test\_Imports.razor)
|using System.Reflection|
-Generated Location: (488:19,0 [23] )
+Generated Location: (460:17,0 [23] )
|using System.Reflection|
Source Location: (56:3,8 [10] x:\dir\subdir\Test\_Imports.razor)
|MainLayout|
-Generated Location: (905:32,0 [10] )
+Generated Location: (877:30,0 [10] )
|MainLayout|
Source Location: (69:4,1 [3] x:\dir\subdir\Test\_Imports.razor)
|Foo|
-Generated Location: (1338:49,6 [3] )
+Generated Location: (1310:47,6 [3] )
|Foo|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
index eb518022e5f..55797609ab8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
index d7fd7342980..370228f0b60 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentParameter_TypeMismatch_ReportsDiagnostic/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (27:0,27 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|"very-cool"|
-Generated Location: (1052:25,27 [11] )
+Generated Location: (1071:26,27 [11] )
|"very-cool"|
Source Location: (15:0,15 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|Coolness|
-Generated Location: (1475:38,15 [8] )
+Generated Location: (1494:39,15 [8] )
|Coolness|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.codegen.cs
index bfd37fb8616..73f2e7539db 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.mappings.txt
index 3f5040b4702..896cc6f20ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (9:0,9 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|TestBool|
-Generated Location: (910:24,9 [8] )
+Generated Location: (929:25,9 [8] )
|TestBool|
Source Location: (55:2,25 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1192:32,25 [4] )
+Generated Location: (1211:33,25 [4] )
|true|
Source Location: (45:2,15 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|TestBool|
-Generated Location: (1608:45,15 [8] )
+Generated Location: (1627:46,15 [8] )
|TestBool|
Source Location: (74:4,7 [59] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -18,7 +18,7 @@ Source Location: (74:4,7 [59] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public bool TestBool { get; set; }
|
-Generated Location: (2026:63,7 [59] )
+Generated Location: (2045:64,7 [59] )
|
[Parameter]
public bool TestBool { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.codegen.cs
index 7b029bf4489..d147b814cba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.mappings.txt
index 8cabca0baa3..f9a9a475eba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithBooleanParameter_Minimized/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (9:0,9 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|TestBool|
-Generated Location: (910:24,9 [8] )
+Generated Location: (929:25,9 [8] )
|TestBool|
Source Location: (45:2,15 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|TestBool|
-Generated Location: (1340:37,15 [8] )
+Generated Location: (1359:38,15 [8] )
|TestBool|
Source Location: (67:4,7 [59] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (67:4,7 [59] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public bool TestBool { get; set; }
|
-Generated Location: (1758:55,7 [59] )
+Generated Location: (1777:56,7 [59] )
|
[Parameter]
public bool TestBool { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.codegen.cs
index 826b7354782..2a5a7dd5b15 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.mappings.txt
index 281daeb96be..1501be64f21 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/TestComponent.mappings.txt
@@ -1,56 +1,56 @@
Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components;|
-Generated Location: (308:11,0 [38] )
+Generated Location: (309:11,0 [38] )
|using Microsoft.AspNetCore.Components;|
Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem1|
-Generated Location: (509:19,0 [6] )
+Generated Location: (510:19,0 [6] )
|TItem1|
Source Location: (92:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem2|
-Generated Location: (644:27,0 [6] )
+Generated Location: (645:27,0 [6] )
|TItem2|
Source Location: (131:3,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem3|
-Generated Location: (779:35,0 [6] )
+Generated Location: (780:35,0 [6] )
|TItem3|
Source Location: (59:1,18 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|where TItem1 : Image|
-Generated Location: (970:43,0 [20] )
+Generated Location: (971:43,0 [20] )
|where TItem1 : Image|
Source Location: (99:2,18 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|where TItem2 : ITag|
-Generated Location: (1112:50,0 [19] )
+Generated Location: (1113:50,0 [19] )
|where TItem2 : ITag|
Source Location: (138:3,18 [27] x:\dir\subdir\Test\TestComponent.cshtml)
|where TItem3 : Image, new()|
-Generated Location: (1253:57,0 [27] )
+Generated Location: (1254:57,0 [27] )
|where TItem3 : Image, new()|
Source Location: (186:6,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item2 in Items2)
{
|
-Generated Location: (2256:93,1 [38] )
+Generated Location: (2257:93,1 [38] )
|foreach (var item2 in Items2)
{
|
Source Location: (234:9,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(item2)|
-Generated Location: (2423:102,6 [19] )
+Generated Location: (2424:102,6 [19] )
|ChildContent(item2)|
Source Location: (264:10,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (2574:109,8 [3] )
+Generated Location: (2575:109,8 [3] )
|
}|
@@ -61,7 +61,7 @@ Source Location: (294:15,7 [236] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public TItem3 Item3 { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
|
-Generated Location: (2756:119,7 [236] )
+Generated Location: (2757:119,7 [236] )
|
[Parameter] public TItem1 Item1 { get; set; }
[Parameter] public List Items2 { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.codegen.cs
index ebbbe196e79..09719d774d6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.mappings.txt
index 26c9e710436..45a817763ac 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters/UseTestComponent.mappings.txt
@@ -1,41 +1,41 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\UseTestComponent.cshtml)
|using Test|
-Generated Location: (363:12,0 [10] )
+Generated Location: (364:12,0 [10] )
|using Test|
Source Location: (35:1,22 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|item1|
-Generated Location: (1217:32,22 [5] )
+Generated Location: (1218:32,22 [5] )
|item1|
Source Location: (49:1,36 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|items|
-Generated Location: (1403:40,36 [5] )
+Generated Location: (1404:40,36 [5] )
|items|
Source Location: (62:1,49 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|item1|
-Generated Location: (1602:48,49 [5] )
+Generated Location: (1603:48,49 [5] )
|item1|
Source Location: (78:2,8 [7] x:\dir\subdir\Test\UseTestComponent.cshtml)
|context|
-Generated Location: (1790:56,8 [7] )
+Generated Location: (1791:56,8 [7] )
|context|
Source Location: (28:1,15 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Item1|
-Generated Location: (2065:67,15 [5] )
+Generated Location: (2066:67,15 [5] )
|Item1|
Source Location: (41:1,28 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Items2|
-Generated Location: (2300:76,28 [6] )
+Generated Location: (2301:76,28 [6] )
|Items2|
Source Location: (55:1,42 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Item3|
-Generated Location: (2550:85,42 [5] )
+Generated Location: (2551:85,42 [5] )
|Item3|
Source Location: (118:5,7 [268] x:\dir\subdir\Test\UseTestComponent.cshtml)
@@ -45,7 +45,7 @@ Source Location: (118:5,7 [268] x:\dir\subdir\Test\UseTestComponent.cshtml)
static Tag tag2 = new Tag() { description = "Another description."};
List items = new List() { tag1, tag2 };
|
-Generated Location: (2975:103,7 [268] )
+Generated Location: (2976:103,7 [268] )
|
Image item1 = new Image() { id = 1, url="https://example.com"};
static Tag tag1 = new Tag() { description = "A description."};
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.codegen.cs
index 826b7354782..2a5a7dd5b15 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.mappings.txt
index dc5e0af6c1f..e983bc3cb2b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/TestComponent.mappings.txt
@@ -1,56 +1,56 @@
Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components;|
-Generated Location: (308:11,0 [38] )
+Generated Location: (309:11,0 [38] )
|using Microsoft.AspNetCore.Components;|
Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem1|
-Generated Location: (509:19,0 [6] )
+Generated Location: (510:19,0 [6] )
|TItem1|
Source Location: (93:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem2|
-Generated Location: (644:27,0 [6] )
+Generated Location: (645:27,0 [6] )
|TItem2|
Source Location: (133:3,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem3|
-Generated Location: (779:35,0 [6] )
+Generated Location: (780:35,0 [6] )
|TItem3|
Source Location: (59:1,18 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|where TItem1 : Image|
-Generated Location: (970:43,0 [20] )
+Generated Location: (971:43,0 [20] )
|where TItem1 : Image|
Source Location: (100:2,18 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|where TItem2 : ITag|
-Generated Location: (1112:50,0 [19] )
+Generated Location: (1113:50,0 [19] )
|where TItem2 : ITag|
Source Location: (140:3,18 [27] x:\dir\subdir\Test\TestComponent.cshtml)
|where TItem3 : Image, new()|
-Generated Location: (1253:57,0 [27] )
+Generated Location: (1254:57,0 [27] )
|where TItem3 : Image, new()|
Source Location: (189:6,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item2 in Items2)
{
|
-Generated Location: (2256:93,1 [38] )
+Generated Location: (2257:93,1 [38] )
|foreach (var item2 in Items2)
{
|
Source Location: (237:9,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(item2)|
-Generated Location: (2423:102,6 [19] )
+Generated Location: (2424:102,6 [19] )
|ChildContent(item2)|
Source Location: (267:10,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (2574:109,8 [3] )
+Generated Location: (2575:109,8 [3] )
|
}|
@@ -61,7 +61,7 @@ Source Location: (297:15,7 [236] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public TItem3 Item3 { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
|
-Generated Location: (2756:119,7 [236] )
+Generated Location: (2757:119,7 [236] )
|
[Parameter] public TItem1 Item1 { get; set; }
[Parameter] public List Items2 { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.codegen.cs
index ebbbe196e79..09719d774d6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.mappings.txt
index 26c9e710436..45a817763ac 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithConstrainedTypeParameters_WithSemicolon/UseTestComponent.mappings.txt
@@ -1,41 +1,41 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\UseTestComponent.cshtml)
|using Test|
-Generated Location: (363:12,0 [10] )
+Generated Location: (364:12,0 [10] )
|using Test|
Source Location: (35:1,22 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|item1|
-Generated Location: (1217:32,22 [5] )
+Generated Location: (1218:32,22 [5] )
|item1|
Source Location: (49:1,36 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|items|
-Generated Location: (1403:40,36 [5] )
+Generated Location: (1404:40,36 [5] )
|items|
Source Location: (62:1,49 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|item1|
-Generated Location: (1602:48,49 [5] )
+Generated Location: (1603:48,49 [5] )
|item1|
Source Location: (78:2,8 [7] x:\dir\subdir\Test\UseTestComponent.cshtml)
|context|
-Generated Location: (1790:56,8 [7] )
+Generated Location: (1791:56,8 [7] )
|context|
Source Location: (28:1,15 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Item1|
-Generated Location: (2065:67,15 [5] )
+Generated Location: (2066:67,15 [5] )
|Item1|
Source Location: (41:1,28 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Items2|
-Generated Location: (2300:76,28 [6] )
+Generated Location: (2301:76,28 [6] )
|Items2|
Source Location: (55:1,42 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Item3|
-Generated Location: (2550:85,42 [5] )
+Generated Location: (2551:85,42 [5] )
|Item3|
Source Location: (118:5,7 [268] x:\dir\subdir\Test\UseTestComponent.cshtml)
@@ -45,7 +45,7 @@ Source Location: (118:5,7 [268] x:\dir\subdir\Test\UseTestComponent.cshtml)
static Tag tag2 = new Tag() { description = "Another description."};
List items = new List() { tag1, tag2 };
|
-Generated Location: (2975:103,7 [268] )
+Generated Location: (2976:103,7 [268] )
|
Image item1 = new Image() { id = 1, url="https://example.com"};
static Tag tag1 = new Tag() { description = "A description."};
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.codegen.cs
index bdc7f4febff..30796a55f5a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.mappings.txt
index 89fc533cc3c..7b4251e5f12 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDecimalParameter/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (9:0,9 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|TestDecimal|
-Generated Location: (910:24,9 [11] )
+Generated Location: (929:25,9 [11] )
|TestDecimal|
Source Location: (61:2,28 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|4|
-Generated Location: (1198:32,28 [1] )
+Generated Location: (1217:33,28 [1] )
|4|
Source Location: (48:2,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|TestDecimal|
-Generated Location: (1611:45,15 [11] )
+Generated Location: (1630:46,15 [11] )
|TestDecimal|
Source Location: (77:4,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -18,7 +18,7 @@ Source Location: (77:4,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public decimal TestDecimal { get; set; }
|
-Generated Location: (2032:63,7 [65] )
+Generated Location: (2051:64,7 [65] )
|
[Parameter]
public decimal TestDecimal { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.codegen.cs
index 1a22aafc034..261722a46ed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.mappings.txt
index 96a9141edcc..cc41e63e94e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithDynamicParameter/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (9:0,9 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|TestDynamic|
-Generated Location: (910:24,9 [11] )
+Generated Location: (929:25,9 [11] )
|TestDynamic|
Source Location: (61:2,28 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|4|
-Generated Location: (1183:32,28 [1] )
+Generated Location: (1202:33,28 [1] )
|4|
Source Location: (48:2,15 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|TestDynamic|
-Generated Location: (1596:45,15 [11] )
+Generated Location: (1615:46,15 [11] )
|TestDynamic|
Source Location: (77:4,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -18,7 +18,7 @@ Source Location: (77:4,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public dynamic TestDynamic { get; set; }
|
-Generated Location: (2017:63,7 [65] )
+Generated Location: (2036:64,7 [65] )
|
[Parameter]
public dynamic TestDynamic { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.codegen.cs
index b9c51d720f9..718f81fafd8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.mappings.txt
index 1a6dfcd92c7..0f712ee82e1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTupleParameter/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (113:4,23 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|(32, 16)|
-Generated Location: (1076:25,23 [8] )
+Generated Location: (1095:26,23 [8] )
|(32, 16)|
Source Location: (105:4,15 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Gutter|
-Generated Location: (1496:38,15 [6] )
+Generated Location: (1515:39,15 [6] )
|Gutter|
Source Location: (7:0,7 [78] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter] public (int Horizontal, int Vertical) Gutter { get; set; }
|
-Generated Location: (1912:56,7 [78] )
+Generated Location: (1931:57,7 [78] )
|
[Parameter] public (int Horizontal, int Vertical) Gutter { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.codegen.cs
index 80a56a4ab2e..a5668455198 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.mappings.txt
index 7edaa9e7132..5b6acecd22d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/TestComponent.mappings.txt
@@ -1,42 +1,42 @@
Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components;|
-Generated Location: (308:11,0 [38] )
+Generated Location: (309:11,0 [38] )
|using Microsoft.AspNetCore.Components;|
Source Location: (52:1,11 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem|
-Generated Location: (509:19,0 [5] )
+Generated Location: (510:19,0 [5] )
|TItem|
Source Location: (82:5,4 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(Items1)|
-Generated Location: (1218:41,6 [20] )
+Generated Location: (1219:41,6 [20] )
|ChildContent(Items1)|
Source Location: (111:7,1 [37] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item in Items2)
{
|
-Generated Location: (1362:48,1 [37] )
+Generated Location: (1363:48,1 [37] )
|foreach (var item in Items2)
{
|
Source Location: (152:9,8 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(item)|
-Generated Location: (1530:57,8 [18] )
+Generated Location: (1531:57,8 [18] )
|ChildContent(item)|
Source Location: (174:9,30 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1702:64,30 [3] )
+Generated Location: (1703:64,30 [3] )
|
}|
Source Location: (185:12,4 [22] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(Items3())|
-Generated Location: (1834:72,6 [22] )
+Generated Location: (1835:72,6 [22] )
|ChildContent(Items3())|
Source Location: (222:14,7 [248] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -46,7 +46,7 @@ Source Location: (222:14,7 [248] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public Func Items3 { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
|
-Generated Location: (2036:81,7 [248] )
+Generated Location: (2037:81,7 [248] )
|
[Parameter] public TItem[] Items1 { get; set; }
[Parameter] public List Items2 { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.codegen.cs
index bc98142c97b..b1f553b9084 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.mappings.txt
index 704e58e0a7f..745d46fa9e7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterArray/UseTestComponent.mappings.txt
@@ -1,41 +1,41 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\UseTestComponent.cshtml)
|using Test|
-Generated Location: (363:12,0 [10] )
+Generated Location: (364:12,0 [10] )
|using Test|
Source Location: (35:1,22 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|items1|
-Generated Location: (1217:32,22 [6] )
+Generated Location: (1218:32,22 [6] )
|items1|
Source Location: (49:1,36 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|items2|
-Generated Location: (1404:40,36 [6] )
+Generated Location: (1405:40,36 [6] )
|items2|
Source Location: (63:1,50 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|items3|
-Generated Location: (1605:48,50 [6] )
+Generated Location: (1606:48,50 [6] )
|items3|
Source Location: (80:2,8 [22] x:\dir\subdir\Test\UseTestComponent.cshtml)
|context[0].description|
-Generated Location: (1794:56,8 [22] )
+Generated Location: (1795:56,8 [22] )
|context[0].description|
Source Location: (28:1,15 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Items1|
-Generated Location: (2084:67,15 [6] )
+Generated Location: (2085:67,15 [6] )
|Items1|
Source Location: (42:1,29 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Items2|
-Generated Location: (2321:76,29 [6] )
+Generated Location: (2322:76,29 [6] )
|Items2|
Source Location: (56:1,43 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Items3|
-Generated Location: (2572:85,43 [6] )
+Generated Location: (2573:85,43 [6] )
|Items3|
Source Location: (135:5,7 [208] x:\dir\subdir\Test\UseTestComponent.cshtml)
@@ -45,7 +45,7 @@ Source Location: (135:5,7 [208] x:\dir\subdir\Test\UseTestComponent.cshtml)
List items2 = new List() { new [] { tag } };
Tag[] items3() => new [] { tag };
|
-Generated Location: (2996:103,7 [208] )
+Generated Location: (2997:103,7 [208] )
|
static Tag tag = new Tag() { description = "A description."};
Tag[] items1 = new [] { tag };
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.codegen.cs
index 603751911ba..d389e5bc64c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.mappings.txt
index 5853f13f95b..a40d7af0329 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/TestComponent.mappings.txt
@@ -1,41 +1,41 @@
Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components;|
-Generated Location: (308:11,0 [38] )
+Generated Location: (309:11,0 [38] )
|using Microsoft.AspNetCore.Components;|
Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem1|
-Generated Location: (509:19,0 [6] )
+Generated Location: (510:19,0 [6] )
|TItem1|
Source Location: (71:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem2|
-Generated Location: (644:27,0 [6] )
+Generated Location: (645:27,0 [6] )
|TItem2|
Source Location: (102:6,4 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(Item1)|
-Generated Location: (1422:52,6 [19] )
+Generated Location: (1423:52,6 [19] )
|ChildContent(Item1)|
Source Location: (130:8,1 [37] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item in Items2)
{
|
-Generated Location: (1565:59,1 [37] )
+Generated Location: (1566:59,1 [37] )
|foreach (var item in Items2)
{
|
Source Location: (171:10,8 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(item)|
-Generated Location: (1733:68,8 [18] )
+Generated Location: (1734:68,8 [18] )
|ChildContent(item)|
Source Location: (193:10,30 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1905:75,30 [3] )
+Generated Location: (1906:75,30 [3] )
|
}|
@@ -45,7 +45,7 @@ Source Location: (207:13,7 [215] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public List<(TItem1, TItem2)> Items2 { get; set; }
[Parameter] public RenderFragment<(TItem1, TItem2)> ChildContent { get; set; }
|
-Generated Location: (2087:85,7 [215] )
+Generated Location: (2088:85,7 [215] )
|
[Parameter] public (TItem1, TItem2) Item1 { get; set; }
[Parameter] public List<(TItem1, TItem2)> Items2 { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.codegen.cs
index b8b0394e74f..e102e4e07c2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.mappings.txt
index 383d2638a18..6c12bb883ab 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple/UseTestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\UseTestComponent.cshtml)
|using Test|
-Generated Location: (363:12,0 [10] )
+Generated Location: (364:12,0 [10] )
|using Test|
Source Location: (34:1,21 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|item1|
-Generated Location: (1216:32,21 [5] )
+Generated Location: (1217:32,21 [5] )
|item1|
Source Location: (47:1,34 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|items2|
-Generated Location: (1400:40,34 [6] )
+Generated Location: (1401:40,34 [6] )
|items2|
Source Location: (64:2,8 [7] x:\dir\subdir\Test\UseTestComponent.cshtml)
|context|
-Generated Location: (1589:48,8 [7] )
+Generated Location: (1590:48,8 [7] )
|context|
Source Location: (28:1,15 [5] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Item1|
-Generated Location: (1864:59,15 [5] )
+Generated Location: (1865:59,15 [5] )
|Item1|
Source Location: (40:1,27 [6] x:\dir\subdir\Test\UseTestComponent.cshtml)
|Items2|
-Generated Location: (2098:68,27 [6] )
+Generated Location: (2099:68,27 [6] )
|Items2|
Source Location: (104:5,7 [176] x:\dir\subdir\Test\UseTestComponent.cshtml)
@@ -34,7 +34,7 @@ Source Location: (104:5,7 [176] x:\dir\subdir\Test\UseTestComponent.cshtml)
static (string, int) item2 = ("Another string", 42);
List<(string, int)> items2 = new List<(string, int)>() { item2 };
|
-Generated Location: (2523:86,7 [176] )
+Generated Location: (2524:86,7 [176] )
|
(string, int) item1 = ("A string", 42);
static (string, int) item2 = ("Another string", 42);
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.codegen.cs
index a9f3eb8e0b7..1abb1f63c8d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.mappings.txt
index c56447b8523..6a2050e18b7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTupleGloballyQualifiedTypes/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (1:0,1 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|using N|
-Generated Location: (360:12,0 [7] )
+Generated Location: (361:12,0 [7] )
|using N|
Source Location: (21:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (531:20,0 [6] )
+Generated Location: (532:20,0 [6] )
|TParam|
Source Location: (239:11,27 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1412:43,27 [1] )
+Generated Location: (1413:43,27 [1] )
|1|
Source Location: (269:13,9 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|context.I1.MyClassId|
-Generated Location: (1595:51,9 [20] )
+Generated Location: (1596:51,9 [20] )
|context.I1.MyClassId|
Source Location: (293:13,33 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|context.I2.MyStructId|
-Generated Location: (1772:58,33 [21] )
+Generated Location: (1773:58,33 [21] )
|context.I2.MyStructId|
Source Location: (227:11,15 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|InferParam|
-Generated Location: (2059:69,15 [10] )
+Generated Location: (2060:69,15 [10] )
|InferParam|
Source Location: (38:3,7 [169] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -36,7 +36,7 @@ Source Location: (38:3,7 [169] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public RenderFragment<(MyClass I1, MyStruct I2, TParam P)> Template { get; set; }
|
-Generated Location: (2482:87,7 [169] )
+Generated Location: (2483:87,7 [169] )
|
[Parameter]
public TParam InferParam { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.codegen.cs
index 00421655f85..7da37518063 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.mappings.txt
index dcc5a20c21c..1d50ec6e5ca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameterValueTuple_ExplicitGenericArguments/TestComponent.mappings.txt
@@ -1,41 +1,41 @@
Source Location: (11:0,11 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|TDomain|
-Generated Location: (401:13,0 [7] )
+Generated Location: (420:14,0 [7] )
|TDomain|
Source Location: (54:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TValue|
-Generated Location: (537:21,0 [6] )
+Generated Location: (556:22,0 [6] )
|TValue|
Source Location: (19:0,19 [22] x:\dir\subdir\Test\TestComponent.cshtml)
|where TDomain : struct|
-Generated Location: (728:29,0 [22] )
+Generated Location: (747:30,0 [22] )
|where TDomain : struct|
Source Location: (61:1,18 [21] x:\dir\subdir\Test\TestComponent.cshtml)
|where TValue : struct|
-Generated Location: (872:36,0 [21] )
+Generated Location: (891:37,0 [21] )
|where TValue : struct|
Source Location: (122:3,36 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|decimal|
-Generated Location: (1795:67,36 [7] )
+Generated Location: (1814:68,36 [7] )
|decimal|
Source Location: (139:3,53 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|decimal|
-Generated Location: (2020:76,53 [7] )
+Generated Location: (2039:77,53 [7] )
|decimal|
Source Location: (107:3,21 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|null|
-Generated Location: (2362:85,21 [4] )
+Generated Location: (2381:86,21 [4] )
|null|
Source Location: (101:3,15 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Data|
-Generated Location: (2796:98,15 [4] )
+Generated Location: (2815:99,15 [4] )
|Data|
Source Location: (161:5,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -43,7 +43,7 @@ Source Location: (161:5,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public List<(TDomain Domain, TValue Value)> Data { get; set; }
|
-Generated Location: (3213:116,7 [87] )
+Generated Location: (3232:117,7 [87] )
|
[Parameter]
public List<(TDomain Domain, TValue Value)> Data { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
index 156fe3a3472..6b178238444 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
index f1fa095c004..fab624008c7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters/TestComponent.mappings.txt
@@ -1,36 +1,36 @@
Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components;|
-Generated Location: (308:11,0 [38] )
+Generated Location: (309:11,0 [38] )
|using Microsoft.AspNetCore.Components;|
Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem1|
-Generated Location: (509:19,0 [6] )
+Generated Location: (510:19,0 [6] )
|TItem1|
Source Location: (71:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem2|
-Generated Location: (644:27,0 [6] )
+Generated Location: (645:27,0 [6] )
|TItem2|
Source Location: (98:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item2 in Items2)
{
|
-Generated Location: (1417:52,1 [38] )
+Generated Location: (1418:52,1 [38] )
|foreach (var item2 in Items2)
{
|
Source Location: (146:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(item2)|
-Generated Location: (1583:61,6 [19] )
+Generated Location: (1584:61,6 [19] )
|ChildContent(item2)|
Source Location: (176:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1734:68,8 [3] )
+Generated Location: (1735:68,8 [3] )
|
}|
@@ -40,7 +40,7 @@ Source Location: (188:11,7 [185] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public List Items2 { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
|
-Generated Location: (1916:78,7 [185] )
+Generated Location: (1917:78,7 [185] )
|
[Parameter] public TItem1 Item1 { get; set; }
[Parameter] public List Items2 { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.codegen.cs
index 84b51aac254..d4320e8962d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.mappings.txt
index e3373626641..af8abafec69 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_Interconnected/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (11:0,11 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|T1|
-Generated Location: (401:13,0 [2] )
+Generated Location: (420:14,0 [2] )
|T1|
Source Location: (43:1,11 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|T2|
-Generated Location: (532:21,0 [2] )
+Generated Location: (551:22,0 [2] )
|T2|
Source Location: (14:0,14 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|where T1 : C|
-Generated Location: (719:29,0 [16] )
+Generated Location: (738:30,0 [16] )
|where T1 : C|
Source Location: (46:1,14 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|where T2 : D|
-Generated Location: (857:36,0 [20] )
+Generated Location: (876:37,0 [20] )
|where T2 : D|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.codegen.cs
index 156fe3a3472..6b178238444 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.mappings.txt
index ae8a6db187d..19b0c79d5d4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ComponentWithTypeParameters_WithSemicolon/TestComponent.mappings.txt
@@ -1,36 +1,36 @@
Source Location: (1:0,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components;|
-Generated Location: (308:11,0 [38] )
+Generated Location: (309:11,0 [38] )
|using Microsoft.AspNetCore.Components;|
Source Location: (52:1,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem1|
-Generated Location: (509:19,0 [6] )
+Generated Location: (510:19,0 [6] )
|TItem1|
Source Location: (72:2,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TItem2|
-Generated Location: (644:27,0 [6] )
+Generated Location: (645:27,0 [6] )
|TItem2|
Source Location: (100:5,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item2 in Items2)
{
|
-Generated Location: (1417:52,1 [38] )
+Generated Location: (1418:52,1 [38] )
|foreach (var item2 in Items2)
{
|
Source Location: (148:8,5 [19] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildContent(item2)|
-Generated Location: (1583:61,6 [19] )
+Generated Location: (1584:61,6 [19] )
|ChildContent(item2)|
Source Location: (178:9,8 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1734:68,8 [3] )
+Generated Location: (1735:68,8 [3] )
|
}|
@@ -40,7 +40,7 @@ Source Location: (190:11,7 [185] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public List Items2 { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
|
-Generated Location: (1916:78,7 [185] )
+Generated Location: (1917:78,7 [185] )
|
[Parameter] public TItem1 Item1 { get; set; }
[Parameter] public List Items2 { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.codegen.cs
index 5c5d677112f..5fb52237003 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.mappings.txt
index 2b544bc65e5..c66f0559457 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (30:0,30 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEnum|
-Generated Location: (1056:25,30 [6] )
+Generated Location: (1075:26,30 [6] )
|MyEnum|
Source Location: (13:0,13 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|StringProperty|
-Generated Location: (1470:38,13 [14] )
+Generated Location: (1489:39,13 [14] )
|StringProperty|
Source Location: (52:2,7 [67] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -16,7 +16,7 @@ Source Location: (52:2,7 [67] x:\dir\subdir\Test\TestComponent.cshtml)
Two
}
|
-Generated Location: (1892:56,7 [67] )
+Generated Location: (1911:57,7 [67] )
|
public enum MyEnum
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.codegen.cs
index 5c5d677112f..5fb52237003 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.mappings.txt
index 2b544bc65e5..c66f0559457 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_02/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (30:0,30 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEnum|
-Generated Location: (1056:25,30 [6] )
+Generated Location: (1075:26,30 [6] )
|MyEnum|
Source Location: (13:0,13 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|StringProperty|
-Generated Location: (1470:38,13 [14] )
+Generated Location: (1489:39,13 [14] )
|StringProperty|
Source Location: (52:2,7 [67] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -16,7 +16,7 @@ Source Location: (52:2,7 [67] x:\dir\subdir\Test\TestComponent.cshtml)
Two
}
|
-Generated Location: (1892:56,7 [67] )
+Generated Location: (1911:57,7 [67] )
|
public enum MyEnum
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.codegen.cs
index ca6db6e8871..53c62254cc1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.mappings.txt
index 6299965f810..5a9ce793e1e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_ComplexContentInAttribute_03/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (30:0,30 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1056:25,30 [1] )
+Generated Location: (1075:26,30 [1] )
|x|
Source Location: (39:0,39 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|"string"|
-Generated Location: (1218:32,39 [8] )
+Generated Location: (1237:33,39 [8] )
|"string"|
Source Location: (13:0,13 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|StringProperty|
-Generated Location: (1634:45,13 [14] )
+Generated Location: (1653:46,13 [14] )
|StringProperty|
Source Location: (63:2,7 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|
int x = 1;
|
-Generated Location: (2056:63,7 [18] )
+Generated Location: (2075:64,7 [18] )
|
int x = 1;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.codegen.cs
index 4ce61bc2fb1..e500a913f1a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace Test
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
using static Test2.SomeComponent;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.mappings.txt
index fd797ca7433..f3f66f470ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_IgnoresStaticAndAliasUsings/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [32] x:\dir\subdir\Test\TestComponent.cshtml)
|using static Test2.SomeComponent|
-Generated Location: (360:12,0 [32] )
+Generated Location: (361:12,0 [32] )
|using static Test2.SomeComponent|
Source Location: (36:1,1 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|using Foo = Test3|
-Generated Location: (515:19,0 [17] )
+Generated Location: (487:17,0 [17] )
|using Foo = Test3|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.codegen.cs
index 003997f4af9..d3e77a44710 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.mappings.txt
index 07c2989d397..121e5d38822 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MatchingIsCaseSensitive/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (77:2,43 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1417:36,43 [4] )
+Generated Location: (1436:37,43 [4] )
|true|
Source Location: (63:2,29 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|BoolProperty|
-Generated Location: (1845:49,29 [12] )
+Generated Location: (1864:50,29 [12] )
|BoolProperty|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.codegen.cs
index 38b365d4b12..e9c98a1190c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.mappings.txt
index b20a542f390..75f01aa98c4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_MultipleComponentsDifferByCase/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (26:0,26 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1051:25,26 [1] )
+Generated Location: (1070:26,26 [1] )
|1|
Source Location: (13:0,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|IntProperty|
-Generated Location: (1460:38,13 [11] )
+Generated Location: (1479:39,13 [11] )
|IntProperty|
Source Location: (59:1,26 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|2|
-Generated Location: (1973:55,26 [1] )
+Generated Location: (1992:56,26 [1] )
|2|
Source Location: (46:1,13 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|IntProperty|
-Generated Location: (2382:68,13 [11] )
+Generated Location: (2401:69,13 [11] )
|IntProperty|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_InImports/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_InImports/TestComponent.codegen.cs
index 9957effcaa6..4351edddfab 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_InImports/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_InImports/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace New.Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace New.Test
#line 1 "x:\dir\subdir\Test\_Imports.razor"
using System.Text;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\_Imports.razor"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.codegen.cs
index bb8a63e2a3e..41c7ef69c02 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace New.Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace New.Test
#line 1 "x:\dir\subdir\Test\_Imports.razor"
using System.Text;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\_Imports.razor"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.mappings.txt
index 2be9dddc300..82b9a4399c1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_NamespaceDirective_OverrideImports/Counter.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (11:0,11 [8] x:\dir\subdir\Test\Pages/Counter.razor)
|New.Test|
-Generated Location: (914:31,44 [8] )
+Generated Location: (886:29,44 [8] )
|New.Test|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.codegen.cs
index 06fdd9212d3..00613f131cb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.mappings.txt
index 4a8bc98d2c5..6b361915733 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_InImports/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (23:1,13 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (914:24,13 [12] )
+Generated Location: (933:25,13 [12] )
|DateTime.Now|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.codegen.cs
index b78acfd0c25..cfe2eeb5eb3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.mappings.txt
index 65688ede936..d9169c8927b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_PreserveWhitespaceDirective_OverrideImports/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (20:0,20 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|false|
-Generated Location: (637:17,38 [5] )
+Generated Location: (656:18,38 [5] )
|false|
Source Location: (52:3,13 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (1148:34,13 [12] )
+Generated Location: (1167:35,13 [12] )
|DateTime.Now|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.codegen.cs
index ed1ac0cfdd3..d1b7e0cff76 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.mappings.txt
index 3be59ab917e..a8ade78bbd0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_TextTagsAreNotRendered/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|if (true)
{
|
-Generated Location: (1222:34,1 [18] )
+Generated Location: (1241:35,1 [18] )
|if (true)
{
|
@@ -10,7 +10,7 @@ Generated Location: (1222:34,1 [18] )
Source Location: (66:3,38 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1400:43,38 [3] )
+Generated Location: (1419:44,38 [3] )
|
}|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.codegen.cs
index bd1ef721bb9..2f6b8b62483 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace Test
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
using Microsoft.AspNetCore.Components.Web;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.mappings.txt
index a0fe32d0f2b..57601685da5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithCssScope/TestComponent.mappings.txt
@@ -1,53 +1,53 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (45:1,1 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Rendering|
-Generated Location: (524:19,0 [47] )
+Generated Location: (496:17,0 [47] )
|using Microsoft.AspNetCore.Components.Rendering|
Source Location: (192:3,61 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|123|
-Generated Location: (1316:39,61 [3] )
+Generated Location: (1288:37,61 [3] )
|123|
Source Location: (318:6,30 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|myComponentReference|
-Generated Location: (1649:50,30 [20] )
+Generated Location: (1621:48,30 [20] )
|myComponentReference|
Source Location: (439:10,1 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|if (DateTime.Now.Year > 1950)
{
|
-Generated Location: (2006:64,1 [38] )
+Generated Location: (1978:62,1 [38] )
|if (DateTime.Now.Year > 1950)
{
|
Source Location: (511:12,38 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|myElementReference|
-Generated Location: (2205:73,38 [18] )
+Generated Location: (2177:71,38 [18] )
|myElementReference|
Source Location: (557:12,84 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|
|
-Generated Location: (2421:78,84 [6] )
+Generated Location: (2393:76,84 [6] )
|
|
Source Location: (589:13,30 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|myVariable|
-Generated Location: (2616:83,30 [10] )
+Generated Location: (2588:81,30 [10] )
|myVariable|
Source Location: (637:13,78 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (2989:92,78 [3] )
+Generated Location: (2961:90,78 [3] )
|
}|
@@ -62,7 +62,7 @@ Source Location: (651:16,7 [245] x:\dir\subdir\Test\TestComponent.cshtml)
for (var i = 0; i < 10; i++)
{
|
-Generated Location: (3171:102,7 [245] )
+Generated Location: (3143:100,7 [245] )
|
ElementReference myElementReference;
TemplatedComponent myComponentReference;
@@ -76,12 +76,12 @@ Generated Location: (3171:102,7 [245] )
Source Location: (912:25,28 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|i|
-Generated Location: (3583:119,28 [1] )
+Generated Location: (3555:117,28 [1] )
|i|
Source Location: (925:25,41 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|i|
-Generated Location: (3759:127,41 [1] )
+Generated Location: (3731:125,41 [1] )
|i|
Source Location: (931:25,47 [166] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -93,7 +93,7 @@ Source Location: (931:25,47 [166] x:\dir\subdir\Test\TestComponent.cshtml)
System.GC.KeepAlive(myVariable);
}
|
-Generated Location: (3931:134,47 [166] )
+Generated Location: (3903:132,47 [166] )
|
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithDocType/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_NoValueSpecified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_NoValueSpecified/TestComponent.codegen.cs
index 4cb6d008a34..cd853c3170b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_NoValueSpecified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_NoValueSpecified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified/TestComponent.codegen.cs
index 4cb6d008a34..cd853c3170b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecifiedAsText_WithoutName/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecifiedAsText_WithoutName/TestComponent.codegen.cs
index 4cb6d008a34..cd853c3170b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecifiedAsText_WithoutName/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecifiedAsText_WithoutName/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified_WithoutName/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified_WithoutName/TestComponent.codegen.cs
index 4cb6d008a34..cd853c3170b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified_WithoutName/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredChildContent_ValueSpecified_WithoutName/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_NoValueSpecified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_NoValueSpecified/TestComponent.codegen.cs
index 4cb6d008a34..cd853c3170b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_NoValueSpecified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_NoValueSpecified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_ValueSpecified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_ValueSpecified/TestComponent.codegen.cs
index a11078567b3..9d46225887e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_ValueSpecified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredNamedChildContent_ValueSpecified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_NoValueSpecified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_NoValueSpecified/TestComponent.codegen.cs
index 8cc907ce532..eb5e2f2f814 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_NoValueSpecified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_NoValueSpecified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.codegen.cs
index eab503ea94a..e7eb29d9cd1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.mappings.txt
index ba65e472a5c..482179ecf1e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecified/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (39:0,39 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Property1|
-Generated Location: (1246:30,39 [9] )
+Generated Location: (1265:31,39 [9] )
|Property1|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.codegen.cs
index b56d4da8bd9..4726f4fd078 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.mappings.txt
index eb1a5a7fa7f..947c8dc65af 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValueSpecifiedUsingBind/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (56:0,56 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|myField|
-Generated Location: (1082:25,56 [7] )
+Generated Location: (1101:26,56 [7] )
|myField|
Source Location: (45:0,45 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Property1|
-Generated Location: (1720:39,45 [9] )
+Generated Location: (1739:40,45 [9] )
|Property1|
Source Location: (78:2,7 [46] x:\dir\subdir\Test\TestComponent.cshtml)
|
private string myField = "Some Value";
|
-Generated Location: (2163:57,7 [46] )
+Generated Location: (2182:58,7 [46] )
|
private string myField = "Some Value";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.codegen.cs
index af66d5203fb..adadfd6fc6e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.mappings.txt
index 2bbde09e021..cb191295c7b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEditorRequiredParameter_ValuesSpecifiedUsingSplatting/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (54:0,54 [32] x:\dir\subdir\Test\TestComponent.cshtml)
|new Dictionary()|
-Generated Location: (1200:25,54 [32] )
+Generated Location: (1219:26,54 [32] )
|new Dictionary()|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.codegen.cs
index 67860183250..e5493ce8ff0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.mappings.txt
index 72e7895b9e3..3922be3b351 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithEscapedParameterName/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (20:0,20 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1045:25,20 [1] )
+Generated Location: (1064:26,20 [1] )
|1|
Source Location: (30:0,30 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|2|
-Generated Location: (1338:34,30 [1] )
+Generated Location: (1357:35,30 [1] )
|2|
Source Location: (13:0,13 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|class|
-Generated Location: (1748:47,14 [5] )
+Generated Location: (1767:48,14 [5] )
|class|
Source Location: (23:0,23 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Prop2|
-Generated Location: (1973:56,23 [5] )
+Generated Location: (1992:57,23 [5] )
|Prop2|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithFullyQualifiedTagNames/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithFullyQualifiedTagNames/TestComponent.codegen.cs
index c9acd716c21..02afd4942a9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithFullyQualifiedTagNames/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithFullyQualifiedTagNames/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.codegen.cs
index 121b8817942..f4a267ed59c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.mappings.txt
index 46e057bd367..db5bd7612ef 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImplicitLambdaEventHandler/TestComponent.mappings.txt
@@ -5,7 +5,7 @@
counter++;
}
|
-Generated Location: (1304:37,7 [87] )
+Generated Location: (1323:38,7 [87] )
|
private int counter;
private void Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImportsFile/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImportsFile/TestComponent.codegen.cs
index 37fbd28dedf..f3f71037ec2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImportsFile/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithImportsFile/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace Test
#line 1 "x:\dir\subdir\Test\_Imports.razor"
using System.Text;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\_Imports.razor"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.codegen.cs
index 7de536a5c68..ebe81dedc05 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.mappings.txt
index b9305904237..b98b36ba21d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithInitOnlyParameter/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (19:0,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1044:25,19 [1] )
+Generated Location: (1063:26,19 [1] )
|1|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.codegen.cs
index 9c922a8b925..923fb553e98 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.mappings.txt
index baa71bb904f..388c34ee2c3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (40:0,40 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|someDate.Day|
-Generated Location: (1181:30,40 [12] )
+Generated Location: (1200:31,40 [12] )
|someDate.Day|
Source Location: (86:2,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
private DateTime someDate = DateTime.Now;
|
-Generated Location: (1548:47,7 [49] )
+Generated Location: (1567:48,7 [49] )
|
private DateTime someDate = DateTime.Now;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.codegen.cs
index cebe3569c5c..35b724fcad1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.mappings.txt
index 804beed26c9..0f3e3322b63 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithKey_WithChildContent/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (19:0,19 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|123 + 456|
-Generated Location: (1137:29,19 [9] )
+Generated Location: (1156:30,19 [9] )
|123 + 456|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.codegen.cs
index e60eeb9c8f8..c60de0da0ed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace AnotherTest
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.mappings.txt
index 2a3cda05649..511b9e8a6f2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNamespaceDirective/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (367:12,0 [10] )
+Generated Location: (368:12,0 [10] )
|using Test|
Source Location: (24:1,11 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|AnotherTest|
-Generated Location: (783:24,44 [11] )
+Generated Location: (784:24,44 [11] )
|AnotherTest|
Source Location: (56:3,17 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Header|
-Generated Location: (1589:47,17 [6] )
+Generated Location: (1590:47,17 [6] )
|Header|
Source Location: (109:5,17 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Footer|
-Generated Location: (2259:69,17 [6] )
+Generated Location: (2260:69,17 [6] )
|Footer|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.codegen.cs
index 499f27b0198..a3638f75183 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.mappings.txt
index 72cf20177b9..f8e45869419 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableActionParameter/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (46:0,46 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|NullableAction|
-Generated Location: (993:25,46 [14] )
+Generated Location: (1012:26,46 [14] )
|NullableAction|
Source Location: (29:0,29 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|NullableAction|
-Generated Location: (1447:38,29 [14] )
+Generated Location: (1466:39,29 [14] )
|NullableAction|
Source Location: (73:1,7 [61] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (73:1,7 [61] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public Action NullableAction { get; set; }
|
-Generated Location: (1885:56,7 [61] )
+Generated Location: (1904:57,7 [61] )
|
[Parameter]
public Action NullableAction { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.codegen.cs
index c3529627fac..cb8d02eac9f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.mappings.txt
index 9642325e687..23b8977a5f0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithNullableRenderFragmentParameter/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (46:0,46 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Header|
-Generated Location: (1026:25,46 [6] )
+Generated Location: (1045:26,46 [6] )
|Header|
Source Location: (37:0,37 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Header|
-Generated Location: (1488:38,37 [6] )
+Generated Location: (1507:39,37 [6] )
|Header|
Source Location: (65:1,7 [59] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter] public RenderFragment Header { get; set; }
|
-Generated Location: (1926:56,7 [59] )
+Generated Location: (1945:57,7 [59] )
|
[Parameter] public RenderFragment Header { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.codegen.cs
index 04b3628b9a6..7e67db762f9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.mappings.txt
index 004e092edd0..6eae5ab4834 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_False/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (20:0,20 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|false|
-Generated Location: (637:17,38 [5] )
+Generated Location: (656:18,38 [5] )
|false|
Source Location: (40:3,5 [63] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item in Enumerable.Range(1, 100))
{
|
-Generated Location: (1140:34,5 [63] )
+Generated Location: (1159:35,5 [63] )
|foreach (var item in Enumerable.Range(1, 100))
{
|
Source Location: (122:6,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|item|
-Generated Location: (1338:43,13 [4] )
+Generated Location: (1357:44,13 [4] )
|item|
Source Location: (141:7,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1478:50,13 [7] )
+Generated Location: (1497:51,13 [7] )
|
}|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.codegen.cs
index 44843431993..2f2fd597ccb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.mappings.txt
index d55a0df54d0..6aefe17330e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithPreserveWhitespaceDirective_True/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (20:0,20 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (637:17,38 [4] )
+Generated Location: (656:18,38 [4] )
|true|
Source Location: (39:3,5 [63] x:\dir\subdir\Test\TestComponent.cshtml)
|foreach (var item in Enumerable.Range(1, 100))
{
|
-Generated Location: (1139:34,5 [63] )
+Generated Location: (1158:35,5 [63] )
|foreach (var item in Enumerable.Range(1, 100))
{
|
Source Location: (121:6,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|item|
-Generated Location: (1337:43,13 [4] )
+Generated Location: (1356:44,13 [4] )
|item|
Source Location: (140:7,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1477:50,13 [7] )
+Generated Location: (1496:51,13 [7] )
|
}|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
index ea15ab39cf7..dcde3ec590f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
index b11a79019bb..9fb8d999415 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (40:0,40 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|myInstance|
-Generated Location: (1150:29,40 [10] )
+Generated Location: (1169:30,40 [10] )
|myInstance|
Source Location: (84:2,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (84:2,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
private Test.MyComponent myInstance;
public void Foo() { System.GC.KeepAlive(myInstance); }
|
-Generated Location: (1537:45,7 [104] )
+Generated Location: (1556:46,7 [104] )
|
private Test.MyComponent myInstance;
public void Foo() { System.GC.KeepAlive(myInstance); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.codegen.cs
index a1df5b02e6e..4e814e1b11e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.mappings.txt
index 42fbf31507b..56a6b1c491c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (21:0,21 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|myComponent|
-Generated Location: (1085:27,21 [11] )
+Generated Location: (1104:28,21 [11] )
|myComponent|
Source Location: (47:2,7 [111] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (47:2,7 [111] x:\dir\subdir\Test\TestComponent.cshtml)
private TestComponent myComponent = null!;
public void Use() { System.GC.KeepAlive(myComponent); }
|
-Generated Location: (1477:43,7 [111] )
+Generated Location: (1496:44,7 [111] )
|
private TestComponent myComponent = null!;
public void Use() { System.GC.KeepAlive(myComponent); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.codegen.cs
index d9e3e7e2207..f47fc7b2d6b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.mappings.txt
index 695568fb673..25df45aa453 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_Nullable_Generic/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (45:0,45 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1091:25,45 [1] )
+Generated Location: (1110:26,45 [1] )
|1|
Source Location: (19:0,19 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|myComponent|
-Generated Location: (1267:33,19 [11] )
+Generated Location: (1286:34,19 [11] )
|myComponent|
Source Location: (32:0,32 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|MyParameter|
-Generated Location: (1568:44,32 [11] )
+Generated Location: (1587:45,32 [11] )
|MyParameter|
Source Location: (61:2,7 [114] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -18,7 +18,7 @@ Source Location: (61:2,7 [114] x:\dir\subdir\Test\TestComponent.cshtml)
private MyComponent myComponent = null!;
public void Use() { System.GC.KeepAlive(myComponent); }
|
-Generated Location: (1989:62,7 [114] )
+Generated Location: (2008:63,7 [114] )
|
private MyComponent myComponent = null!;
public void Use() { System.GC.KeepAlive(myComponent); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
index c0adf822fbc..54282729604 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
index 1c1dd3d199f..5981855f8fd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithRef_WithChildContent/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (19:0,19 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|myInstance|
-Generated Location: (1106:28,19 [10] )
+Generated Location: (1125:29,19 [10] )
|myInstance|
Source Location: (108:4,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (108:4,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
private Test.MyComponent myInstance;
public void Foo() { System.GC.KeepAlive(myInstance); }
|
-Generated Location: (1493:44,7 [104] )
+Generated Location: (1512:45,7 [104] )
|
private Test.MyComponent myInstance;
public void Foo() { System.GC.KeepAlive(myInstance); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.codegen.cs
index 238db6760e8..a317bb730d6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.mappings.txt
index 4b8ff810f84..7c18b33f58f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (51:0,51 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1220:26,51 [14] )
+Generated Location: (1239:27,51 [14] )
|someAttributes|
Source Location: (103:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1776:47,7 [93] )
+Generated Location: (1795:48,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.codegen.cs
index f152d40731e..388b672d144 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.mappings.txt
index 57d68f8ec6b..0041e771322 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ExplicitExpression/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (53:0,53 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1222:26,53 [14] )
+Generated Location: (1241:27,53 [14] )
|someAttributes|
Source Location: (106:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1778:47,7 [93] )
+Generated Location: (1797:48,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.codegen.cs
index 769b4be1547..faec872d7ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.mappings.txt
index 3719afcbc6f..1338f1896ca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_GenericTypeInference/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (20:0,20 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|18|
-Generated Location: (1066:25,20 [2] )
+Generated Location: (1085:26,20 [2] )
|18|
Source Location: (39:0,39 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1249:33,39 [14] )
+Generated Location: (1268:34,39 [14] )
|someAttributes|
Source Location: (13:0,13 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1508:43,13 [5] )
+Generated Location: (1527:44,13 [5] )
|Value|
Source Location: (69:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1923:61,7 [93] )
+Generated Location: (1942:62,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.codegen.cs
index 8c58b057a7c..ec0c23f7697 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.mappings.txt
index 029ca6014b8..ef90e4f754c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithSplat_ImplicitExpression/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (52:0,52 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1221:26,52 [14] )
+Generated Location: (1240:27,52 [14] )
|someAttributes|
Source Location: (104:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1777:47,7 [93] )
+Generated Location: (1796:48,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.codegen.cs
index 7f386824354..07abffed543 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.mappings.txt
index 2e438dcb476..e04717f4347 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (46:2,1 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test2|
-Generated Location: (360:12,0 [11] )
+Generated Location: (361:12,0 [11] )
|using Test2|
Source Location: (6:0,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|"/MyPage"|
-Generated Location: (956:27,37 [9] )
+Generated Location: (957:27,37 [9] )
|"/MyPage"|
Source Location: (23:1,6 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"/AnotherRoute/{id}"|
-Generated Location: (1222:38,37 [20] )
+Generated Location: (1223:38,37 [20] )
|"/AnotherRoute/{id}"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.codegen.cs
index 5904215e799..72415049839 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
@@ -12,8 +12,6 @@ namespace Test
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
using Test2;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.mappings.txt
index 961ac43b3fa..482b6c3eca4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithUsingDirectives_AmbiguousImport/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test2|
-Generated Location: (360:12,0 [11] )
+Generated Location: (361:12,0 [11] )
|using Test2|
Source Location: (15:1,1 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test3|
-Generated Location: (494:19,0 [11] )
+Generated Location: (466:17,0 [11] )
|using Test3|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.codegen.cs
index ca479964ace..38a5e580db8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.mappings.txt
index d18c8e3adc1..2bfae06940e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Component_WithWriteOnlyParameter/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (19:0,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1044:25,19 [1] )
+Generated Location: (1063:26,19 [1] )
|1|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Prop|
-Generated Location: (1453:38,13 [4] )
+Generated Location: (1472:39,13 [4] )
|Prop|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.codegen.cs
index c6a214d2751..41e62a86e2b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.mappings.txt
index 5bbf43091c9..dd325382938 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ExplicitExpression/TestComponent.mappings.txt
@@ -2,13 +2,13 @@
|
var myValue = "Expression value";
|
-Generated Location: (903:24,2 [39] )
+Generated Location: (922:25,2 [39] )
|
var myValue = "Expression value";
|
Source Location: (87:3,43 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|myValue|
-Generated Location: (1125:33,43 [7] )
+Generated Location: (1144:34,43 [7] )
|myValue|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.codegen.cs
index 5ca79de15b4..485ff0115d5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.mappings.txt
index 659c8511961..fdd198e9968 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DataDashAttribute_ImplicitExpression/TestComponent.mappings.txt
@@ -2,13 +2,13 @@
|
var myValue = "Expression value";
|
-Generated Location: (903:24,2 [39] )
+Generated Location: (922:25,2 [39] )
|
var myValue = "Expression value";
|
Source Location: (86:3,42 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|myValue|
-Generated Location: (1124:33,42 [7] )
+Generated Location: (1143:34,42 [7] )
|myValue|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.codegen.cs
index baf66027bc8..cfe64beb184 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.mappings.txt
index 8bc49d8ac9d..766216adb5c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Message|
-Generated Location: (1217:31,13 [7] )
+Generated Location: (1236:32,13 [7] )
|Message|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.codegen.cs
index 5c4e83f46cf..eef709b55dd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.mappings.txt
index b75d1fe1d40..e86d659f665 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessage/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (23:0,23 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|message|
-Generated Location: (1049:25,23 [7] )
+Generated Location: (1068:26,23 [7] )
|message|
Source Location: (48:0,48 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|message|
-Generated Location: (1367:34,48 [7] )
+Generated Location: (1386:35,48 [7] )
|message|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Message|
-Generated Location: (2412:50,13 [7] )
+Generated Location: (2431:51,13 [7] )
|Message|
Source Location: (38:0,38 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Message|
-Generated Location: (2654:59,38 [7] )
+Generated Location: (2673:60,38 [7] )
|Message|
Source Location: (73:1,12 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|
string message = "hi";
|
-Generated Location: (3074:77,12 [30] )
+Generated Location: (3093:78,12 [30] )
|
string message = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.codegen.cs
index 5160f5e50da..f5f6e2ebc14 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.mappings.txt
index fa80c7c6a06..32ce7d38750 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageChanged/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (31:0,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|(s) => {}|
-Generated Location: (1210:25,31 [9] )
+Generated Location: (1229:26,31 [9] )
|(s) => {}|
Source Location: (59:0,59 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|message|
-Generated Location: (1542:34,59 [7] )
+Generated Location: (1561:35,59 [7] )
|message|
Source Location: (13:0,13 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|MessageChanged|
-Generated Location: (2587:50,13 [14] )
+Generated Location: (2606:51,13 [14] )
|MessageChanged|
Source Location: (49:0,49 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Message|
-Generated Location: (2847:59,49 [7] )
+Generated Location: (2866:60,49 [7] )
|Message|
Source Location: (84:1,12 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|
string message = "hi";
|
-Generated Location: (3267:77,12 [30] )
+Generated Location: (3286:78,12 [30] )
|
string message = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.codegen.cs
index 99939f92c7c..9e6140eafef 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.mappings.txt
index 3b7eb351678..0b6a80788c2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_BindMessageExpression/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (59:0,59 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|(s) => {}|
-Generated Location: (1136:25,59 [9] )
+Generated Location: (1155:26,59 [9] )
|(s) => {}|
Source Location: (29:0,29 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|message|
-Generated Location: (1437:34,29 [7] )
+Generated Location: (1456:35,29 [7] )
|message|
Source Location: (38:0,38 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|MessageExpression|
-Generated Location: (2507:50,38 [17] )
+Generated Location: (2526:51,38 [17] )
|MessageExpression|
Source Location: (19:0,19 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Message|
-Generated Location: (2740:59,19 [7] )
+Generated Location: (2759:60,19 [7] )
|Message|
Source Location: (87:1,12 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|
string message = "hi";
|
-Generated Location: (3160:77,12 [30] )
+Generated Location: (3179:78,12 [30] )
|
string message = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.codegen.cs
index f6d12bc8c69..362822b990b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.mappings.txt
index a30ac0447ea..25137ba76f6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_Multiple/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|Message|
-Generated Location: (1240:32,13 [7] )
+Generated Location: (1259:33,13 [7] )
|Message|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_WeaklyTyped/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_WeaklyTyped/TestComponent.codegen.cs
index 0ca9f1a419e..6f8d050e81a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_WeaklyTyped/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateComponentParameters_IsAnError_WeaklyTyped/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.codegen.cs
index 556a5696058..ce3cf1f3a91 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.mappings.txt
index 12f3963c193..00d223f476c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_DifferentCasing_IsAnError_BindValue/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (91:2,40 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|text|
-Generated Location: (1191:32,40 [4] )
+Generated Location: (1192:32,40 [4] )
|text|
Source Location: (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
private string text = "hi";
|
-Generated Location: (1528:43,12 [35] )
+Generated Location: (1529:43,12 [35] )
|
private string text = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.codegen.cs
index f39d2bee150..53555edb18b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.mappings.txt
index db1cc6d491c..59ed02ba3a1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindOnInput/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (130:2,79 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|() => {}|
-Generated Location: (1296:32,79 [8] )
+Generated Location: (1297:32,79 [8] )
|() => {}|
Source Location: (86:2,35 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|text|
-Generated Location: (1563:41,35 [4] )
+Generated Location: (1564:41,35 [4] )
|text|
Source Location: (170:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
private string text = "hi";
|
-Generated Location: (1900:52,12 [35] )
+Generated Location: (1901:52,12 [35] )
|
private string text = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.codegen.cs
index 556a5696058..ce3cf1f3a91 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.mappings.txt
index 12f3963c193..00d223f476c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_BindValue/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (91:2,40 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|text|
-Generated Location: (1191:32,40 [4] )
+Generated Location: (1192:32,40 [4] )
|text|
Source Location: (127:4,12 [35] x:\dir\subdir\Test\TestComponent.cshtml)
|
private string text = "hi";
|
-Generated Location: (1528:43,12 [35] )
+Generated Location: (1529:43,12 [35] )
|
private string text = "hi";
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.codegen.cs
index e2e9eb799ac..86051369562 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.mappings.txt
index f4b46d103f4..dae179912d7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_IsAnError_EventHandler/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (83:2,32 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|() => {}|
-Generated Location: (1252:32,32 [8] )
+Generated Location: (1253:32,32 [8] )
|() => {}|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_Multiple_IsAnError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_Multiple_IsAnError/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_Multiple_IsAnError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/DuplicateMarkupAttributes_Multiple_IsAnError/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.codegen.cs
index 7aee86ec793..6397cdd30b6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.mappings.txt
index 348ec1789e6..8553c677cdc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Duplicate_RenderMode/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (28:0,28 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1012:25,28 [53] )
+Generated Location: (1031:26,28 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ElementWithUppercaseTagName_CanHideWarningWithBang/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ElementWithUppercaseTagName_CanHideWarningWithBang/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ElementWithUppercaseTagName_CanHideWarningWithBang/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ElementWithUppercaseTagName_CanHideWarningWithBang/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.codegen.cs
index f36d3b1301a..1e558a86d19 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.mappings.txt
index ced8cc390bc..7154c7075a0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (37:0,37 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|someObject|
-Generated Location: (969:25,37 [10] )
+Generated Location: (988:26,37 [10] )
|someObject|
Source Location: (95:2,7 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|
private object someObject = new object();
|
-Generated Location: (1173:35,7 [49] )
+Generated Location: (1192:36,7 [49] )
|
private object someObject = new object();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.codegen.cs
index a06de155e71..e688f7738a7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.mappings.txt
index a55d6081ebb..1acf53fab77 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AndOtherAttributes/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (37:0,37 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Min|
-Generated Location: (958:25,37 [3] )
+Generated Location: (977:26,37 [3] )
|Min|
Source Location: (49:0,49 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|someObject|
-Generated Location: (1178:34,49 [10] )
+Generated Location: (1197:35,49 [10] )
|someObject|
Source Location: (74:2,7 [109] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -14,7 +14,7 @@ Source Location: (74:2,7 [109] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public int Min { get; set; }
|
-Generated Location: (1382:44,7 [109] )
+Generated Location: (1401:45,7 [109] )
|
private object someObject = new object();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
index 70029adf739..2e8f191b80c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
index 329376fbfce..be649781192 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithKey_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private object someObject = new object();
|
-Generated Location: (957:26,7 [49] )
+Generated Location: (976:27,7 [49] )
|
private object someObject = new object();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
index 7d63467ecd2..986022e4949 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
index bacf03fac12..e0afa428222 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (37:0,37 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|myElem|
-Generated Location: (938:24,37 [6] )
+Generated Location: (957:25,37 [6] )
|myElem|
Source Location: (91:2,7 [128] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (91:2,7 [128] x:\dir\subdir\Test\TestComponent.cshtml)
private Microsoft.AspNetCore.Components.ElementReference myElem;
public void Foo() { System.GC.KeepAlive(myElem); }
|
-Generated Location: (1184:33,7 [128] )
+Generated Location: (1203:34,7 [128] )
|
private Microsoft.AspNetCore.Components.ElementReference myElem;
public void Foo() { System.GC.KeepAlive(myElem); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.codegen.cs
index ff0aefcbb72..996de37059b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.mappings.txt
index 9c8a5e0fd27..2446cbc76e9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AndOtherAttributes/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (37:0,37 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Min|
-Generated Location: (958:25,37 [3] )
+Generated Location: (977:26,37 [3] )
|Min|
Source Location: (49:0,49 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|_element|
-Generated Location: (1147:33,49 [8] )
+Generated Location: (1166:34,49 [8] )
|_element|
Source Location: (72:2,7 [164] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (72:2,7 [164] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public int Min { get; set; }
public void Foo() { System.GC.KeepAlive(_element); }
|
-Generated Location: (1395:42,7 [164] )
+Generated Location: (1414:43,7 [164] )
|
private ElementReference _element;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AttributeNameIsCaseSensitive/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithRef_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.codegen.cs
index a3556f3578f..7e145027aba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.mappings.txt
index 7a52e2bbf6c..9d021c0685c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (44:0,44 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1190:25,44 [14] )
+Generated Location: (1209:26,44 [14] )
|someAttributes|
Source Location: (106:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1399:35,7 [93] )
+Generated Location: (1418:36,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
index 69d3fc41433..12d5658d992 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
index 517ac1f0d6f..c1712c3f323 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (957:26,7 [93] )
+Generated Location: (976:27,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.codegen.cs
index eb2b9948e45..29b2a39e1b4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.mappings.txt
index 0a21b1f7fe6..c923994d88f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ExplicitExpression/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (46:0,46 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1192:25,46 [14] )
+Generated Location: (1211:26,46 [14] )
|someAttributes|
Source Location: (109:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1401:35,7 [93] )
+Generated Location: (1420:36,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.codegen.cs
index 581e354e4cf..a7170143355 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.mappings.txt
index e6aa4e46f30..141af2c21ab 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Element_WithSplat_ImplicitExpression/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (45:0,45 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|someAttributes|
-Generated Location: (1191:25,45 [14] )
+Generated Location: (1210:26,45 [14] )
|someAttributes|
Source Location: (107:2,7 [93] x:\dir\subdir\Test\TestComponent.cshtml)
|
private Dictionary someAttributes = new Dictionary();
|
-Generated Location: (1400:35,7 [93] )
+Generated Location: (1419:36,7 [93] )
|
private Dictionary someAttributes = new Dictionary();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.codegen.cs
index 03f18fc190d..2cba6104502 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.mappings.txt
index 830a29a9326..34978eca2ae 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_Array/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (26:0,26 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|Selected|
-Generated Location: (1072:25,26 [8] )
+Generated Location: (1091:26,26 [8] )
|Selected|
Source Location: (19:0,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1593:36,19 [5] )
+Generated Location: (1612:37,19 [5] )
|Value|
Source Location: (49:2,7 [64] x:\dir\subdir\Test\TestComponent.cshtml)
|
string[] Selected { get; set; } = Array.Empty();
|
-Generated Location: (2008:54,7 [64] )
+Generated Location: (2027:55,7 [64] )
|
string[] Selected { get; set; } = Array.Empty();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.codegen.cs
index 107f20b338f..76c98fa08ee 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.mappings.txt
index fbcaa7ef9c8..9bee0421421 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (16:0,16 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyType|
-Generated Location: (944:25,16 [6] )
+Generated Location: (963:26,16 [6] )
|MyType|
Source Location: (35:0,35 [25] x:\dir\subdir\Test\TestComponent.cshtml)
|(MyType arg) => counter++|
-Generated Location: (1371:34,35 [25] )
+Generated Location: (1390:35,35 [25] )
|(MyType arg) => counter++|
Source Location: (24:0,24 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1824:47,24 [7] )
+Generated Location: (1843:48,24 [7] )
|OnClick|
Source Location: (75:2,7 [28] x:\dir\subdir\Test\TestComponent.cshtml)
|
private int counter;
|
-Generated Location: (2241:65,7 [28] )
+Generated Location: (2260:66,7 [28] )
|
private int counter;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.codegen.cs
index d28ce8d24d3..63e6f0057cc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.mappings.txt
index 89cc810549f..6e9e36ff4f5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_ExplicitType_MethodGroup/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (16:0,16 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|MyType|
-Generated Location: (944:25,16 [6] )
+Generated Location: (963:26,16 [6] )
|MyType|
Source Location: (33:0,33 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1369:34,33 [9] )
+Generated Location: (1388:35,33 [9] )
|Increment|
Source Location: (24:0,24 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1806:47,24 [7] )
+Generated Location: (1825:48,24 [7] )
|OnClick|
Source Location: (56:2,7 [84] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -19,7 +19,7 @@ Source Location: (56:2,7 [84] x:\dir\subdir\Test\TestComponent.cshtml)
public void Increment(MyType type) => counter++;
|
-Generated Location: (2223:65,7 [84] )
+Generated Location: (2242:66,7 [84] )
|
private int counter;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.codegen.cs
index 8f76c5f6939..ed1554f141d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.mappings.txt
index d9bc9c078b2..12b939b3c1d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_01/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private int counter;
|
-Generated Location: (1121:33,7 [28] )
+Generated Location: (1140:34,7 [28] )
|
private int counter;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.codegen.cs
index 718accede23..81fd33605b8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.mappings.txt
index d9bc9c078b2..12b939b3c1d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallbackOfT_GenericComponent_MissingTypeParameterBinding_02/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private int counter;
|
-Generated Location: (1121:33,7 [28] )
+Generated Location: (1140:34,7 [28] )
|
private int counter;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.codegen.cs
index 8c8b09f96d9..7ba908e2440 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.mappings.txt
index 3939e9b9558..5ad575ed8b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Explicitly/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (68:1,24 [61] x:\dir\subdir\Test\TestComponent.cshtml)
|EventCallback.Factory.Create(this, Increment)|
-Generated Location: (1441:32,24 [61] )
+Generated Location: (1442:32,24 [61] )
|EventCallback.Factory.Create(this, Increment)|
Source Location: (57:1,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1911:45,13 [7] )
+Generated Location: (1912:45,13 [7] )
|OnClick|
Source Location: (144:3,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -20,7 +20,7 @@ Source Location: (144:3,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (2326:63,7 [87] )
+Generated Location: (2327:63,7 [87] )
|
private int counter;
private void Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.codegen.cs
index ad60ac24286..fb0ea1a7796 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.mappings.txt
index c6352a790c4..39232f3b44e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_Action/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1276:25,23 [9] )
+Generated Location: (1295:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1694:38,13 [7] )
+Generated Location: (1713:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (46:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (2109:56,7 [87] )
+Generated Location: (2128:57,7 [87] )
|
private int counter;
private void Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.codegen.cs
index 386b1c00ae1..70cc54c19f8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.mappings.txt
index 25009b77844..438fef65ffd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_ActionOfT/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1440:32,23 [9] )
+Generated Location: (1441:32,23 [9] )
|Increment|
Source Location: (57:1,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1858:45,13 [7] )
+Generated Location: (1859:45,13 [7] )
|OnClick|
Source Location: (90:3,7 [103] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -20,7 +20,7 @@ Source Location: (90:3,7 [103] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (2273:63,7 [103] )
+Generated Location: (2274:63,7 [103] )
|
private int counter;
private void Increment(MouseEventArgs e) {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.codegen.cs
index bbc5c3b2d95..acfba6b2545 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.mappings.txt
index 925a96d5539..35a5b22e179 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTTask/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1440:32,23 [9] )
+Generated Location: (1441:32,23 [9] )
|Increment|
Source Location: (57:1,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1858:45,13 [7] )
+Generated Location: (1859:45,13 [7] )
|OnClick|
Source Location: (90:3,7 [139] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -21,7 +21,7 @@ Source Location: (90:3,7 [139] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (2273:63,7 [139] )
+Generated Location: (2274:63,7 [139] )
|
private int counter;
private Task Increment(MouseEventArgs e) {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.codegen.cs
index 5ee687bac34..bbae09f800e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.mappings.txt
index 5220538b0d5..87ab800bae0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_FuncOfTask/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1276:25,23 [9] )
+Generated Location: (1295:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1694:38,13 [7] )
+Generated Location: (1713:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [123] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -16,7 +16,7 @@ Source Location: (46:2,7 [123] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (2109:56,7 [123] )
+Generated Location: (2128:57,7 [123] )
|
private int counter;
private Task Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.codegen.cs
index a5baaf3ebe8..65870f4e2ea 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.mappings.txt
index bdaa65687ba..a9fa57a1727 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallbackOfT_Implicitly_TypeMismatch/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (67:1,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1440:32,23 [9] )
+Generated Location: (1441:32,23 [9] )
|Increment|
Source Location: (57:1,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1858:45,13 [7] )
+Generated Location: (1859:45,13 [7] )
|OnClick|
Source Location: (90:3,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -20,7 +20,7 @@ Source Location: (90:3,7 [104] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (2273:63,7 [104] )
+Generated Location: (2274:63,7 [104] )
|
private int counter;
private void Increment(ChangeEventArgs e) {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.codegen.cs
index 732e816c0fa..dfce3d2b876 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.mappings.txt
index 1d8999dd37d..3f106590086 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Explicitly/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (24:0,24 [45] x:\dir\subdir\Test\TestComponent.cshtml)
|EventCallback.Factory.Create(this, Increment)|
-Generated Location: (1157:25,24 [45] )
+Generated Location: (1176:26,24 [45] )
|EventCallback.Factory.Create(this, Increment)|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1611:38,13 [7] )
+Generated Location: (1630:39,13 [7] )
|OnClick|
Source Location: (84:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (84:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (2026:56,7 [87] )
+Generated Location: (2045:57,7 [87] )
|
private int counter;
private void Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.codegen.cs
index 42546dc55d6..0250667e56c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.mappings.txt
index ef2245fabdc..bbe07780f88 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_Action/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1156:25,23 [9] )
+Generated Location: (1175:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1574:38,13 [7] )
+Generated Location: (1593:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (46:2,7 [87] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (1989:56,7 [87] )
+Generated Location: (2008:57,7 [87] )
|
private int counter;
private void Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.codegen.cs
index 0155b477389..b73fbdc102f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.mappings.txt
index 68db781a3f1..069fb002cb0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_ActionOfObject/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1156:25,23 [9] )
+Generated Location: (1175:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1574:38,13 [7] )
+Generated Location: (1593:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [95] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -15,7 +15,7 @@ Source Location: (46:2,7 [95] x:\dir\subdir\Test\TestComponent.cshtml)
counter++;
}
|
-Generated Location: (1989:56,7 [95] )
+Generated Location: (2008:57,7 [95] )
|
private int counter;
private void Increment(object e) {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.codegen.cs
index f209132bc9c..f6b44010cc1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.mappings.txt
index e8ee30270fd..8a0ad324a0d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfTask/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1156:25,23 [9] )
+Generated Location: (1175:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1574:38,13 [7] )
+Generated Location: (1593:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [123] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -16,7 +16,7 @@ Source Location: (46:2,7 [123] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (1989:56,7 [123] )
+Generated Location: (2008:57,7 [123] )
|
private int counter;
private Task Increment() {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.codegen.cs
index c96fd08f531..d194019fa87 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.mappings.txt
index e0edb5f1aed..e181749ad98 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventCallback_CanPassEventCallback_Implicitly_FuncOfobjectTask/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (23:0,23 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Increment|
-Generated Location: (1156:25,23 [9] )
+Generated Location: (1175:26,23 [9] )
|Increment|
Source Location: (13:0,13 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1574:38,13 [7] )
+Generated Location: (1593:39,13 [7] )
|OnClick|
Source Location: (46:2,7 [131] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -16,7 +16,7 @@ Source Location: (46:2,7 [131] x:\dir\subdir\Test\TestComponent.cshtml)
return Task.CompletedTask;
}
|
-Generated Location: (1989:56,7 [131] )
+Generated Location: (2008:57,7 [131] )
|
private int counter;
private Task Increment(object e) {
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandlerTagHelper_EscapeQuotes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
index 542335623d7..7fe4c4566c4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
index ff9d46b580f..403841e8bce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_AttributeNameIsCaseSensitive/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
void OnClick(MouseEventArgs e) {
}
|
-Generated Location: (1121:33,7 [47] )
+Generated Location: (1122:33,7 [47] )
|
void OnClick(MouseEventArgs e) {
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
index ce01ff9853c..4e2638453fd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
index 443bca6e30f..ab7378cd586 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1237:32,17 [7] )
+Generated Location: (1238:32,17 [7] )
|OnClick|
Source Location: (81:2,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (81:2,7 [42] x:\dir\subdir\Test\TestComponent.cshtml)
void OnClick(EventArgs e) {
}
|
-Generated Location: (1438:42,7 [42] )
+Generated Location: (1439:42,7 [42] )
|
void OnClick(EventArgs e) {
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
index bdcf5745250..fbac13ab17b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
index c4dd56dfc06..b60cd70b30b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithDelegate/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1237:32,17 [7] )
+Generated Location: (1238:32,17 [7] )
|OnClick|
Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
void OnClick(MouseEventArgs e) {
}
|
-Generated Location: (1438:42,7 [47] )
+Generated Location: (1439:42,7 [47] )
|
void OnClick(MouseEventArgs e) {
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
index 855fe3906c2..0df2047d893 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
index 3069909a1bf..4899678f8db 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsLambdaDelegate/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|x => { }|
-Generated Location: (1237:32,17 [8] )
+Generated Location: (1238:32,17 [8] )
|x => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
index bdcf5745250..fbac13ab17b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
index c4dd56dfc06..b60cd70b30b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithEventArgsMethodGroup/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1237:32,17 [7] )
+Generated Location: (1238:32,17 [7] )
|OnClick|
Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (81:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
void OnClick(MouseEventArgs e) {
}
|
-Generated Location: (1438:42,7 [47] )
+Generated Location: (1439:42,7 [47] )
|
void OnClick(MouseEventArgs e) {
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
index 855fe3906c2..0df2047d893 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
index 3069909a1bf..4899678f8db 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithLambdaDelegate/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|x => { }|
-Generated Location: (1237:32,17 [8] )
+Generated Location: (1238:32,17 [8] )
|x => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
index affc9bd427d..1b1c96d282d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
index 96cf9d39b74..89c729f2501 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgMethodGroup/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1237:32,17 [7] )
+Generated Location: (1238:32,17 [7] )
|OnClick|
Source Location: (81:2,7 [31] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (81:2,7 [31] x:\dir\subdir\Test\TestComponent.cshtml)
void OnClick() {
}
|
-Generated Location: (1438:42,7 [31] )
+Generated Location: (1439:42,7 [31] )
|
void OnClick() {
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
index bb509eae3d7..1b2a15c4f25 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
index aaadea1c0d9..ab3b6906270 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithNoArgsLambdaDelegate/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1237:32,17 [9] )
+Generated Location: (1238:32,17 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
index f776413edea..cf8fb86ded0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.mappings.txt
index f9e92379a0a..0bb5ce46c50 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithString/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.codegen.cs
index fb29cdad025..2319a20b9cc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.mappings.txt
index 572f6e7ef28..ab0ba70cd47 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_OnElement_WithoutCloseTag/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (70:2,19 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnClick|
-Generated Location: (1239:32,19 [7] )
+Generated Location: (1240:32,19 [7] )
|OnClick|
Source Location: (96:4,7 [31] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (96:4,7 [31] x:\dir\subdir\Test\TestComponent.cshtml)
void OnClick() {
}
|
-Generated Location: (1440:42,7 [31] )
+Generated Location: (1441:42,7 [31] )
|
void OnClick() {
}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.codegen.cs
index cef8e7d9fd0..4d66dd52f4e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.mappings.txt
index b322c169867..40daf3adf5f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_Duplicates/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (76:1,32 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1223:32,32 [4] )
+Generated Location: (1224:32,32 [4] )
|true|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.codegen.cs
index df4cb60ae5f..65552df7da8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.mappings.txt
index 8d1e6a2f831..229ad6c2357 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation/TestComponent.mappings.txt
@@ -1,33 +1,33 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (62:1,18 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|() => Foo = false|
-Generated Location: (1238:32,18 [17] )
+Generated Location: (1239:32,18 [17] )
|() => Foo = false|
Source Location: (106:1,62 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (1581:41,62 [4] )
+Generated Location: (1582:41,62 [4] )
|true|
Source Location: (138:1,94 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Foo|
-Generated Location: (1943:50,94 [3] )
+Generated Location: (1944:50,94 [3] )
|Foo|
Source Location: (169:1,125 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|false|
-Generated Location: (2335:59,125 [5] )
+Generated Location: (2336:59,125 [5] )
|false|
Source Location: (202:2,7 [30] x:\dir\subdir\Test\TestComponent.cshtml)
|
bool Foo { get; set; }
|
-Generated Location: (2534:69,7 [30] )
+Generated Location: (2535:69,7 [30] )
|
bool Foo { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.codegen.cs
index 88c2652a372..af5f8f9a4cb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.mappings.txt
index f9e92379a0a..0bb5ce46c50 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_PreventDefault_StopPropagation_Minimized/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.codegen.cs
index 6b8c90e8d90..66c04bf7d04 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.mappings.txt
index a1480445104..d5e403b93f8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/EventHandler_WithDelegate_PreventDefault/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|OnFocus|
-Generated Location: (1237:32,17 [7] )
+Generated Location: (1238:32,17 [7] )
|OnFocus|
Source Location: (95:1,51 [22] x:\dir\subdir\Test\TestComponent.cshtml)
|ShouldPreventDefault()|
-Generated Location: (1559:41,51 [22] )
+Generated Location: (1560:41,51 [22] )
|ShouldPreventDefault()|
Source Location: (130:2,7 [95] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -19,7 +19,7 @@ Source Location: (130:2,7 [95] x:\dir\subdir\Test\TestComponent.cshtml)
bool ShouldPreventDefault() { return false; }
|
-Generated Location: (1775:51,7 [95] )
+Generated Location: (1776:51,7 [95] )
|
void OnFocus(FocusEventArgs e) { }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.codegen.cs
index fa73cb8dafb..af4fe440127 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.mappings.txt
index 0717188b4fe..58816be210f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpError/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (98:1,54 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1522:41,54 [1] )
+Generated Location: (1523:41,54 [1] )
|x|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.codegen.cs
index d4b43305e75..9efeadf3b4c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.mappings.txt
index adc593faf57..a109d138f58 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (99:1,55 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (1523:41,55 [20] )
+Generated Location: (1524:41,55 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.codegen.cs
index 0c6ff836310..6e7ad3a0cc5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.mappings.txt
index b4717c113da..fefcb25da18 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_CSharpValue_Integer/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (98:1,54 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1522:41,54 [1] )
+Generated Location: (1523:41,54 [1] )
|x|
Source Location: (117:2,7 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|
int x = 1;
|
-Generated Location: (1717:51,7 [18] )
+Generated Location: (1718:51,7 [18] )
|
int x = 1;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.codegen.cs
index dd199474d62..c7c023e81b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.mappings.txt
index 3bc246def4a..d325379ae19 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_ChildContent/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (92:2,8 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (1073:31,8 [12] )
+Generated Location: (1074:31,8 [12] )
|DateTime.Now|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.codegen.cs
index e74ef9d18e1..1772b2d223d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.mappings.txt
index e0da981f051..a3aff208ea6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (84:1,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1249:33,40 [9] )
+Generated Location: (1250:33,40 [9] )
|() => { }|
Source Location: (170:2,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1929:54,40 [9] )
+Generated Location: (1930:54,40 [9] )
|() => { }|
Source Location: (194:2,64 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (2160:63,64 [20] )
+Generated Location: (2161:63,64 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.codegen.cs
index 3f8001a4420..2960b46c3ba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.mappings.txt
index f9fa904f461..8647c7d050b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic/TestComponent.mappings.txt
@@ -1,53 +1,53 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (55:1,11 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|T|
-Generated Location: (565:20,0 [1] )
+Generated Location: (566:20,0 [1] )
|T|
Source Location: (98:2,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1562:43,40 [9] )
+Generated Location: (1563:43,40 [9] )
|() => { }|
Source Location: (151:2,93 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1815:51,93 [1] )
+Generated Location: (1816:51,93 [1] )
|1|
Source Location: (140:2,82 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (2132:61,82 [9] )
+Generated Location: (2133:61,82 [9] )
|Parameter|
Source Location: (198:3,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (2795:78,40 [9] )
+Generated Location: (2796:78,40 [9] )
|() => { }|
Source Location: (222:3,64 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (3011:86,64 [20] )
+Generated Location: (3012:86,64 [20] )
|"named-form-handler"|
Source Location: (256:3,98 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|2|
-Generated Location: (3271:94,98 [1] )
+Generated Location: (3272:94,98 [1] )
|2|
Source Location: (245:3,87 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (3593:104,87 [9] )
+Generated Location: (3594:104,87 [9] )
|Parameter|
Source Location: (270:4,7 [52] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter] public T Parameter { get; set; }
|
-Generated Location: (4014:122,7 [52] )
+Generated Location: (4015:122,7 [52] )
|
[Parameter] public T Parameter { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.codegen.cs
index 3f8001a4420..2960b46c3ba 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.mappings.txt
index f9fa904f461..8647c7d050b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_Generic_RazorLangVersion7/TestComponent.mappings.txt
@@ -1,53 +1,53 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (55:1,11 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|T|
-Generated Location: (565:20,0 [1] )
+Generated Location: (566:20,0 [1] )
|T|
Source Location: (98:2,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1562:43,40 [9] )
+Generated Location: (1563:43,40 [9] )
|() => { }|
Source Location: (151:2,93 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1815:51,93 [1] )
+Generated Location: (1816:51,93 [1] )
|1|
Source Location: (140:2,82 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (2132:61,82 [9] )
+Generated Location: (2133:61,82 [9] )
|Parameter|
Source Location: (198:3,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (2795:78,40 [9] )
+Generated Location: (2796:78,40 [9] )
|() => { }|
Source Location: (222:3,64 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (3011:86,64 [20] )
+Generated Location: (3012:86,64 [20] )
|"named-form-handler"|
Source Location: (256:3,98 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|2|
-Generated Location: (3271:94,98 [1] )
+Generated Location: (3272:94,98 [1] )
|2|
Source Location: (245:3,87 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (3593:104,87 [9] )
+Generated Location: (3594:104,87 [9] )
|Parameter|
Source Location: (270:4,7 [52] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter] public T Parameter { get; set; }
|
-Generated Location: (4014:122,7 [52] )
+Generated Location: (4015:122,7 [52] )
|
[Parameter] public T Parameter { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.codegen.cs
index e74ef9d18e1..1772b2d223d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.mappings.txt
index e0da981f051..a3aff208ea6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Component_RazorLangVersion7/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (84:1,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1249:33,40 [9] )
+Generated Location: (1250:33,40 [9] )
|() => { }|
Source Location: (170:2,40 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1929:54,40 [9] )
+Generated Location: (1930:54,40 [9] )
|() => { }|
Source Location: (194:2,64 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (2160:63,64 [20] )
+Generated Location: (2161:63,64 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.codegen.cs
index e493974782c..8ae00799205 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.mappings.txt
index e73213706a5..a46a1f2ead3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_CSharpValue/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (98:1,54 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1522:41,54 [1] )
+Generated Location: (1523:41,54 [1] )
|x|
Source Location: (113:1,69 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|y|
-Generated Location: (1730:49,69 [1] )
+Generated Location: (1731:49,69 [1] )
|y|
Source Location: (132:2,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -23,7 +23,7 @@ Source Location: (132:2,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
string x = "a";
string y = "b";
|
-Generated Location: (1910:58,7 [44] )
+Generated Location: (1911:58,7 [44] )
|
string x = "a";
string y = "b";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.codegen.cs
index 7cc6b89a1f0..9f0bfc4503a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.mappings.txt
index dd47a4cf62b..1110f7fd9ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Duplicate_HtmlValue/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.codegen.cs
index 28191738e9e..21979b85713 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.mappings.txt
index 9ae1e5189f3..e07c70d5b02 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_FakeSubmit/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (161:2,45 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (1214:32,45 [20] )
+Generated Location: (1215:32,45 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.codegen.cs
index 7cc6b89a1f0..9f0bfc4503a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.mappings.txt
index dd47a4cf62b..1110f7fd9ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_HtmlValue/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.codegen.cs
index e0391abd0e3..fb25cf3225c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.mappings.txt
index b7a902a069e..34ee2c99b73 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingSubmit/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (137:2,33 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (1202:32,33 [20] )
+Generated Location: (1203:32,33 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.codegen.cs
index 907f3d32748..817c5e0ae32 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.mappings.txt
index 34837fb3c01..36ce62acbcb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MissingUsing/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (137:1,55 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (1060:25,55 [20] )
+Generated Location: (1079:26,55 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.codegen.cs
index 302273a5fb4..ea543967b48 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.mappings.txt
index 6970beb7f50..9c026f25d36 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MixedValue/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (105:1,61 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|"literal"|
-Generated Location: (1529:41,61 [9] )
+Generated Location: (1530:41,61 [9] )
|"literal"|
Source Location: (117:1,73 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1853:50,73 [1] )
+Generated Location: (1854:50,73 [1] )
|x|
Source Location: (140:2,7 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|
int x = 1;
|
-Generated Location: (2048:60,7 [18] )
+Generated Location: (2049:60,7 [18] )
|
int x = 1;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.codegen.cs
index 8ecef0bc5cf..99676466df8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.mappings.txt
index c7ad5d2006a..7fbc4fc1956 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_CSharpValue/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (98:1,54 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|x|
-Generated Location: (1522:41,54 [1] )
+Generated Location: (1523:41,54 [1] )
|x|
Source Location: (141:2,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1813:50,31 [9] )
+Generated Location: (1814:50,31 [9] )
|() => { }|
Source Location: (164:2,54 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|y|
-Generated Location: (2118:59,54 [1] )
+Generated Location: (2119:59,54 [1] )
|y|
Source Location: (183:3,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -28,7 +28,7 @@ Source Location: (183:3,7 [44] x:\dir\subdir\Test\TestComponent.cshtml)
string x = "a";
string y = "b";
|
-Generated Location: (2313:69,7 [44] )
+Generated Location: (2314:69,7 [44] )
|
string x = "a";
string y = "b";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.codegen.cs
index ddad9faf4d1..3ee4373c8b9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.mappings.txt
index 46a4c760da0..1101f9858ca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_MoreElements_HtmlValue/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (140:2,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1516:41,31 [9] )
+Generated Location: (1517:41,31 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.codegen.cs
index 9ebcc4ec126..90c31c55c15 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.mappings.txt
index a708f49d0fe..36e74eb8f3e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nested/TestComponent.mappings.txt
@@ -1,33 +1,33 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (161:3,35 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1655:42,35 [9] )
+Generated Location: (1656:42,35 [9] )
|() => { }|
Source Location: (255:5,39 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (2110:52,39 [9] )
+Generated Location: (2111:52,39 [9] )
|() => { }|
Source Location: (346:7,35 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (2628:70,35 [9] )
+Generated Location: (2629:70,35 [9] )
|() => { }|
Source Location: (405:9,7 [68] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
-Generated Location: (3031:89,7 [68] )
+Generated Location: (3032:89,7 [68] )
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.codegen.cs
index 7cc6b89a1f0..9f0bfc4503a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.mappings.txt
index dd47a4cf62b..1110f7fd9ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NoAddNamedEventMethod/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.codegen.cs
index fda941d9374..3f75d3c54e6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.mappings.txt
index ead8500c027..d8d551aae2d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (74:1,30 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1216:32,30 [9] )
+Generated Location: (1217:32,30 [9] )
|() => { }|
Source Location: (154:2,30 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1514:41,30 [9] )
+Generated Location: (1515:41,30 [9] )
|() => { }|
Source Location: (178:2,54 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (1735:50,54 [20] )
+Generated Location: (1736:50,54 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.codegen.cs
index fda941d9374..3f75d3c54e6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.mappings.txt
index ead8500c027..d8d551aae2d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_NotAForm_RazorLangVersion7/TestComponent.mappings.txt
@@ -1,20 +1,20 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (74:1,30 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1216:32,30 [9] )
+Generated Location: (1217:32,30 [9] )
|() => { }|
Source Location: (154:2,30 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1514:41,30 [9] )
+Generated Location: (1515:41,30 [9] )
|() => { }|
Source Location: (178:2,54 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|"named-form-handler"|
-Generated Location: (1735:50,54 [20] )
+Generated Location: (1736:50,54 [20] )
|"named-form-handler"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.codegen.cs
index 257134c831c..061e01d0e7e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.mappings.txt
index e2db44dc57e..647dcfa3ffd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_Nullability/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
Source Location: (98:1,54 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|null|
-Generated Location: (1522:41,54 [4] )
+Generated Location: (1523:41,54 [4] )
|null|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.codegen.cs
index 7c1c134c063..ab3ebf45881 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.mappings.txt
index dd47a4cf62b..1110f7fd9ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorError/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.codegen.cs
index 7cc6b89a1f0..9f0bfc4503a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.mappings.txt
index dd47a4cf62b..1110f7fd9ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/FormName_RazorLangVersion7/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (75:1,31 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|() => { }|
-Generated Location: (1217:32,31 [9] )
+Generated Location: (1218:32,31 [9] )
|() => { }|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs
index 328bb3269e4..d882b4e825d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt
index 8c1a5720c6f..345843f3b71 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Action/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (40:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (1153:36,21 [6] )
+Generated Location: (1172:37,21 [6] )
|TParam|
Source Location: (65:1,46 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1453:45,46 [11] )
+Generated Location: (1472:46,46 [11] )
|ParentValue|
Source Location: (95:1,76 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (2046:55,76 [11] )
+Generated Location: (2065:56,76 [11] )
|UpdateValue|
Source Location: (54:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2510:68,35 [5] )
+Generated Location: (2529:69,35 [5] )
|Value|
Source Location: (84:1,65 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2785:77,65 [5] )
+Generated Location: (2804:78,65 [5] )
|Value|
Source Location: (119:2,7 [128] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -34,7 +34,7 @@ Source Location: (119:2,7 [128] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(TParam value) { ParentValue = value; }
|
-Generated Location: (3200:95,7 [128] )
+Generated Location: (3219:96,7 [128] )
|
public TParam ParentValue { get; set; } = default;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs
index f80daf1592a..2a508f06f94 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt
index 530ef82bb0c..fd5a7ae66a8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_EventCallback/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (40:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (1153:36,21 [6] )
+Generated Location: (1172:37,21 [6] )
|TParam|
Source Location: (65:1,46 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1453:45,46 [11] )
+Generated Location: (1472:46,46 [11] )
|ParentValue|
Source Location: (95:1,76 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (2046:55,76 [11] )
+Generated Location: (2065:56,76 [11] )
|UpdateValue|
Source Location: (54:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2510:68,35 [5] )
+Generated Location: (2529:69,35 [5] )
|Value|
Source Location: (84:1,65 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2785:77,65 [5] )
+Generated Location: (2804:78,65 [5] )
|Value|
Source Location: (119:2,7 [118] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -33,7 +33,7 @@ Source Location: (119:2,7 [118] x:\dir\subdir\Test\TestComponent.cshtml)
public TParam ParentValue { get; set; } = default;
public EventCallback UpdateValue { get; set; }
|
-Generated Location: (3200:95,7 [118] )
+Generated Location: (3219:96,7 [118] )
|
public TParam ParentValue { get; set; } = default;
public EventCallback UpdateValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs
index 891ee73246e..d2446ef64e8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt
index d1de9000b86..2ab36de9e1e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericBindToGenericComponent_ExplicitType_WithGetSet_Function/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (40:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (1153:36,21 [6] )
+Generated Location: (1172:37,21 [6] )
|TParam|
Source Location: (65:1,46 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1453:45,46 [11] )
+Generated Location: (1472:46,46 [11] )
|ParentValue|
Source Location: (95:1,76 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (2046:55,76 [11] )
+Generated Location: (2065:56,76 [11] )
|UpdateValue|
Source Location: (54:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2510:68,35 [5] )
+Generated Location: (2529:69,35 [5] )
|Value|
Source Location: (84:1,65 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2785:77,65 [5] )
+Generated Location: (2804:78,65 [5] )
|Value|
Source Location: (119:2,7 [155] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -34,7 +34,7 @@ Source Location: (119:2,7 [155] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue(TParam value) { ParentValue = value; return Task.CompletedTask; }
|
-Generated Location: (3200:95,7 [155] )
+Generated Location: (3219:96,7 [155] )
|
public TParam ParentValue { get; set; } = default;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs
index 1a8dd1262e3..47cd51c5753 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt
index 4f3fc0985e8..55ba26ebab6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_ExplicitType_WithAfter_Action/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (40:1,21 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (1153:36,21 [6] )
+Generated Location: (1172:37,21 [6] )
|TParam|
Source Location: (65:1,46 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1453:45,46 [11] )
+Generated Location: (1472:46,46 [11] )
|ParentValue|
Source Location: (97:1,78 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Update|
-Generated Location: (1883:55,78 [6] )
+Generated Location: (1902:56,78 [6] )
|Update|
Source Location: (54:1,35 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2331:68,35 [5] )
+Generated Location: (2350:69,35 [5] )
|Value|
Source Location: (84:1,65 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2606:77,65 [5] )
+Generated Location: (2625:78,65 [5] )
|Value|
Source Location: (116:2,7 [79] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -34,7 +34,7 @@ Source Location: (116:2,7 [79] x:\dir\subdir\Test\TestComponent.cshtml)
public void Update() { }
|
-Generated Location: (3021:95,7 [79] )
+Generated Location: (3040:96,7 [79] )
|
public TParam ParentValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs
index 39ea3980844..b400830adc1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt
index 9edf0c9f159..2453712d828 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithAfter_Action/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (49:1,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1280:36,30 [11] )
+Generated Location: (1299:37,30 [11] )
|ParentValue|
Source Location: (81:1,62 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|Update|
-Generated Location: (1644:45,62 [6] )
+Generated Location: (1663:46,62 [6] )
|Update|
Source Location: (38:1,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1905:55,19 [5] )
+Generated Location: (1924:56,19 [5] )
|Value|
Source Location: (68:1,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2156:64,49 [5] )
+Generated Location: (2175:65,49 [5] )
|Value|
Source Location: (100:2,7 [79] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (100:2,7 [79] x:\dir\subdir\Test\TestComponent.cshtml)
public void Update() { }
|
-Generated Location: (2571:82,7 [79] )
+Generated Location: (2590:83,7 [79] )
|
public TParam ParentValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs
index a617a36e9bd..020fbc5bbc7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt
index 8045ef8face..ec9f0aea2cb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Action/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (49:1,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1280:36,30 [11] )
+Generated Location: (1299:37,30 [11] )
|ParentValue|
Source Location: (79:1,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1688:45,60 [11] )
+Generated Location: (1707:46,60 [11] )
|UpdateValue|
Source Location: (38:1,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1965:55,19 [5] )
+Generated Location: (1984:56,19 [5] )
|Value|
Source Location: (68:1,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2216:64,49 [5] )
+Generated Location: (2235:65,49 [5] )
|Value|
Source Location: (103:2,7 [128] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (103:2,7 [128] x:\dir\subdir\Test\TestComponent.cshtml)
public void UpdateValue(TParam value) { ParentValue = value; }
|
-Generated Location: (2631:82,7 [128] )
+Generated Location: (2650:83,7 [128] )
|
public TParam ParentValue { get; set; } = default;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs
index 93be3d82d1b..ea4a46f0f36 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt
index 81449e05a98..360841476b5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_EventCallback/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (49:1,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1280:36,30 [11] )
+Generated Location: (1299:37,30 [11] )
|ParentValue|
Source Location: (79:1,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1688:45,60 [11] )
+Generated Location: (1707:46,60 [11] )
|UpdateValue|
Source Location: (38:1,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1965:55,19 [5] )
+Generated Location: (1984:56,19 [5] )
|Value|
Source Location: (68:1,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2216:64,49 [5] )
+Generated Location: (2235:65,49 [5] )
|Value|
Source Location: (103:2,7 [118] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -28,7 +28,7 @@ Source Location: (103:2,7 [118] x:\dir\subdir\Test\TestComponent.cshtml)
public TParam ParentValue { get; set; } = default;
public EventCallback UpdateValue { get; set; }
|
-Generated Location: (2631:82,7 [118] )
+Generated Location: (2650:83,7 [118] )
|
public TParam ParentValue { get; set; } = default;
public EventCallback UpdateValue { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs
index 2941c64b171..487872b906e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt
index 511592df476..7862f1ecbeb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponentBindToGenericComponent_InferredType_WithGetSet_Function/TestComponent.mappings.txt
@@ -1,26 +1,26 @@
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TParam|
-Generated Location: (401:13,0 [6] )
+Generated Location: (420:14,0 [6] )
|TParam|
Source Location: (49:1,30 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentValue|
-Generated Location: (1280:36,30 [11] )
+Generated Location: (1299:37,30 [11] )
|ParentValue|
Source Location: (79:1,60 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|UpdateValue|
-Generated Location: (1688:45,60 [11] )
+Generated Location: (1707:46,60 [11] )
|UpdateValue|
Source Location: (38:1,19 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (1965:55,19 [5] )
+Generated Location: (1984:56,19 [5] )
|Value|
Source Location: (68:1,49 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2216:64,49 [5] )
+Generated Location: (2235:65,49 [5] )
|Value|
Source Location: (103:2,7 [155] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (103:2,7 [155] x:\dir\subdir\Test\TestComponent.cshtml)
public Task UpdateValue(TParam value) { ParentValue = value; return Task.CompletedTask; }
|
-Generated Location: (2631:82,7 [155] )
+Generated Location: (2650:83,7 [155] )
|
public TParam ParentValue { get; set; } = default;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.codegen.cs
index 7589ec7342c..6f0ce5742f8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.mappings.txt
index 23803dce1d1..da42138a1d7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeExplicit/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (20:1,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TChild|
-Generated Location: (534:20,0 [6] )
+Generated Location: (535:20,0 [6] )
|TChild|
Source Location: (52:2,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TChild|
-Generated Location: (1285:43,20 [6] )
+Generated Location: (1286:43,20 [6] )
|TChild|
Source Location: (69:2,37 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|(TChild x) => {}|
-Generated Location: (1714:52,37 [16] )
+Generated Location: (1715:52,37 [16] )
|(TChild x) => {}|
Source Location: (60:2,28 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (2162:65,28 [7] )
+Generated Location: (2163:65,28 [7] )
|MyEvent|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.codegen.cs
index c40b1fa8f51..e5796cad3d4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.mappings.txt
index b5f2ccfbb86..b9c56354c32 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_NestedTypeInference/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (20:1,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (11:0,11 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|TChild|
-Generated Location: (534:20,0 [6] )
+Generated Location: (535:20,0 [6] )
|TChild|
Source Location: (51:2,19 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|ChildItem|
-Generated Location: (1402:43,19 [9] )
+Generated Location: (1403:43,19 [9] )
|ChildItem|
Source Location: (71:2,39 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|MyChildEvent|
-Generated Location: (1667:51,39 [12] )
+Generated Location: (1668:51,39 [12] )
|MyChildEvent|
Source Location: (45:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1925:61,13 [4] )
+Generated Location: (1926:61,13 [4] )
|Item|
Source Location: (62:2,30 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (2156:70,30 [7] )
+Generated Location: (2157:70,30 [7] )
|MyEvent|
Source Location: (97:4,1 [138] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -33,7 +33,7 @@ Source Location: (97:4,1 [138] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter] public TChild ChildItem { get; set; }
[Parameter] public EventCallback MyChildEvent { get; set; }
|
-Generated Location: (2567:88,1 [138] )
+Generated Location: (2568:88,1 [138] )
|
[Parameter] public TChild ChildItem { get; set; }
[Parameter] public EventCallback MyChildEvent { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.codegen.cs
index f1732115da1..f2b71c2ea47 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.mappings.txt
index edf6a7edf37..181eb60db51 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithGenericTypeParameter_TypeInference/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (32:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1198:32,19 [1] )
+Generated Location: (1199:32,19 [1] )
|3|
Source Location: (44:1,31 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|(int x) => {}|
-Generated Location: (1447:40,31 [13] )
+Generated Location: (1448:40,31 [13] )
|(int x) => {}|
Source Location: (26:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1706:50,13 [4] )
+Generated Location: (1707:50,13 [4] )
|Item|
Source Location: (35:1,22 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (1929:59,22 [7] )
+Generated Location: (1930:59,22 [7] )
|MyEvent|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.codegen.cs
index 2aff5dc5afa..f66fc29eaa2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Linq;
using global::System.Threading.Tasks;
@@ -11,8 +11,6 @@ namespace Test
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
using Test;
-#line default
-#line hidden
#nullable disable
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.mappings.txt
index 96e3d6ca79d..475ed4bde59 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallbackWithNestedGenericTypeParameter_TypeInference/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (313:11,0 [10] )
+Generated Location: (314:11,0 [10] )
|using Test|
Source Location: (14:1,1 [32] x:\dir\subdir\Test\TestComponent.cshtml)
|using System.Collections.Generic|
-Generated Location: (446:18,0 [32] )
+Generated Location: (418:16,0 [32] )
|using System.Collections.Generic|
Source Location: (67:2,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1306:38,19 [1] )
+Generated Location: (1278:36,19 [1] )
|3|
Source Location: (79:2,31 [26] x:\dir\subdir\Test\TestComponent.cshtml)
|(IEnumerable x) => {}|
-Generated Location: (1555:46,31 [26] )
+Generated Location: (1527:44,31 [26] )
|(IEnumerable x) => {}|
Source Location: (61:2,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1827:56,13 [4] )
+Generated Location: (1799:54,13 [4] )
|Item|
Source Location: (70:2,22 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (2050:65,22 [7] )
+Generated Location: (2022:63,22 [7] )
|MyEvent|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.codegen.cs
index 9212ce59970..1cfc35672a0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.mappings.txt
index fac47736ac6..959dba7b18a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_GenericEventCallback_TypeInference/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (32:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1198:32,19 [1] )
+Generated Location: (1199:32,19 [1] )
|3|
Source Location: (44:1,31 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|x => {}|
-Generated Location: (1473:40,31 [7] )
+Generated Location: (1474:40,31 [7] )
|x => {}|
Source Location: (26:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1726:50,13 [4] )
+Generated Location: (1727:50,13 [4] )
|Item|
Source Location: (35:1,22 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (1949:59,22 [7] )
+Generated Location: (1950:59,22 [7] )
|MyEvent|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.codegen.cs
index 2666b9ab79e..c6870803909 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.mappings.txt
index 8265e4dafac..f26d01b1495 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NestedGenericEventCallback_TypeInference/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (32:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1198:32,19 [1] )
+Generated Location: (1199:32,19 [1] )
|3|
Source Location: (44:1,31 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|x => {}|
-Generated Location: (1562:40,31 [7] )
+Generated Location: (1563:40,31 [7] )
|x => {}|
Source Location: (26:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1815:50,13 [4] )
+Generated Location: (1816:50,13 [4] )
|Item|
Source Location: (35:1,22 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (2038:59,22 [7] )
+Generated Location: (2039:59,22 [7] )
|MyEvent|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.codegen.cs
index 79cb1a2d359..c1276c4f066 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.mappings.txt
index df7ec3277f5..c68e2efa031 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericEventCallback_TypeInference/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (32:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1198:32,19 [1] )
+Generated Location: (1199:32,19 [1] )
|3|
Source Location: (44:1,31 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|x => {}|
-Generated Location: (1447:40,31 [7] )
+Generated Location: (1448:40,31 [7] )
|x => {}|
Source Location: (26:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1700:50,13 [4] )
+Generated Location: (1701:50,13 [4] )
|Item|
Source Location: (35:1,22 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|MyEvent|
-Generated Location: (1923:59,22 [7] )
+Generated Location: (1924:59,22 [7] )
|MyEvent|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.codegen.cs
index 36491956c6f..b6ef95b48ce 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.mappings.txt
index 491f318819d..95dba2d423b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonGenericParameter_TypeInference/TestComponent.mappings.txt
@@ -1,33 +1,33 @@
Source Location: (1:0,1 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test.Shared|
-Generated Location: (360:12,0 [17] )
+Generated Location: (361:12,0 [17] )
|using Test.Shared|
Source Location: (39:1,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1205:32,19 [1] )
+Generated Location: (1206:32,19 [1] )
|3|
Source Location: (48:1,28 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Hello|
-Generated Location: (1376:40,28 [5] )
+Generated Location: (1377:40,28 [5] )
|Hello|
Source Location: (33:1,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1626:50,13 [4] )
+Generated Location: (1627:50,13 [4] )
|Item|
Source Location: (42:1,22 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Foo|
-Generated Location: (1849:59,22 [3] )
+Generated Location: (1850:59,22 [3] )
|Foo|
Source Location: (68:3,7 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|
MyClass Hello = new MyClass();
|
-Generated Location: (2262:77,7 [38] )
+Generated Location: (2263:77,7 [38] )
|
MyClass Hello = new MyClass();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.codegen.cs
index 4b59cc3de40..d30c4d05408 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.mappings.txt
index b8cc7ac9376..a849f2e9f61 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveType/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (20:0,20 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|CustomType|
-Generated Location: (948:25,20 [10] )
+Generated Location: (967:26,20 [10] )
|CustomType|
Source Location: (38:0,38 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|new CustomType()|
-Generated Location: (1248:34,38 [16] )
+Generated Location: (1267:35,38 [16] )
|new CustomType()|
Source Location: (32:0,32 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1703:47,32 [4] )
+Generated Location: (1722:48,32 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.codegen.cs
index 41731791ede..0b277ebd98c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.mappings.txt
index aad976080da..a35b52a9bdd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_NonPrimitiveTypeRenderFragment/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (19:0,19 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|new CustomType()|
-Generated Location: (1065:25,19 [16] )
+Generated Location: (1084:26,19 [16] )
|new CustomType()|
Source Location: (38:0,38 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToString()|
-Generated Location: (1291:33,38 [18] )
+Generated Location: (1310:34,38 [18] )
|context.ToString()|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1570:44,13 [4] )
+Generated Location: (1589:45,13 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.codegen.cs
index f1e7f2d5cda..3d2a1945aa0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.mappings.txt
index 311599849f3..cbefc4a0689 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_TypeParameterOrdering/TestComponent.mappings.txt
@@ -1,48 +1,48 @@
Source Location: (19:0,19 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (947:25,19 [6] )
+Generated Location: (966:26,19 [6] )
|string|
Source Location: (37:0,37 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|IComposedInterface|
-Generated Location: (1155:34,37 [18] )
+Generated Location: (1174:35,37 [18] )
|IComposedInterface|
Source Location: (70:0,70 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|_componentValue|
-Generated Location: (1491:43,70 [15] )
+Generated Location: (1510:44,70 [15] )
|_componentValue|
Source Location: (63:0,63 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (2417:58,63 [5] )
+Generated Location: (2436:59,63 [5] )
|Value|
Source Location: (114:1,23 [18] x:\dir\subdir\Test\TestComponent.cshtml)
|IComposedInterface|
-Generated Location: (2827:75,23 [18] )
+Generated Location: (2846:76,23 [18] )
|IComposedInterface|
Source Location: (140:1,49 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|string|
-Generated Location: (3059:84,49 [6] )
+Generated Location: (3078:85,49 [6] )
|string|
Source Location: (161:1,70 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|_componentValue|
-Generated Location: (3383:93,70 [15] )
+Generated Location: (3402:94,70 [15] )
|_componentValue|
Source Location: (154:1,63 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Value|
-Generated Location: (4309:108,63 [5] )
+Generated Location: (4328:109,63 [5] )
|Value|
Source Location: (191:3,7 [46] x:\dir\subdir\Test\TestComponent.cshtml)
|
string _componentValue = string.Empty;
|
-Generated Location: (4725:126,7 [46] )
+Generated Location: (4744:127,7 [46] )
|
string _componentValue = string.Empty;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.codegen.cs
index e14a8506502..4416926c62c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.mappings.txt
index b808fb861e9..abc77e5a562 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_UnmanagedConstraint/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (1:0,1 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|using Test|
-Generated Location: (360:12,0 [10] )
+Generated Location: (361:12,0 [10] )
|using Test|
Source Location: (37:1,24 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|1|
-Generated Location: (1203:32,24 [1] )
+Generated Location: (1204:32,24 [1] )
|1|
Source Location: (26:1,13 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|Parameter|
-Generated Location: (1449:42,13 [9] )
+Generated Location: (1450:42,13 [9] )
|Parameter|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.codegen.cs
index 360c515b4aa..15799e0f0bd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.mappings.txt
index 6eda6b30ec8..efcbd244b1b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_CreatesDiagnostic/TestComponent.mappings.txt
@@ -1,21 +1,21 @@
Source Location: (19:0,19 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|int|
-Generated Location: (947:25,19 [3] )
+Generated Location: (966:26,19 [3] )
|int|
Source Location: (29:0,29 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1224:34,29 [1] )
+Generated Location: (1243:35,29 [1] )
|3|
Source Location: (38:0,38 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|_my|
-Generated Location: (1564:45,38 [3] )
+Generated Location: (1583:46,38 [3] )
|_my|
Source Location: (23:0,23 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1854:54,23 [4] )
+Generated Location: (1873:55,23 [4] )
|Item|
Source Location: (56:2,7 [90] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -23,7 +23,7 @@ Source Location: (56:2,7 [90] x:\dir\subdir\Test\TestComponent.cshtml)
private MyComponent _my;
public void Foo() { System.GC.KeepAlive(_my); }
|
-Generated Location: (2268:72,7 [90] )
+Generated Location: (2287:73,7 [90] )
|
private MyComponent _my;
public void Foo() { System.GC.KeepAlive(_my); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.codegen.cs
index 077c81844ff..c7d4efeb79d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.mappings.txt
index 187e778f12b..ccba40abdd6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithComponentRef_TypeInference_CreatesDiagnostic/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (19:0,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1065:25,19 [1] )
+Generated Location: (1084:26,19 [1] )
|3|
Source Location: (28:0,28 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|_my|
-Generated Location: (1250:33,28 [3] )
+Generated Location: (1269:34,28 [3] )
|_my|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1524:44,13 [4] )
+Generated Location: (1543:45,13 [4] )
|Item|
Source Location: (46:2,7 [90] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -18,7 +18,7 @@ Source Location: (46:2,7 [90] x:\dir\subdir\Test\TestComponent.cshtml)
private MyComponent _my;
public void Foo() { System.GC.KeepAlive(_my); }
|
-Generated Location: (1938:62,7 [90] )
+Generated Location: (1957:63,7 [90] )
|
private MyComponent _my;
public void Foo() { System.GC.KeepAlive(_my); }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.codegen.cs
index 4a221667f5f..2d0f22e22ed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.mappings.txt
index 474b5a1eabd..44f71c6cefa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithFullyQualifiedTagName/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (26:0,26 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|"hi"|
-Generated Location: (1082:25,26 [4] )
+Generated Location: (1101:26,26 [4] )
|"hi"|
Source Location: (43:1,8 [17] x:\dir\subdir\Test\TestComponent.cshtml)
|context.ToLower()|
-Generated Location: (1266:33,8 [17] )
+Generated Location: (1285:34,8 [17] )
|context.ToLower()|
Source Location: (18:0,18 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1554:44,18 [4] )
+Generated Location: (1573:45,18 [4] )
|Item|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.codegen.cs
index 779d3fadd1f..583653238e5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.mappings.txt
index e79726bbdc5..0822cbce682 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey/TestComponent.mappings.txt
@@ -1,28 +1,28 @@
Source Location: (19:0,19 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|int|
-Generated Location: (947:25,19 [3] )
+Generated Location: (966:26,19 [3] )
|int|
Source Location: (29:0,29 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1224:34,29 [1] )
+Generated Location: (1243:35,29 [1] )
|3|
Source Location: (38:0,38 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|_someKey|
-Generated Location: (1595:46,38 [8] )
+Generated Location: (1614:47,38 [8] )
|_someKey|
Source Location: (23:0,23 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1863:56,23 [4] )
+Generated Location: (1882:57,23 [4] )
|Item|
Source Location: (61:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
private object _someKey = new object();
|
-Generated Location: (2277:74,7 [47] )
+Generated Location: (2296:75,7 [47] )
|
private object _someKey = new object();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.codegen.cs
index e7b5158e826..852f59237ab 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.mappings.txt
index 03196005938..9859e4686db 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/GenericComponent_WithKey_TypeInference/TestComponent.mappings.txt
@@ -1,23 +1,23 @@
Source Location: (19:0,19 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|3|
-Generated Location: (1065:25,19 [1] )
+Generated Location: (1084:26,19 [1] )
|3|
Source Location: (28:0,28 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|_someKey|
-Generated Location: (1236:33,28 [8] )
+Generated Location: (1255:34,28 [8] )
|_someKey|
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1489:43,13 [4] )
+Generated Location: (1508:44,13 [4] )
|Item|
Source Location: (51:2,7 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|
private object _someKey = new object();
|
-Generated Location: (1903:61,7 [47] )
+Generated Location: (1922:62,7 [47] )
|
private object _someKey = new object();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.codegen.cs
index 80dd84f1824..3d02e6d4fca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.mappings.txt
index 5a33dcf5657..60682423ce2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/IncludesMinimizedAttributeValueParameterBeforeLanguageVersion5/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (21:0,21 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|"val"|
-Generated Location: (942:25,21 [5] )
+Generated Location: (961:26,21 [5] )
|"val"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
index b86cc82c96b..a899db84c19 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
index 3ea868a491f..ddd681b7948 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|"My value"|
-Generated Location: (907:24,6 [10] )
+Generated Location: (926:25,6 [10] )
|"My value"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
index 3905a919fce..e2ea140f9c1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
index a395c89306d..22369e534f0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (48:1,26 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (1058:25,26 [12] )
+Generated Location: (1077:26,26 [12] )
|DateTime.Now|
Source Location: (81:2,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|"good"|
-Generated Location: (1207:32,14 [6] )
+Generated Location: (1226:33,14 [6] )
|"good"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
index f7e689a2a41..73dbfb47029 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
index 5c2916cb9d9..7371b139ad5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (1:0,1 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|using System|
-Generated Location: (333:11,0 [12] )
+Generated Location: (334:11,0 [12] )
|using System|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
index b86cc82c96b..a899db84c19 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
index 3ea868a491f..ddd681b7948 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (2:0,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|"My value"|
-Generated Location: (907:24,6 [10] )
+Generated Location: (926:25,6 [10] )
|"My value"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
index 3905a919fce..e2ea140f9c1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
index a395c89306d..22369e534f0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithComponent/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (48:1,26 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (1058:25,26 [12] )
+Generated Location: (1077:26,26 [12] )
|DateTime.Now|
Source Location: (81:2,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|"good"|
-Generated Location: (1207:32,14 [6] )
+Generated Location: (1226:33,14 [6] )
|"good"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
index f7e689a2a41..73dbfb47029 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
index 5c2916cb9d9..7371b139ad5 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_LeadingWhiteSpace_WithDirective/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (1:0,1 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|using System|
-Generated Location: (333:11,0 [12] )
+Generated Location: (334:11,0 [12] )
|using System|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
index f6abf082862..ff4aa9a8ed0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
index ef15fe11cc5..ea733350501 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|"My value"|
-Generated Location: (907:24,6 [10] )
+Generated Location: (926:25,6 [10] )
|"My value"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
index 8e77bf636e3..ad830b41702 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
index e7aef560bb2..1b5b6fa12ad 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Microsoft.AspNetCore.Components.RouteAttribute("/my/url")]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
index 47eeb8dfc15..b20f5567590 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (24:2,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|"/my/url"|
-Generated Location: (738:19,37 [9] )
+Generated Location: (757:20,37 [9] )
|"/my/url"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs
index 32f299802a7..eef92846f98 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt
index 3afd4e8a547..f411e6cc06b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Rendering|
-Generated Location: (360:12,0 [47] )
+Generated Location: (361:12,0 [47] )
|using Microsoft.AspNetCore.Components.Rendering|
Source Location: (57:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (57:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
void MyMethod(RenderTreeBuilder __builder)
{
|
-Generated Location: (1127:33,7 [65] )
+Generated Location: (1128:33,7 [65] )
|
void MyMethod(RenderTreeBuilder __builder)
{
@@ -18,20 +18,20 @@ Source Location: (141:5,13 [62] x:\dir\subdir\Test\TestComponent.cshtml)
|for (var i = 0; i < 100; i++)
{
|
-Generated Location: (1327:43,13 [62] )
+Generated Location: (1328:43,13 [62] )
|for (var i = 0; i < 100; i++)
{
|
Source Location: (230:8,21 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|i|
-Generated Location: (1532:52,21 [1] )
+Generated Location: (1533:52,21 [1] )
|i|
Source Location: (254:9,21 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1678:59,21 [15] )
+Generated Location: (1679:59,21 [15] )
|
}|
@@ -39,7 +39,7 @@ Source Location: (284:11,13 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
}
|
-Generated Location: (1829:67,13 [9] )
+Generated Location: (1830:67,13 [9] )
|
}
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs
index ebaddc5550c..88a3d23471d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt
index a38efa45981..dfc61e74ae1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Legacy_3_1_Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (12:0,12 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Foo|
-Generated Location: (933:25,12 [3] )
+Generated Location: (952:26,12 [3] )
|Foo|
Source Location: (31:1,11 [29] x:\dir\subdir\Test\TestComponent.cshtml)
|
int Foo = 18;
|
-Generated Location: (1133:35,11 [29] )
+Generated Location: (1152:36,11 [29] )
|
int Foo = 18;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.codegen.cs
index a434bb2553d..2c79b3fc611 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.mappings.txt
index 0b099b8b3b2..b65c8ed5ef4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/LinePragma_Multiline/TestComponent.mappings.txt
@@ -1,7 +1,7 @@
Source Location: (2:0,2 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|"text"
|
-Generated Location: (907:24,6 [8] )
+Generated Location: (926:25,6 [8] )
|"text"
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.codegen.cs
index 91c5f2d5ca7..063c05e3726 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.mappings.txt
index 5c93da841a5..341d6ba7012 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MarkupComment_IsNotIncluded/TestComponent.mappings.txt
@@ -2,13 +2,13 @@
|
var myValue = "Expression value";
|
-Generated Location: (903:24,2 [39] )
+Generated Location: (922:25,2 [39] )
|
var myValue = "Expression value";
|
Source Location: (50:3,6 [7] x:\dir\subdir\Test\TestComponent.cshtml)
|myValue|
-Generated Location: (1068:32,6 [7] )
+Generated Location: (1087:33,6 [7] )
|myValue|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleChildContentMatchingComponentName/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleChildContentMatchingComponentName/TestComponent.codegen.cs
index e4b293a45a8..949e0300899 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleChildContentMatchingComponentName/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleChildContentMatchingComponentName/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
index 22fe3690455..b9fe6d9a62c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
index fc7451b1bfe..41220d91eef 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/MultipleExplictChildContent/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (55:2,14 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|"bye!"|
-Generated Location: (1197:28,14 [6] )
+Generated Location: (1216:29,14 [6] )
|"bye!"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.codegen.cs
index 93cd7f51108..a5b22904a81 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.mappings.txt
index 516452f11fe..05b8561a944 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/NonGenericComponent_WithGenericEventHandler/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (13:0,13 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Item|
-Generated Location: (1217:31,13 [4] )
+Generated Location: (1236:32,13 [4] )
|Item|
Source Location: (64:2,7 [39] x:\dir\subdir\Test\TestComponent.cshtml)
|
public void MyEventHandler() {}
|
-Generated Location: (1629:49,7 [39] )
+Generated Location: (1648:50,7 [39] )
|
public void MyEventHandler() {}
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.codegen.cs
index 80dd84f1824..3d02e6d4fca 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.mappings.txt
index 5a33dcf5657..60682423ce2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/OmitsMinimizedAttributeValueParameter/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (21:0,21 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|"val"|
-Generated Location: (942:25,21 [5] )
+Generated Location: (961:26,21 [5] )
|"val"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.codegen.cs
index e01761ebb08..d73eb1000b4 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.mappings.txt
index 2a459fd75f0..4264722c4ec 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesEnhancedLinePragmaWhenNecessary/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (41:2,7 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|DateTime.Now|
-Generated Location: (908:24,7 [12] )
+Generated Location: (927:25,7 [12] )
|DateTime.Now|
Source Location: (96:6,1 [59] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (96:6,1 [59] x:\dir\subdir\Test\TestComponent.cshtml)
'key1': 'value1'
'key2': 'value2'
}")|
-Generated Location: (1049:31,6 [59] )
+Generated Location: (1068:32,6 [59] )
|JsonToHtml(@"{
'key1': 'value1'
'key2': 'value2'
@@ -21,7 +21,7 @@ Source Location: (166:11,7 [79] x:\dir\subdir\Test\TestComponent.cshtml)
return foo;
}
|
-Generated Location: (1288:43,7 [79] )
+Generated Location: (1307:44,7 [79] )
|
public string JsonToHtml(string foo)
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.codegen.cs
index eef920d249d..78c46969231 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.mappings.txt
index e364253be45..1dafa23b08e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ProducesStandardLinePragmaForCSharpCode/TestComponent.mappings.txt
@@ -2,26 +2,26 @@
|for (var i = 0; i < 10; i++)
{
|
-Generated Location: (902:24,1 [37] )
+Generated Location: (921:25,1 [37] )
|for (var i = 0; i < 10; i++)
{
|
Source Location: (74:3,8 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|i|
-Generated Location: (1069:33,8 [1] )
+Generated Location: (1088:34,8 [1] )
|i|
Source Location: (79:3,13 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1206:40,13 [3] )
+Generated Location: (1225:41,13 [3] )
|
}|
Source Location: (127:7,2 [56] x:\dir\subdir\Test\TestComponent.cshtml)
|System.Console.WriteLine(1);System.Console.WriteLine(2);|
-Generated Location: (1333:48,2 [56] )
+Generated Location: (1352:49,2 [56] )
|System.Console.WriteLine(1);System.Console.WriteLine(2);|
Source Location: (224:10,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -29,7 +29,7 @@ Source Location: (224:10,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public int IncrementAmount { get; set; }
|
-Generated Location: (1568:57,7 [65] )
+Generated Location: (1587:58,7 [65] )
|
[Parameter]
public int IncrementAmount { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
index b9ff9ecac36..f5079a4c944 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
index 638de7944e6..73accbd516c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_AsComponentParameter_MixedContent/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (2:0,2 [54] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment template = (context) => |
-Generated Location: (903:24,2 [54] )
+Generated Location: (922:25,2 [54] )
| RenderFragment template = (context) => |
Source Location: (63:0,63 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|context.Index|
-Generated Location: (1173:32,63 [13] )
+Generated Location: (1192:33,63 [13] )
|context.Index|
Source Location: (80:0,80 [22] x:\dir\subdir\Test\TestComponent.cshtml)
|context.Item.ToLower()|
-Generated Location: (1389:39,80 [22] )
+Generated Location: (1408:40,80 [22] )
|context.Item.ToLower()|
Source Location: (107:0,107 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
-Generated Location: (1656:47,107 [2] )
+Generated Location: (1675:48,107 [2] )
|; |
Source Location: (136:1,24 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|template|
-Generated Location: (1897:55,24 [8] )
+Generated Location: (1916:56,24 [8] )
|template|
Source Location: (125:1,13 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|Template|
-Generated Location: (2313:68,13 [8] )
+Generated Location: (2332:69,13 [8] )
|Template|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
index e740b57c599..4dc68476ab9 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
index b861629277b..81644a0fb3d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_ContainsComponent/TestComponent.mappings.txt
@@ -1,24 +1,24 @@
Source Location: (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
|
RenderFragment p = (person) => |
-Generated Location: (903:24,2 [45] )
+Generated Location: (922:25,2 [45] )
|
RenderFragment p = (person) => |
Source Location: (73:1,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1299:34,69 [11] )
+Generated Location: (1318:35,69 [11] )
|person.Name|
Source Location: (66:1,62 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Name|
-Generated Location: (1792:47,62 [4] )
+Generated Location: (1811:48,62 [4] )
|Name|
Source Location: (93:1,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|;
|
-Generated Location: (2260:64,89 [3] )
+Generated Location: (2279:65,89 [3] )
|;
|
@@ -29,7 +29,7 @@ Source Location: (106:3,7 [76] x:\dir\subdir\Test\TestComponent.cshtml)
public string Name { get; set; }
}
|
-Generated Location: (2439:73,7 [76] )
+Generated Location: (2458:74,7 [76] )
|
class Person
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
index f8435acea52..00539378601 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
index 8701db7a193..f8d029f6163 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_FollowedByComponent/TestComponent.mappings.txt
@@ -1,30 +1,30 @@
Source Location: (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
|
RenderFragment p = (person) => |
-Generated Location: (903:24,2 [45] )
+Generated Location: (922:25,2 [45] )
|
RenderFragment p = (person) => |
Source Location: (73:1,69 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1299:34,69 [11] )
+Generated Location: (1318:35,69 [11] )
|person.Name|
Source Location: (66:1,62 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|Name|
-Generated Location: (1792:47,62 [4] )
+Generated Location: (1811:48,62 [4] )
|Name|
Source Location: (93:1,89 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|;
|
-Generated Location: (2260:64,89 [3] )
+Generated Location: (2279:65,89 [3] )
|;
|
Source Location: (116:4,2 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|"hello, world!"|
-Generated Location: (2520:72,6 [15] )
+Generated Location: (2539:73,6 [15] )
|"hello, world!"|
Source Location: (159:7,7 [76] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -34,7 +34,7 @@ Source Location: (159:7,7 [76] x:\dir\subdir\Test\TestComponent.cshtml)
public string Name { get; set; }
}
|
-Generated Location: (2907:90,7 [76] )
+Generated Location: (2926:91,7 [76] )
|
class Person
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
index 786f8eb275e..e2a8101eeaa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
index ca865fd6018..ae8655f25a2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_AsComponentParameter/TestComponent.mappings.txt
@@ -1,25 +1,25 @@
Source Location: (2:0,2 [47] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment template = (person) => |
-Generated Location: (903:24,2 [47] )
+Generated Location: (922:25,2 [47] )
| RenderFragment template = (person) => |
Source Location: (56:0,56 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1159:32,56 [11] )
+Generated Location: (1178:33,56 [11] )
|person.Name|
Source Location: (73:0,73 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
-Generated Location: (1381:40,73 [2] )
+Generated Location: (1400:41,73 [2] )
|; |
Source Location: (108:1,30 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|template|
-Generated Location: (1627:48,30 [8] )
+Generated Location: (1646:49,30 [8] )
|template|
Source Location: (91:1,13 [14] x:\dir\subdir\Test\TestComponent.cshtml)
|PersonTemplate|
-Generated Location: (2043:61,13 [14] )
+Generated Location: (2062:62,13 [14] )
|PersonTemplate|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
index 99c2d7a542b..3d7dc932c9e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
index 66dba41290d..88b133c3722 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_Generic_InImplicitExpression/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [25] x:\dir\subdir\Test\TestComponent.cshtml)
|RenderPerson((person) => |
-Generated Location: (907:24,6 [25] )
+Generated Location: (926:25,6 [25] )
|RenderPerson((person) => |
Source Location: (33:0,33 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1054:27,33 [11] )
+Generated Location: (1073:28,33 [11] )
|person.Name|
Source Location: (50:0,50 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|)|
-Generated Location: (1121:33,0 [1] )
+Generated Location: (1140:34,0 [1] )
|)|
Source Location: (60:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -22,7 +22,7 @@ Source Location: (60:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
object RenderPerson(RenderFragment p) => null;
|
-Generated Location: (1301:42,7 [138] )
+Generated Location: (1320:43,7 [138] )
|
class Person
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
index f567de09f6d..fb05f158973 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
index 8cb321b73da..750e6d9185f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InCodeBlock/TestComponent.mappings.txt
@@ -1,19 +1,19 @@
Source Location: (2:0,2 [45] x:\dir\subdir\Test\TestComponent.cshtml)
|
RenderFragment p = (person) => |
-Generated Location: (903:24,2 [45] )
+Generated Location: (922:25,2 [45] )
|
RenderFragment p = (person) => |
Source Location: (54:1,50 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1151:33,50 [11] )
+Generated Location: (1170:34,50 [11] )
|person.Name|
Source Location: (71:1,67 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|;
|
-Generated Location: (1367:41,67 [3] )
+Generated Location: (1386:42,67 [3] )
|;
|
@@ -24,7 +24,7 @@ Source Location: (84:3,7 [76] x:\dir\subdir\Test\TestComponent.cshtml)
public string Name { get; set; }
}
|
-Generated Location: (1546:50,7 [76] )
+Generated Location: (1565:51,7 [76] )
|
class Person
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
index b57ab939ed2..f48e7d1af0b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
index 791a71962ff..791745ec0a7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_InExplicitExpression/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (2:0,2 [25] x:\dir\subdir\Test\TestComponent.cshtml)
|RenderPerson((person) => |
-Generated Location: (907:24,6 [25] )
+Generated Location: (926:25,6 [25] )
|RenderPerson((person) => |
Source Location: (34:0,34 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|person.Name|
-Generated Location: (1055:27,34 [11] )
+Generated Location: (1074:28,34 [11] )
|person.Name|
Source Location: (51:0,51 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|)|
-Generated Location: (1122:33,0 [1] )
+Generated Location: (1141:34,0 [1] )
|)|
Source Location: (62:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -22,7 +22,7 @@ Source Location: (62:1,7 [138] x:\dir\subdir\Test\TestComponent.cshtml)
object RenderPerson(RenderFragment p) => null;
|
-Generated Location: (1302:42,7 [138] )
+Generated Location: (1321:43,7 [138] )
|
class Person
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
index 5062b8f48cb..9455e509727 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
index 53ecb1c24c9..44b3906b199 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_AsComponentParameter/TestComponent.mappings.txt
@@ -1,15 +1,15 @@
Source Location: (2:0,2 [27] x:\dir\subdir\Test\TestComponent.cshtml)
| RenderFragment template = |
-Generated Location: (903:24,2 [27] )
+Generated Location: (922:25,2 [27] )
| RenderFragment template = |
Source Location: (45:0,45 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|; |
-Generated Location: (1143:33,45 [2] )
+Generated Location: (1162:34,45 [2] )
|; |
Source Location: (72:1,22 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|template|
-Generated Location: (1309:41,22 [8] )
+Generated Location: (1328:42,22 [8] )
|template|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
index d9ab2dddeb1..0bdbeff3d2f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
index 0aa2c6a57a6..0ccae06843b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RazorTemplate_NonGeneric_InImplicitExpression/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (1:0,1 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|RenderPerson(|
-Generated Location: (907:24,6 [13] )
+Generated Location: (926:25,6 [13] )
|RenderPerson(|
Source Location: (28:0,28 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|)|
-Generated Location: (942:26,0 [1] )
+Generated Location: (961:27,0 [1] )
|)|
Source Location: (38:1,7 [54] x:\dir\subdir\Test\TestComponent.cshtml)
|
object RenderPerson(RenderFragment p) => null;
|
-Generated Location: (1122:35,7 [54] )
+Generated Location: (1141:36,7 [54] )
|
object RenderPerson(RenderFragment p) => null;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
index c1f70433356..65ec160812f 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
index 0a3626c7a89..8e7681f1113 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_597/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (18:0,18 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|y|
-Generated Location: (939:25,18 [1] )
+Generated Location: (958:26,18 [1] )
|y|
Source Location: (32:1,7 [24] x:\dir\subdir\Test\TestComponent.cshtml)
|
string y = null;
|
-Generated Location: (1606:46,7 [24] )
+Generated Location: (1625:47,7 [24] )
|
string y = null;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
index 30ee6e36929..31fe348fa79 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
index c00c2769046..f588e03957a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_609/TestComponent.mappings.txt
@@ -1,11 +1,11 @@
Source Location: (19:0,19 [8] x:\dir\subdir\Test\TestComponent.cshtml)
|UserName|
-Generated Location: (940:25,19 [8] )
+Generated Location: (959:26,19 [8] )
|UserName|
Source Location: (46:0,46 [12] x:\dir\subdir\Test\TestComponent.cshtml)
|UserIsActive|
-Generated Location: (1318:35,46 [12] )
+Generated Location: (1337:36,46 [12] )
|UserIsActive|
Source Location: (73:2,7 [88] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -13,7 +13,7 @@ Source Location: (73:2,7 [88] x:\dir\subdir\Test\TestComponent.cshtml)
public string UserName { get; set; }
public bool UserIsActive { get; set; }
|
-Generated Location: (2015:56,7 [88] )
+Generated Location: (2034:57,7 [88] )
|
public string UserName { get; set; }
public bool UserIsActive { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
index 8f0d7cfebd7..2074dc89b43 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Microsoft.AspNetCore.Components.RouteAttribute("/")]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
index c97886b9eee..6e237ef4713 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_772/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (6:0,6 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|"/"|
-Generated Location: (732:19,37 [3] )
+Generated Location: (751:20,37 [3] )
|"/"|
Source Location: (81:6,14 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Title|
-Generated Location: (1523:42,14 [5] )
+Generated Location: (1542:43,14 [5] )
|Title|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
index 8f0d7cfebd7..2074dc89b43 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Microsoft.AspNetCore.Components.RouteAttribute("/")]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
index c97886b9eee..6e237ef4713 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_773/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (6:0,6 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|"/"|
-Generated Location: (732:19,37 [3] )
+Generated Location: (751:20,37 [3] )
|"/"|
Source Location: (81:6,14 [5] x:\dir\subdir\Test\TestComponent.cshtml)
|Title|
-Generated Location: (1523:42,14 [5] )
+Generated Location: (1542:43,14 [5] )
|Title|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
index cffcbd183ea..4b1480284e6 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
index 461dd362c88..ac000b0f4b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Regression_784/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (1:0,1 [41] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Web|
-Generated Location: (360:12,0 [41] )
+Generated Location: (361:12,0 [41] )
|using Microsoft.AspNetCore.Components.Web|
Source Location: (61:1,17 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|OnComponentHover|
-Generated Location: (1237:32,17 [16] )
+Generated Location: (1238:32,17 [16] )
|OnComponentHover|
Source Location: (99:1,55 [13] x:\dir\subdir\Test\TestComponent.cshtml)
|ParentBgColor|
-Generated Location: (1466:41,55 [13] )
+Generated Location: (1467:41,55 [13] )
|ParentBgColor|
Source Location: (126:2,7 [130] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -21,7 +21,7 @@ Source Location: (126:2,7 [130] x:\dir\subdir\Test\TestComponent.cshtml)
{
}
|
-Generated Location: (1672:51,7 [130] )
+Generated Location: (1673:51,7 [130] )
|
public string ParentBgColor { get; set; } = "#FFFFFF";
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.codegen.cs
index e27daf1e6f1..7125b068438 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.mappings.txt
index 255116cf4b0..d89e9f10732 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Existing_Attributes/TestComponent.mappings.txt
@@ -1,16 +1,16 @@
Source Location: (37:0,37 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1044:26,37 [53] )
+Generated Location: (1063:27,37 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (15:0,15 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|P2|
-Generated Location: (1532:40,15 [2] )
+Generated Location: (1551:41,15 [2] )
|P2|
Source Location: (92:0,92 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|P1|
-Generated Location: (1825:49,92 [2] )
+Generated Location: (1844:50,92 [2] )
|P1|
Source Location: (115:3,1 [94] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -19,7 +19,7 @@ Source Location: (115:3,1 [94] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]public string P2 {get; set;}
|
-Generated Location: (2231:67,1 [94] )
+Generated Location: (2250:68,1 [94] )
|
[Parameter]public string P1 {get; set;}
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.codegen.cs
index cfa3fc20dcb..26d2b995dae 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.mappings.txt
index f00ade79b41..6db6335d0e7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_Expression/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (30:0,30 [38] x:\dir\subdir\Test\TestComponent.cshtml)
|new MyRenderMode() { Extra = "Hello" }|
-Generated Location: (1012:25,28 [38] )
+Generated Location: (1031:26,28 [38] )
|new MyRenderMode() { Extra = "Hello" }|
Source Location: (83:2,1 [135] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -10,7 +10,7 @@ Source Location: (83:2,1 [135] x:\dir\subdir\Test\TestComponent.cshtml)
public string Extra {get;set;}
}
|
-Generated Location: (1564:45,1 [135] )
+Generated Location: (1583:46,1 [135] )
|
class MyRenderMode : Microsoft.AspNetCore.Components.IComponentRenderMode
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.codegen.cs
index fe7b1abe10c..5729e7b1bbb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.mappings.txt
index 348ec1789e6..8553c677cdc 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Attribute_With_SimpleIdentifier/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (28:0,28 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1012:25,28 [53] )
+Generated Location: (1031:26,28 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.codegen.cs
index 4bb8f711914..bc8bc37f686 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.mappings.txt
index c6790f37502..89c6fa67947 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Child_Components/TestComponent.mappings.txt
@@ -1,31 +1,31 @@
Source Location: (28:0,28 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1012:25,28 [53] )
+Generated Location: (1031:26,28 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (117:1,32 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1453:35,32 [53] )
+Generated Location: (1472:36,32 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (210:2,36 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1911:45,36 [53] )
+Generated Location: (1930:46,36 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (320:4,29 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (2780:73,29 [53] )
+Generated Location: (2799:74,29 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (413:5,36 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (3238:83,36 [53] )
+Generated Location: (3257:84,36 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (508:6,36 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (3915:102,36 [53] )
+Generated Location: (3934:103,36 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (617:11,1 [73] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -33,7 +33,7 @@ Source Location: (617:11,1 [73] x:\dir\subdir\Test\TestComponent.cshtml)
[Parameter]
public RenderFragment ChildContent { get; set; }
|
-Generated Location: (4914:140,1 [73] )
+Generated Location: (4933:141,1 [73] )
|
[Parameter]
public RenderFragment ChildContent { get; set; }
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.codegen.cs
index 240eb7e861b..d5fa959d24b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Test.TestComponent.__PrivateComponentRenderModeAttribute]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.mappings.txt
index d144f95a933..c7a4dca4b21 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_FullyQualified/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (12:0,12 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (715:18,44 [53] )
+Generated Location: (734:19,44 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.codegen.cs
index 8170ac7919a..ed9726344c3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Test.TestComponent.__PrivateComponentRenderModeAttribute]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.mappings.txt
index 637706e28b3..cfbeff05c31 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_NewExpression/TestComponent.mappings.txt
@@ -3,7 +3,7 @@
#pragma warning disable CS9113
public class MyRenderMode(string Text) : Microsoft.AspNetCore.Components.IComponentRenderMode { }
|
-Generated Location: (1023:27,1 [137] )
+Generated Location: (1042:28,1 [137] )
|
#pragma warning disable CS9113
public class MyRenderMode(string Text) : Microsoft.AspNetCore.Components.IComponentRenderMode { }
@@ -11,6 +11,6 @@ Generated Location: (1023:27,1 [137] )
Source Location: (14:0,14 [51] x:\dir\subdir\Test\TestComponent.cshtml)
|new TestComponent.MyRenderMode("This is some text")|
-Generated Location: (1826:46,14 [51] )
+Generated Location: (1845:47,14 [51] )
|new TestComponent.MyRenderMode("This is some text")|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.codegen.cs
index c6ca1600d67..47675e783f8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Test.TestComponent.__PrivateComponentRenderModeAttribute]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.mappings.txt
index 7f5c499f411..6734c0450a7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (14:0,14 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1568:37,14 [53] )
+Generated Location: (1587:38,14 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.codegen.cs
index 91d96bd9c57..1461d563e8c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Test.TestComponent.__PrivateComponentRenderModeAttribute]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.mappings.txt
index 43526695e5b..e084e90b868 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_NotFirst/TestComponent.mappings.txt
@@ -3,7 +3,7 @@
[Parameter]
public int Count { get; set; }
|
-Generated Location: (1023:27,1 [55] )
+Generated Location: (1042:28,1 [55] )
|
[Parameter]
public int Count { get; set; }
@@ -11,6 +11,6 @@ Generated Location: (1023:27,1 [55] )
Source Location: (80:5,14 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1744:46,14 [53] )
+Generated Location: (1763:47,14 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.codegen.cs
index 70861390202..40662e4b072 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Test.TestComponent.__PrivateComponentRenderModeAttribute]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.mappings.txt
index c524a67bab4..0d46e089757 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_SimpleExpression_With_Code/TestComponent.mappings.txt
@@ -3,7 +3,7 @@
[Parameter]
public int Count { get; set; }
|
-Generated Location: (1023:27,1 [55] )
+Generated Location: (1042:28,1 [55] )
|
[Parameter]
public int Count { get; set; }
@@ -11,6 +11,6 @@ Generated Location: (1023:27,1 [55] )
Source Location: (14:0,14 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1744:46,14 [53] )
+Generated Location: (1763:47,14 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.codegen.cs
index bcca215a6a4..72dbba3b83a 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Custom.Namespace
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Custom.Namespace.TestComponent.__PrivateComponentRenderModeAttribute]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.mappings.txt
index 49101fe7e21..7aaa3b7516d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Directive_WithNamespaces/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (11:0,11 [16] x:\dir\subdir\Test\TestComponent.cshtml)
|Custom.Namespace|
-Generated Location: (739:18,44 [16] )
+Generated Location: (758:19,44 [16] )
|Custom.Namespace|
Source Location: (43:2,12 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (991:28,44 [53] )
+Generated Location: (1010:29,44 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.codegen.cs
index f6d853608c1..cf36cbad592 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.mappings.txt
index ae89d07dd94..8ffb4e579e2 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_Multiple_Components/TestComponent.mappings.txt
@@ -1,10 +1,10 @@
Source Location: (28:0,28 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1012:25,28 [53] )
+Generated Location: (1031:26,28 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (115:1,28 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1640:44,28 [53] )
+Generated Location: (1659:45,28 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.codegen.cs
index 9e8f9e79cb0..a9e8bc3b98e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.mappings.txt
index d3bdcb5fe61..3889a361ad7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Disabled/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (28:0,28 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|null|
-Generated Location: (1012:25,28 [4] )
+Generated Location: (1031:26,28 [4] )
|null|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.codegen.cs
index 9e8f9e79cb0..a9e8bc3b98e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.mappings.txt
index d3bdcb5fe61..3889a361ad7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Null_Nullable_Enabled/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (28:0,28 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|null|
-Generated Location: (1012:25,28 [4] )
+Generated Location: (1031:26,28 [4] )
|null|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.codegen.cs
index 944bdfc0217..79e6cc4eb80 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.mappings.txt
index 51a3d61bd1a..8a4a258d104 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Nullable_Receiver/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (280:9,30 [20] x:\dir\subdir\Test\TestComponent.cshtml)
|Container.RenderMode|
-Generated Location: (1013:25,28 [20] )
+Generated Location: (1032:26,28 [20] )
|Container.RenderMode|
Source Location: (8:1,1 [239] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -12,7 +12,7 @@ Source Location: (8:1,1 [239] x:\dir\subdir\Test\TestComponent.cshtml)
RenderModeContainer? Container => null;
|
-Generated Location: (1548:45,1 [239] )
+Generated Location: (1567:46,1 [239] )
|
public class RenderModeContainer
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.codegen.cs
index e57d2c7a335..8c30a1a4fcd 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.mappings.txt
index d6c41ebe337..f3393b1b2b1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_Ternary/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (30:0,30 [67] x:\dir\subdir\Test\TestComponent.cshtml)
|true ? Microsoft.AspNetCore.Components.Web.RenderMode.Server : null|
-Generated Location: (1012:25,28 [67] )
+Generated Location: (1031:26,28 [67] )
|true ? Microsoft.AspNetCore.Components.Web.RenderMode.Server : null|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.codegen.cs
index 2cfcb713835..450f6b0c18c 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent<
#nullable restore
#line 1 "x:\dir\subdir\Test\TestComponent.cshtml"
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.mappings.txt
index 7bb6e9a9ebe..43a07f34ea7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/RenderMode_With_TypeInference/TestComponent.mappings.txt
@@ -1,33 +1,33 @@
Source Location: (11:0,11 [11] x:\dir\subdir\Test\TestComponent.cshtml)
|TRenderMode|
-Generated Location: (401:13,0 [11] )
+Generated Location: (420:14,0 [11] )
|TRenderMode|
Source Location: (23:0,23 [72] x:\dir\subdir\Test\TestComponent.cshtml)
|where TRenderMode : Microsoft.AspNetCore.Components.IComponentRenderMode|
-Generated Location: (597:21,0 [72] )
+Generated Location: (616:22,0 [72] )
|where TRenderMode : Microsoft.AspNetCore.Components.IComponentRenderMode|
Source Location: (127:2,28 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|RenderModeParam|
-Generated Location: (1549:46,28 [15] )
+Generated Location: (1568:47,28 [15] )
|RenderModeParam|
Source Location: (161:2,62 [53] x:\dir\subdir\Test\TestComponent.cshtml)
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
-Generated Location: (1768:54,62 [53] )
+Generated Location: (1787:55,62 [53] )
|Microsoft.AspNetCore.Components.Web.RenderMode.Server|
Source Location: (144:2,45 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|RenderModeParam|
-Generated Location: (2100:64,45 [15] )
+Generated Location: (2119:65,45 [15] )
|RenderModeParam|
Source Location: (230:5,1 [67] x:\dir\subdir\Test\TestComponent.cshtml)
|
[Parameter] public TRenderMode RenderModeParam { get; set;}
|
-Generated Location: (2521:82,1 [67] )
+Generated Location: (2540:83,1 [67] )
|
[Parameter] public TRenderMode RenderModeParam { get; set;}
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor7/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor7/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor7/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor7/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor8/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor8/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor8/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ScriptTag_Razor8/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.codegen.cs
index fd43f8a60f5..4aba303f7ed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.mappings.txt
index bec16ba6a94..e0b4950cea8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeBlock/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [49] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.RenderTree;|
-Generated Location: (360:12,0 [49] )
+Generated Location: (361:12,0 [49] )
|using Microsoft.AspNetCore.Components.RenderTree;|
Source Location: (56:2,2 [138] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -9,7 +9,7 @@ Source Location: (56:2,2 [138] x:\dir\subdir\Test\TestComponent.cshtml)
if (__builder == null) output = "Builder is null!";
else output = "Builder is not null!";
|
-Generated Location: (1074:31,2 [138] )
+Generated Location: (1075:31,2 [138] )
|
var output = string.Empty;
if (__builder == null) output = "Builder is null!";
@@ -18,13 +18,13 @@ Generated Location: (1074:31,2 [138] )
Source Location: (206:6,16 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|output|
-Generated Location: (1350:42,16 [6] )
+Generated Location: (1351:42,16 [6] )
|output|
Source Location: (216:6,26 [2] x:\dir\subdir\Test\TestComponent.cshtml)
|
|
-Generated Location: (1435:47,26 [2] )
+Generated Location: (1436:47,26 [2] )
|
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.codegen.cs
index 527013fe19f..41c39e6b5bf 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.mappings.txt
index ef68537d906..e471af474f1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/SingleLineControlFlowStatements_InCodeDirective/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [48] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Rendering;|
-Generated Location: (360:12,0 [48] )
+Generated Location: (361:12,0 [48] )
|using Microsoft.AspNetCore.Components.Rendering;|
Source Location: (60:2,7 [221] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -11,7 +11,7 @@ Source Location: (60:2,7 [221] x:\dir\subdir\Test\TestComponent.cshtml)
if (__builder == null) output = "Builder is null!";
else output = "Builder is not null!";
|
-Generated Location: (1127:33,7 [221] )
+Generated Location: (1128:33,7 [221] )
|
void RenderChildComponent(RenderTreeBuilder __builder)
{
@@ -22,14 +22,14 @@ Generated Location: (1127:33,7 [221] )
Source Location: (293:8,20 [6] x:\dir\subdir\Test\TestComponent.cshtml)
|output|
-Generated Location: (1490:46,20 [6] )
+Generated Location: (1491:46,20 [6] )
|output|
Source Location: (303:8,30 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
}
|
-Generated Location: (1649:53,30 [9] )
+Generated Location: (1650:53,30 [9] )
|
}
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
index f6abf082862..ff4aa9a8ed0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
index ef15fe11cc5..ea733350501 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithCSharpExpression/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (20:2,2 [10] x:\dir\subdir\Test\TestComponent.cshtml)
|"My value"|
-Generated Location: (907:24,6 [10] )
+Generated Location: (926:25,6 [10] )
|"My value"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
index 8e77bf636e3..ad830b41702 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithComponent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
index e7aef560bb2..1b5b6fa12ad 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
[global::Microsoft.AspNetCore.Components.RouteAttribute("/my/url")]
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
index 47eeb8dfc15..b20f5567590 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/TrailingWhiteSpace_WithDirective/TestComponent.mappings.txt
@@ -1,5 +1,5 @@
Source Location: (24:2,6 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|"/my/url"|
-Generated Location: (738:19,37 [9] )
+Generated Location: (757:20,37 [9] )
|"/my/url"|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs
index 32f299802a7..eef92846f98 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.codegen.cs
@@ -2,7 +2,7 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt
index 3afd4e8a547..f411e6cc06b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InMarkupInFunctionsBlock/TestComponent.mappings.txt
@@ -1,6 +1,6 @@
Source Location: (1:0,1 [47] x:\dir\subdir\Test\TestComponent.cshtml)
|using Microsoft.AspNetCore.Components.Rendering|
-Generated Location: (360:12,0 [47] )
+Generated Location: (361:12,0 [47] )
|using Microsoft.AspNetCore.Components.Rendering|
Source Location: (57:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
@@ -8,7 +8,7 @@ Source Location: (57:1,7 [65] x:\dir\subdir\Test\TestComponent.cshtml)
void MyMethod(RenderTreeBuilder __builder)
{
|
-Generated Location: (1127:33,7 [65] )
+Generated Location: (1128:33,7 [65] )
|
void MyMethod(RenderTreeBuilder __builder)
{
@@ -18,20 +18,20 @@ Source Location: (141:5,13 [62] x:\dir\subdir\Test\TestComponent.cshtml)
|for (var i = 0; i < 100; i++)
{
|
-Generated Location: (1327:43,13 [62] )
+Generated Location: (1328:43,13 [62] )
|for (var i = 0; i < 100; i++)
{
|
Source Location: (230:8,21 [1] x:\dir\subdir\Test\TestComponent.cshtml)
|i|
-Generated Location: (1532:52,21 [1] )
+Generated Location: (1533:52,21 [1] )
|i|
Source Location: (254:9,21 [15] x:\dir\subdir\Test\TestComponent.cshtml)
|
}|
-Generated Location: (1678:59,21 [15] )
+Generated Location: (1679:59,21 [15] )
|
}|
@@ -39,7 +39,7 @@ Source Location: (284:11,13 [9] x:\dir\subdir\Test\TestComponent.cshtml)
|
}
|
-Generated Location: (1829:67,13 [9] )
+Generated Location: (1830:67,13 [9] )
|
}
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs
index dbb747d890f..1f3f9ab9aed 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_InsideAttribute_InMarkupBlock/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.codegen.cs
index 289776d5c02..efe5ee4d6bb 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.mappings.txt
index 69162246e76..7810e991fb1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/WhiteSpace_WithPreserveWhitespace/TestComponent.mappings.txt
@@ -1,18 +1,18 @@
Source Location: (20:0,20 [4] x:\dir\subdir\Test\TestComponent.cshtml)
|true|
-Generated Location: (637:17,38 [4] )
+Generated Location: (656:18,38 [4] )
|true|
Source Location: (44:2,16 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Foo|
-Generated Location: (1170:35,16 [3] )
+Generated Location: (1189:36,16 [3] )
|Foo|
Source Location: (95:6,11 [29] x:\dir\subdir\Test\TestComponent.cshtml)
|
int Foo = 18;
|
-Generated Location: (1370:45,11 [29] )
+Generated Location: (1389:46,11 [29] )
|
int Foo = 18;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs
index ebaddc5550c..88a3d23471d 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 219
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt
index a38efa45981..dfc61e74ae1 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/Whitespace_BetweenElementAndFunctions/TestComponent.mappings.txt
@@ -1,13 +1,13 @@
Source Location: (12:0,12 [3] x:\dir\subdir\Test\TestComponent.cshtml)
|Foo|
-Generated Location: (933:25,12 [3] )
+Generated Location: (952:26,12 [3] )
|Foo|
Source Location: (31:1,11 [29] x:\dir\subdir\Test\TestComponent.cshtml)
|
int Foo = 18;
|
-Generated Location: (1133:35,11 [29] )
+Generated Location: (1152:36,11 [29] )
|
int Foo = 18;
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs
index eacb9265e28..3085d5f53f0 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt
index b0d7264c3cd..f00ffe0fa94 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitBooleanConversion/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private MyClass c = new();
|
-Generated Location: (1148:36,7 [42] )
+Generated Location: (1167:37,7 [42] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs
index 7c14b5bc3da..b9123ccadc8 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt
index 15c87581ec0..ee74ed225be 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_Bind/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private MyClass c = new();
|
-Generated Location: (1691:52,7 [42] )
+Generated Location: (1710:53,7 [42] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs
index 30efe33d111..97737bcd643 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt
index 24dadc8b0ba..01f817b21fa 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private MyClass c = new();
|
-Generated Location: (1228:31,7 [34] )
+Generated Location: (1247:32,7 [34] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs
index 58c0aea833c..26f1084bca3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt
index 82076a93781..2eee9ac116b 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_BindUnknown_Assignment/TestComponent.mappings.txt
@@ -3,7 +3,7 @@
private MyClass c1 = new();
private MyClass c2 = new();
|
-Generated Location: (1246:31,7 [68] )
+Generated Location: (1265:32,7 [68] )
|
private MyClass c1 = new();
private MyClass c2 = new();
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs
index be6286b7aa5..1bc09159ed3 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt
index 416186b318e..a71a82f5e36 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_CustomEvent/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private MyClass c = new();
|
-Generated Location: (1711:60,7 [42] )
+Generated Location: (1730:61,7 [42] )
|
private MyClass c = new();
|
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs
index 9f7ddf4734a..d601bbe32d7 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.codegen.cs
@@ -2,12 +2,13 @@
#pragma warning disable 1591
namespace Test
{
- #line hidden
+ #line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
+ #line hidden
public partial class TestComponent : global::Microsoft.AspNetCore.Components.ComponentBase
{
#pragma warning disable 1998
diff --git a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt
index eadcd2f9048..3040504044e 100644
--- a/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt
+++ b/src/Compiler/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/AddAttribute_ImplicitStringConversion_TypeInference/TestComponent.mappings.txt
@@ -2,7 +2,7 @@
|
private readonly MyClass c = new();
|
-Generated Location: (1472:52,7 [51] )
+Generated Location: (1491:53,7 [51] )
|
private readonly MyClass