Suppress warnings for auto generated code
This commit is contained in:
parent
5f2c00bc80
commit
d73ecf8b36
|
|
@ -89,17 +89,23 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
|||
if (!string.IsNullOrEmpty(bytes))
|
||||
{
|
||||
Context.Writer
|
||||
.Write("#pragma checksum \"")
|
||||
.Write(sourceDocument.FilePath)
|
||||
.Write("\" \"")
|
||||
.Write(Sha1AlgorithmId)
|
||||
.Write("\" \"")
|
||||
.Write(bytes)
|
||||
.WriteLine("\"");
|
||||
.Write("#pragma checksum \"")
|
||||
.Write(sourceDocument.FilePath)
|
||||
.Write("\" \"")
|
||||
.Write(Sha1AlgorithmId)
|
||||
.Write("\" \"")
|
||||
.Write(bytes)
|
||||
.WriteLine("\"");
|
||||
}
|
||||
}
|
||||
|
||||
Context.Writer
|
||||
.WriteLine("// <auto-generated/>")
|
||||
.WriteLine("#pragma warning disable 1591");
|
||||
|
||||
RenderChildren(node);
|
||||
|
||||
Context.Writer.WriteLine("#pragma warning restore 1591");
|
||||
}
|
||||
|
||||
public override void VisitUsingDirective(UsingDirectiveIntermediateNode node)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -65,3 +67,4 @@ __o = string.Format("{0}", "Hello");
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,34 +1,34 @@
|
|||
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|this.ToString()|
|
||||
Generated Location: (1087:23,13 [15] )
|
||||
Generated Location: (1139:25,13 [15] )
|
||||
|this.ToString()|
|
||||
|
||||
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|string.Format("{0}", "Hello")|
|
||||
Generated Location: (1223:28,6 [29] )
|
||||
Generated Location: (1275:30,6 [29] )
|
||||
|string.Format("{0}", "Hello")|
|
||||
|
||||
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|
|
||||
var cls = "foo";
|
||||
|
|
||||
Generated Location: (1369:33,2 [25] )
|
||||
Generated Location: (1421:35,2 [25] )
|
||||
|
|
||||
var cls = "foo";
|
||||
|
|
||||
|
||||
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|if(cls != null) { |
|
||||
Generated Location: (1517:39,11 [18] )
|
||||
Generated Location: (1569:41,11 [18] )
|
||||
|if(cls != null) { |
|
||||
|
||||
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
|cls|
|
||||
Generated Location: (1679:44,30 [3] )
|
||||
Generated Location: (1731:46,30 [3] )
|
||||
|cls|
|
||||
|
||||
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||
| }|
|
||||
Generated Location: (1830:49,33 [2] )
|
||||
Generated Location: (1882:51,33 [2] )
|
||||
| }|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4120ddad9d4353ed260e0585fe71080d78ff8ab3"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -88,3 +90,4 @@ Write(string.Format("{0}", "Hello"));
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -40,3 +42,4 @@ MyService<TModel> __typeHelper = default(MyService<TModel>);
|
|||
public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (159:11,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (833:17,0 [17] )
|
||||
Generated Location: (885:19,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "fec5cf763044f842fa2114e997bb07e0bf280cd6"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -58,3 +60,4 @@ namespace AspNetCore
|
|||
public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -42,3 +44,4 @@ MyModel __typeHelper = default(MyModel);
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<MyModel> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (10:0,10 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|
||||
|MyBasePageForViews<TModel>|
|
||||
Generated Location: (792:17,0 [26] )
|
||||
Generated Location: (844:19,0 [26] )
|
||||
|MyBasePageForViews<TModel>|
|
||||
|
||||
Source Location: (45:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (932:21,0 [7] )
|
||||
Generated Location: (984:23,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "91cf923452a86b2906083cb0236d6d5b3bc528ef"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -29,3 +31,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<MyModel> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -40,3 +42,4 @@ MyModel __typeHelper = default(MyModel);
|
|||
public MyModel Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (14:1,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (811:17,0 [7] )
|
||||
Generated Location: (863:19,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsWithViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "052fe5ad02d36ebdf943dddd543cb26aaff62411"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -31,3 +33,4 @@ namespace AspNetCore
|
|||
public MyModel Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -56,3 +58,4 @@ global::System.Object Html = null;
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,25 +1,25 @@
|
|||
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (818:17,0 [7] )
|
||||
Generated Location: (870:19,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (920:21,0 [5] )
|
||||
Generated Location: (972:23,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (1040:25,22 [14] )
|
||||
Generated Location: (1092:27,22 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
Source Location: (54:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (1124:29,0 [17] )
|
||||
Generated Location: (1176:31,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (72:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml)
|
||||
|Html|
|
||||
Generated Location: (1268:33,22 [4] )
|
||||
Generated Location: (1320:35,22 [4] )
|
||||
|Html|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithModel.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a039b7091118c718dc3023b6ac58d9645cb58e59"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -31,3 +33,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -76,3 +78,4 @@ global::System.Object Html2 = null;
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,45 +1,45 @@
|
|||
Source Location: (7:0,7 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyModel|
|
||||
Generated Location: (826:17,0 [7] )
|
||||
Generated Location: (878:19,0 [7] )
|
||||
|MyModel|
|
||||
|
||||
Source Location: (24:1,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (928:21,0 [5] )
|
||||
Generated Location: (980:23,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (30:1,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (1048:25,22 [14] )
|
||||
Generated Location: (1100:27,22 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
Source Location: (58:2,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (1132:29,0 [17] )
|
||||
Generated Location: (1184:31,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (76:2,26 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|Html|
|
||||
Generated Location: (1276:33,22 [4] )
|
||||
Generated Location: (1328:35,22 [4] )
|
||||
|Html|
|
||||
|
||||
Source Location: (93:3,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (1350:37,0 [5] )
|
||||
Generated Location: (1402:39,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (99:3,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyPropertyName2|
|
||||
Generated Location: (1470:41,22 [15] )
|
||||
Generated Location: (1522:43,22 [15] )
|
||||
|MyPropertyName2|
|
||||
|
||||
Source Location: (129:4,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|MyService<TModel>|
|
||||
Generated Location: (1555:45,0 [17] )
|
||||
Generated Location: (1607:47,0 [17] )
|
||||
|MyService<TModel>|
|
||||
|
||||
Source Location: (147:4,26 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml)
|
||||
|Html2|
|
||||
Generated Location: (1699:49,22 [5] )
|
||||
Generated Location: (1751:51,22 [5] )
|
||||
|Html2|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InjectWithSemicolon.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5010aab35d235175dab517f8018e41aee9a2ac7f"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -35,3 +37,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -44,3 +46,4 @@ global::System.Object MyPropertyName = null;
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (8:0,8 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|
||||
|MyApp|
|
||||
Generated Location: (800:17,0 [5] )
|
||||
Generated Location: (852:19,0 [5] )
|
||||
|MyApp|
|
||||
|
||||
Source Location: (14:0,14 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml)
|
||||
|MyPropertyName|
|
||||
Generated Location: (920:21,22 [14] )
|
||||
Generated Location: (972:23,22 [14] )
|
||||
|MyPropertyName|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Inject.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c711078454f5b0e8d2cb77d9cb7fa88cca32b884"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -31,3 +33,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -34,3 +36,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InvalidNamespaceAtEOF.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "de132bd3e2a46a0d2ec953a168427c01e5829cde"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -32,3 +34,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -34,3 +36,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MalformedPageDirective.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5a9ff8440150c6746e4a8ba63bc633ea84930405"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -32,3 +34,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -55,3 +57,4 @@ __InputTestTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewDat
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<DateTime> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
Source Location: (7:0,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
||||
|DateTime|
|
||||
Generated Location: (837:17,0 [8] )
|
||||
Generated Location: (889:19,0 [8] )
|
||||
|DateTime|
|
||||
|
||||
Source Location: (33:2,14 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
||||
|"InputTestTagHelper, AppCode"|
|
||||
Generated Location: (978:21,37 [29] )
|
||||
Generated Location: (1030:23,37 [29] )
|
||||
|"InputTestTagHelper, AppCode"|
|
||||
|
||||
Source Location: (83:4,17 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
||||
|Date|
|
||||
Generated Location: (1623:33,102 [4] )
|
||||
Generated Location: (1675:35,102 [4] )
|
||||
|Date|
|
||||
|
||||
Source Location: (111:5,18 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
||||
|Model|
|
||||
Generated Location: (1939:39,94 [5] )
|
||||
Generated Location: (1991:41,94 [5] )
|
||||
|Model|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0906a816db301fe624bbe5a96c4b3013071ea492"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -100,3 +102,4 @@ __InputTestTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewDat
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<DateTime> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -38,3 +40,4 @@ System.Collections.IEnumerable __typeHelper = default(System.Collections.IEnumer
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<System.Collections.IEnumerable> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (7:0,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml)
|
||||
|System.Collections.IEnumerable|
|
||||
Generated Location: (821:17,0 [30] )
|
||||
Generated Location: (873:19,0 [30] )
|
||||
|System.Collections.IEnumerable|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Model.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "31c5b047a450ac9f6dc4116626667d26bfb657ba"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -29,3 +31,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<System.Collections.IEnumerable> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -42,3 +44,4 @@ System.Collections.IEnumerable __typeHelper = default(System.Collections.IEnumer
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<ThisShouldBeGenerated> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (7:0,7 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|
||||
|ThisShouldBeGenerated|
|
||||
Generated Location: (830:17,0 [21] )
|
||||
Generated Location: (882:19,0 [21] )
|
||||
|ThisShouldBeGenerated|
|
||||
|
||||
Source Location: (37:1,7 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/MultipleModels.cshtml)
|
||||
|System.Collections.IEnumerable|
|
||||
Generated Location: (960:21,0 [30] )
|
||||
Generated Location: (1012:23,0 [30] )
|
||||
|System.Collections.IEnumerable|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
|
||||
namespace Test.Namespace
|
||||
{
|
||||
|
|
@ -40,3 +42,4 @@ global::System.Object __typeHelper = nameof(Test.Namespace);
|
|||
public PageWithNamespace_Page Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (18:1,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml)
|
||||
|Test.Namespace|
|
||||
Generated Location: (761:17,44 [14] )
|
||||
Generated Location: (813:19,44 [14] )
|
||||
|Test.Namespace|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/PageWithNamespace.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b205857d3dad47cb3f0c1d7775ae251b306ab830"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
|
||||
namespace Test.Namespace
|
||||
{
|
||||
|
|
@ -34,3 +36,4 @@ namespace Test.Namespace
|
|||
public PageWithNamespace_Page Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -73,3 +75,4 @@ global::System.Object __typeHelper = "*, AppCode";
|
|||
public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
Source Location: (38:3,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|
||||
|using Microsoft.AspNetCore.Mvc.RazorPages|
|
||||
Generated Location: (644:13,0 [41] )
|
||||
Generated Location: (696:15,0 [41] )
|
||||
|using Microsoft.AspNetCore.Mvc.RazorPages|
|
||||
|
||||
Source Location: (23:2,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|
||||
|"*, AppCode"|
|
||||
Generated Location: (1047:22,37 [12] )
|
||||
Generated Location: (1099:24,37 [12] )
|
||||
|"*, AppCode"|
|
||||
|
||||
Source Location: (566:24,47 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|
||||
|Name|
|
||||
Generated Location: (1595:34,47 [4] )
|
||||
Generated Location: (1647:36,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: (2076:45,12 [283] )
|
||||
Generated Location: (2128:47,12 [283] )
|
||||
|
|
||||
public IActionResult OnPost(Customer customer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c0587249e6e0b7ba4e1efc463f58577d5d0b6ae2"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -197,3 +199,4 @@ using Microsoft.AspNetCore.Mvc.RazorPages;
|
|||
public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -80,3 +82,4 @@ global::System.Object __typeHelper = "*, AppCode";
|
|||
public NewModel Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
Source Location: (55:4,1 [41] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
||||
|using Microsoft.AspNetCore.Mvc.RazorPages|
|
||||
Generated Location: (620:13,0 [41] )
|
||||
Generated Location: (672:15,0 [41] )
|
||||
|using Microsoft.AspNetCore.Mvc.RazorPages|
|
||||
|
||||
Source Location: (16:2,7 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
||||
|NewModel|
|
||||
Generated Location: (974:22,0 [8] )
|
||||
Generated Location: (1026:24,0 [8] )
|
||||
|NewModel|
|
||||
|
||||
Source Location: (40:3,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
||||
|"*, AppCode"|
|
||||
Generated Location: (1115:26,37 [12] )
|
||||
Generated Location: (1167:28,37 [12] )
|
||||
|"*, AppCode"|
|
||||
|
||||
Source Location: (661:28,47 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
||||
|Model.Name|
|
||||
Generated Location: (1651:38,47 [10] )
|
||||
Generated Location: (1703:40,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: (2126:49,12 [360] )
|
||||
Generated Location: (2178:51,12 [360] )
|
||||
|
|
||||
public class NewModel : PageModel
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "608b3f7b9b29c66ee25bde2d20324b4bef1aa070"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -200,3 +202,4 @@ using Microsoft.AspNetCore.Mvc.RazorPages;
|
|||
public NewModel Model => ViewData.Model;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -75,3 +77,4 @@ public class __Generated__TestViewComponentTagHelper : Microsoft.AspNetCore.Razo
|
|||
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
Source Location: (14:0,14 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
||||
|"*, AppCode"|
|
||||
Generated Location: (869:17,37 [12] )
|
||||
Generated Location: (921:19,37 [12] )
|
||||
|"*, AppCode"|
|
||||
|
||||
Source Location: (30:1,2 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
||||
|
|
||||
var foo = "Hello";
|
||||
|
|
||||
Generated Location: (1611:29,2 [26] )
|
||||
Generated Location: (1663:31,2 [26] )
|
||||
|
|
||||
var foo = "Hello";
|
||||
|
|
||||
|
||||
Source Location: (83:5,22 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
||||
|foo|
|
||||
Generated Location: (2180:37,22 [3] )
|
||||
Generated Location: (2232:39,22 [3] )
|
||||
|foo|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6a0ad3c59f3a87877c36928472f0508bd40cdd8c"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -106,3 +108,4 @@ public class __Generated__TestViewComponentTagHelper : Microsoft.AspNetCore.Razo
|
|||
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
|
||||
namespace Test.Namespace
|
||||
{
|
||||
|
|
@ -38,3 +40,4 @@ global::System.Object __typeHelper = nameof(Test.Namespace);
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (11:0,11 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml)
|
||||
|Test.Namespace|
|
||||
Generated Location: (756:17,44 [14] )
|
||||
Generated Location: (808:19,44 [14] )
|
||||
|Test.Namespace|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewWithNamespace.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2893acf42354a0bc8b6a2698f5d2e4fab0e59dbe"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
|
||||
namespace Test.Namespace
|
||||
{
|
||||
|
|
@ -32,3 +34,4 @@ namespace Test.Namespace
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -44,3 +46,4 @@ global::System.Object Model = null;
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (8:0,8 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|
||||
|IHtmlHelper<TModel>|
|
||||
Generated Location: (812:17,0 [19] )
|
||||
Generated Location: (864:19,0 [19] )
|
||||
|IHtmlHelper<TModel>|
|
||||
|
||||
Source Location: (28:0,28 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml)
|
||||
|Model|
|
||||
Generated Location: (960:21,22 [5] )
|
||||
Generated Location: (1012:23,22 [5] )
|
||||
|Model|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "778b41f9406fcda776cc3f1bf093f3b21956e582"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
|
||||
namespace AspNetCore
|
||||
{
|
||||
|
|
@ -31,3 +33,4 @@ namespace AspNetCore
|
|||
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/InstrumentationPassIntegrationTest/BasicTest.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "723b7da149db577d0c49cff7c00f2d831e8916e7"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Razor
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -111,3 +113,4 @@ Write(Foo(item => new Template(async(__razor_template_writer) => {
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
|||
public class DefaultDocumentWriterTest
|
||||
{
|
||||
[Fact]
|
||||
public void WriteDocument_Empty_WritesChecksumByDefault()
|
||||
public void WriteDocument_Empty_WritesChecksumAndMarksAutoGenerated()
|
||||
{
|
||||
// Arrange
|
||||
var codeDocument = TestRazorCodeDocument.CreateEmpty();
|
||||
|
|
@ -36,13 +36,16 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
|||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Equal(
|
||||
@"#pragma checksum ""test.cshtml"" ""{ff1816ec-aa5e-4d10-87f7-6f4963833460}"" ""da39a3ee5e6b4b0d3255bfef95601890afd80709""
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WriteDocument_Empty_SuppressChecksumTrue_WritesNothing()
|
||||
public void WriteDocument_Empty_SuppressChecksumTrue_DoesnotWriteChecksum()
|
||||
{
|
||||
// Arrange
|
||||
var codeDocument = TestRazorCodeDocument.CreateEmpty();
|
||||
|
|
@ -70,7 +73,13 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
|||
|
||||
// Assert
|
||||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Empty(csharp);
|
||||
Assert.Equal(
|
||||
@"// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
@ -104,10 +113,13 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
|||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Equal(
|
||||
@"#pragma checksum ""test.cshtml"" ""{ff1816ec-aa5e-4d10-87f7-6f4963833460}"" ""da39a3ee5e6b4b0d3255bfef95601890afd80709""
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace TestNamespace
|
||||
{
|
||||
#line hidden
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
|
|
@ -149,9 +161,12 @@ namespace TestNamespace
|
|||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Equal(
|
||||
@"#pragma checksum ""test.cshtml"" ""{ff1816ec-aa5e-4d10-87f7-6f4963833460}"" ""da39a3ee5e6b4b0d3255bfef95601890afd80709""
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
internal class TestClass : TestBase, IFoo, IBar
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
|
|
@ -194,11 +209,14 @@ internal class TestClass : TestBase, IFoo, IBar
|
|||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Equal(
|
||||
@"#pragma checksum ""test.cshtml"" ""{ff1816ec-aa5e-4d10-87f7-6f4963833460}"" ""da39a3ee5e6b4b0d3255bfef95601890afd80709""
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
#pragma warning disable 1998
|
||||
internal virtual async string TestMethod()
|
||||
{
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
|
|
@ -240,7 +258,10 @@ internal virtual async string TestMethod()
|
|||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Equal(
|
||||
@"#pragma checksum ""test.cshtml"" ""{ff1816ec-aa5e-4d10-87f7-6f4963833460}"" ""da39a3ee5e6b4b0d3255bfef95601890afd80709""
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
internal readonly string _foo;
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
|
|
@ -282,7 +303,10 @@ internal readonly string _foo;
|
|||
var csharp = context.Writer.Builder.ToString();
|
||||
Assert.Equal(
|
||||
@"#pragma checksum ""test.cshtml"" ""{ff1816ec-aa5e-4d10-87f7-6f4963833460}"" ""da39a3ee5e6b4b0d3255bfef95601890afd80709""
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
internal virtual string Foo { get; set; }
|
||||
#pragma warning restore 1591
|
||||
",
|
||||
csharp,
|
||||
ignoreLineEndingDifferences: true);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -19,3 +21,4 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (14:0,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AddTagHelperDirective.cshtml)
|
||||
|"*, TestAssembly"|
|
||||
Generated Location: (375:8,37 [17] )
|
||||
Generated Location: (427:10,37 [17] )
|
||||
|"*, TestAssembly"|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -44,3 +46,4 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
Source Location: (14:0,14 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
||||
|*, TestAssembly|
|
||||
Generated Location: (383:8,38 [15] )
|
||||
Generated Location: (435:10,38 [15] )
|
||||
|*, TestAssembly|
|
||||
|
||||
Source Location: (187:5,36 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
||||
|true|
|
||||
Generated Location: (1627:27,42 [4] )
|
||||
Generated Location: (1679:29,42 [4] )
|
||||
|true|
|
||||
|
||||
Source Location: (233:6,36 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
||||
|true|
|
||||
Generated Location: (2280:37,42 [4] )
|
||||
Generated Location: (2332:39,42 [4] )
|
||||
|true|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ea06819774d4f892a37cc84688446440dee29bd6"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -119,3 +121,4 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -88,3 +90,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#line hidden
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,81 +1,81 @@
|
|||
Source Location: (192:9,39 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo()|
|
||||
Generated Location: (621:14,39 [11] )
|
||||
Generated Location: (673:16,39 [11] )
|
||||
|await Foo()|
|
||||
|
||||
Source Location: (247:10,38 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo()|
|
||||
Generated Location: (786:19,38 [11] )
|
||||
Generated Location: (838:21,38 [11] )
|
||||
|await Foo()|
|
||||
|
||||
Source Location: (304:11,39 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| await Foo(); |
|
||||
Generated Location: (952:24,39 [14] )
|
||||
Generated Location: (1004:26,39 [14] )
|
||||
| await Foo(); |
|
||||
|
||||
Source Location: (371:12,46 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| |
|
||||
Generated Location: (1057:28,58 [1] )
|
||||
Generated Location: (1109:30,58 [1] )
|
||||
| |
|
||||
|
||||
Source Location: (376:12,51 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo()|
|
||||
Generated Location: (1193:30,51 [11] )
|
||||
Generated Location: (1245:32,51 [11] )
|
||||
|await Foo()|
|
||||
|
||||
Source Location: (391:12,66 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| |
|
||||
Generated Location: (1316:34,78 [1] )
|
||||
Generated Location: (1368:36,78 [1] )
|
||||
| |
|
||||
|
||||
Source Location: (448:13,49 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await|
|
||||
Generated Location: (1450:36,49 [5] )
|
||||
Generated Location: (1502:38,49 [5] )
|
||||
|await|
|
||||
|
||||
Source Location: (578:18,42 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo(1, 2)|
|
||||
Generated Location: (1613:41,42 [15] )
|
||||
Generated Location: (1665:43,42 [15] )
|
||||
|await Foo(1, 2)|
|
||||
|
||||
Source Location: (650:19,51 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo.Bar(1, 2)|
|
||||
Generated Location: (1795:46,51 [19] )
|
||||
Generated Location: (1847:48,51 [19] )
|
||||
|await Foo.Bar(1, 2)|
|
||||
|
||||
Source Location: (716:20,41 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo("bob", true)|
|
||||
Generated Location: (1971:51,41 [22] )
|
||||
Generated Location: (2023:53,41 [22] )
|
||||
|await Foo("bob", true)|
|
||||
|
||||
Source Location: (787:21,42 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| await Foo(something, hello: "world"); |
|
||||
Generated Location: (2151:56,42 [39] )
|
||||
Generated Location: (2203:58,42 [39] )
|
||||
| await Foo(something, hello: "world"); |
|
||||
|
||||
Source Location: (884:22,51 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| await Foo.Bar(1, 2) |
|
||||
Generated Location: (2356:61,51 [21] )
|
||||
Generated Location: (2408:63,51 [21] )
|
||||
| await Foo.Bar(1, 2) |
|
||||
|
||||
Source Location: (961:23,49 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| |
|
||||
Generated Location: (2471:65,61 [1] )
|
||||
Generated Location: (2523:67,61 [1] )
|
||||
| |
|
||||
|
||||
Source Location: (966:23,54 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await Foo(boolValue: false)|
|
||||
Generated Location: (2610:67,54 [27] )
|
||||
Generated Location: (2662:69,54 [27] )
|
||||
|await Foo(boolValue: false)|
|
||||
|
||||
Source Location: (997:23,85 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
| |
|
||||
Generated Location: (2768:71,97 [1] )
|
||||
Generated Location: (2820:73,97 [1] )
|
||||
| |
|
||||
|
||||
Source Location: (1057:24,52 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|await ("wrrronggg")|
|
||||
Generated Location: (2905:73,52 [19] )
|
||||
Generated Location: (2957:75,52 [19] )
|
||||
|await ("wrrronggg")|
|
||||
|
||||
Source Location: (12:0,12 [76] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||
|
|
@ -85,7 +85,7 @@ Source Location: (12:0,12 [76] TestFiles/IntegrationTests/CodeGenerationIntegrat
|
|||
return "Bar";
|
||||
}
|
||||
|
|
||||
Generated Location: (3100:80,12 [76] )
|
||||
Generated Location: (3152:82,12 [76] )
|
||||
|
|
||||
public async Task<string> Foo()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "00b5e01b7a405dcfde7e4d512ee930daaa1778b5"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -97,3 +99,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#line hidden
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -30,3 +32,4 @@ using System.Text;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d351c0c4dc0afdbf46547fcd87692951d2e4871f"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -27,3 +29,4 @@ using System.Text;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -42,3 +44,4 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
Source Location: (14:0,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
||||
|"*, TestAssembly"|
|
||||
Generated Location: (369:8,37 [17] )
|
||||
Generated Location: (421:10,37 [17] )
|
||||
|"*, TestAssembly"|
|
||||
|
||||
Source Location: (220:5,38 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
||||
|ViewBag.DefaultInterval|
|
||||
Generated Location: (1332:24,38 [23] )
|
||||
Generated Location: (1384:26,38 [23] )
|
||||
|ViewBag.DefaultInterval|
|
||||
|
||||
Source Location: (303:6,40 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
||||
|true|
|
||||
Generated Location: (2030:35,42 [4] )
|
||||
Generated Location: (2082:37,42 [4] )
|
||||
|true|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -36,3 +38,4 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
Source Location: (17:0,17 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml)
|
||||
|"THS"|
|
||||
Generated Location: (378:8,37 [5] )
|
||||
Generated Location: (430:10,37 [5] )
|
||||
|"THS"|
|
||||
|
||||
Source Location: (38:1,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml)
|
||||
|"*, TestAssembly"|
|
||||
Generated Location: (483:12,37 [17] )
|
||||
Generated Location: (535:14,37 [17] )
|
||||
|"*, TestAssembly"|
|
||||
|
||||
Source Location: (226:7,43 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml)
|
||||
|true|
|
||||
Generated Location: (1517:29,43 [4] )
|
||||
Generated Location: (1569:31,43 [4] )
|
||||
|true|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e05d346bc9435e651c4c8f34515c1b5f2cff294a"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -75,3 +77,4 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_RemoveTagHelper.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8479a280916bffac36ca773a941b3f9155fe4ace"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -108,3 +110,4 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "56c40717284b82fcb2ee9f60f09e8c6c0bda8959"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -122,3 +124,4 @@ __TestNamespace_InputTagHelper2.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -131,3 +133,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ Source Location: (2:0,2 [18] TestFiles/IntegrationTests/CodeGenerationIntegratio
|
|||
|
|
||||
int i = 1;
|
||||
|
|
||||
Generated Location: (585:14,2 [18] )
|
||||
Generated Location: (637:16,2 [18] )
|
||||
|
|
||||
int i = 1;
|
||||
|
|
||||
|
|
@ -10,20 +10,20 @@ Generated Location: (585:14,2 [18] )
|
|||
Source Location: (26:4,1 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|while(i <= 10) {
|
||||
|
|
||||
Generated Location: (717:20,1 [22] )
|
||||
Generated Location: (769:22,1 [22] )
|
||||
|while(i <= 10) {
|
||||
|
|
||||
|
||||
Source Location: (69:5,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|i|
|
||||
Generated Location: (879:26,25 [1] )
|
||||
Generated Location: (931:28,25 [1] )
|
||||
|i|
|
||||
|
||||
Source Location: (75:5,31 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|
|
||||
i += 1;
|
||||
}|
|
||||
Generated Location: (1027:31,31 [16] )
|
||||
Generated Location: (1079:33,31 [16] )
|
||||
|
|
||||
i += 1;
|
||||
}|
|
||||
|
|
@ -31,14 +31,14 @@ Generated Location: (1027:31,31 [16] )
|
|||
Source Location: (96:9,1 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|if(i == 11) {
|
||||
|
|
||||
Generated Location: (1160:38,1 [19] )
|
||||
Generated Location: (1212:40,1 [19] )
|
||||
|if(i == 11) {
|
||||
|
|
||||
|
||||
Source Location: (140:10,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (1324:44,29 [3] )
|
||||
Generated Location: (1376:46,29 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ Source Location: (148:13,1 [35] TestFiles/IntegrationTests/CodeGenerationIntegra
|
|||
|switch(i) {
|
||||
case 11:
|
||||
|
|
||||
Generated Location: (1444:50,1 [35] )
|
||||
Generated Location: (1496:52,1 [35] )
|
||||
|switch(i) {
|
||||
case 11:
|
||||
|
|
||||
|
|
@ -56,7 +56,7 @@ Source Location: (219:15,44 [40] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
break;
|
||||
default:
|
||||
|
|
||||
Generated Location: (1639:57,44 [40] )
|
||||
Generated Location: (1691:59,44 [40] )
|
||||
|
|
||||
break;
|
||||
default:
|
||||
|
|
@ -66,7 +66,7 @@ Source Location: (288:18,37 [19] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
|
|
||||
break;
|
||||
}|
|
||||
Generated Location: (1832:65,37 [19] )
|
||||
Generated Location: (1884:67,37 [19] )
|
||||
|
|
||||
break;
|
||||
}|
|
||||
|
|
@ -74,26 +74,26 @@ Generated Location: (1832:65,37 [19] )
|
|||
Source Location: (312:22,1 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|for(int j = 1; j <= 10; j += 2) {
|
||||
|
|
||||
Generated Location: (1968:72,1 [39] )
|
||||
Generated Location: (2020:74,1 [39] )
|
||||
|for(int j = 1; j <= 10; j += 2) {
|
||||
|
|
||||
|
||||
Source Location: (378:23,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|j|
|
||||
Generated Location: (2154:78,31 [1] )
|
||||
Generated Location: (2206:80,31 [1] )
|
||||
|j|
|
||||
|
||||
Source Location: (384:23,37 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (2309:83,37 [3] )
|
||||
Generated Location: (2361:85,37 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
Source Location: (392:26,1 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|try {
|
||||
|
|
||||
Generated Location: (2429:89,1 [11] )
|
||||
Generated Location: (2481:91,1 [11] )
|
||||
|try {
|
||||
|
|
||||
|
||||
|
|
@ -101,39 +101,39 @@ Source Location: (438:27,39 [31] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
|
|
||||
} catch(Exception ex) {
|
||||
|
|
||||
Generated Location: (2595:95,39 [31] )
|
||||
Generated Location: (2647:97,39 [31] )
|
||||
|
|
||||
} catch(Exception ex) {
|
||||
|
|
||||
|
||||
Source Location: (500:29,35 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|ex.Message|
|
||||
Generated Location: (2777:102,35 [10] )
|
||||
Generated Location: (2829:104,35 [10] )
|
||||
|ex.Message|
|
||||
|
||||
Source Location: (515:29,50 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (2954:107,50 [3] )
|
||||
Generated Location: (3006:109,50 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
Source Location: (535:32,13 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|i|
|
||||
Generated Location: (3086:113,13 [1] )
|
||||
Generated Location: (3138:115,13 [1] )
|
||||
|i|
|
||||
|
||||
Source Location: (545:34,1 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|lock(new object()) {
|
||||
|
|
||||
Generated Location: (3205:118,1 [26] )
|
||||
Generated Location: (3257:120,1 [26] )
|
||||
|lock(new object()) {
|
||||
|
|
||||
|
||||
Source Location: (618:35,51 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (3398:124,51 [3] )
|
||||
Generated Location: (3450:126,51 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ba7d8f5f5159a2389c780aa606885ef6c917a45a"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -129,3 +131,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -74,3 +76,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Source Location: (14:1,6 [187] TestFiles/IntegrationTests/CodeGenerationIntegrat
|
|||
};
|
||||
|
||||
|
|
||||
Generated Location: (591:14,6 [187] )
|
||||
Generated Location: (643:16,6 [187] )
|
||||
|
|
||||
var nameLookup = new Dictionary<string, (string FirstName, string LastName, object Extra)>()
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@ Source Location: (246:7,53 [253] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
double AvogadroConstant = 6.022_140_857_747_474e23;
|
||||
decimal GoldenRatio = 1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M;
|
||||
|
|
||||
Generated Location: (947:25,53 [253] )
|
||||
Generated Location: (999:27,53 [253] )
|
||||
|
|
||||
|
||||
int Sixteen = 0b0001_0000;
|
||||
|
|
@ -40,7 +40,7 @@ Source Location: (509:15,5 [159] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
// Do Something
|
||||
}
|
||||
}|
|
||||
Generated Location: (1322:36,5 [159] )
|
||||
Generated Location: (1374:38,5 [159] )
|
||||
|if (nameLookup.TryGetValue("John Doe", out var entry))
|
||||
{
|
||||
if (entry.Extra is bool alive)
|
||||
|
|
@ -51,12 +51,12 @@ Generated Location: (1322:36,5 [159] )
|
|||
|
||||
Source Location: (718:23,39 [62] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml)
|
||||
|1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M|
|
||||
Generated Location: (1637:47,39 [62] )
|
||||
Generated Location: (1689:49,39 [62] )
|
||||
|1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M|
|
||||
|
||||
Source Location: (816:27,10 [34] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml)
|
||||
|(First: "John", Last: "Doe").First|
|
||||
Generated Location: (1827:52,10 [34] )
|
||||
Generated Location: (1879:54,10 [34] )
|
||||
|(First: "John", Last: "Doe").First|
|
||||
|
||||
Source Location: (891:30,5 [291] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml)
|
||||
|
|
@ -72,7 +72,7 @@ Source Location: (891:30,5 [291] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
// Do even more of something
|
||||
break;
|
||||
}|
|
||||
Generated Location: (1984:57,5 [291] )
|
||||
Generated Location: (2036:59,5 [291] )
|
||||
|switch (entry.Extra)
|
||||
{
|
||||
case int age:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d287720a0df9d4595ed4f009c44479d9c7b0a800"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -77,3 +79,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -16,3 +18,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source Location: (2:0,2 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockAtEOF.cshtml)
|
||||
||
|
||||
Generated Location: (523:13,14 [0] )
|
||||
Generated Location: (575:15,14 [0] )
|
||||
||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockAtEOF.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5f82673b13daf5e28291f3bfb58df5e3a94e13cc"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -11,3 +13,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -34,3 +36,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
Source Location: (2:0,2 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||
|
|
||||
var a = 1; |
|
||||
Generated Location: (621:14,2 [17] )
|
||||
Generated Location: (673:16,2 [17] )
|
||||
|
|
||||
var a = 1; |
|
||||
|
||||
Source Location: (35:1,31 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||
|
|
||||
var b = 1; |
|
||||
Generated Location: (802:20,31 [22] )
|
||||
Generated Location: (854:22,31 [22] )
|
||||
|
|
||||
var b = 1; |
|
||||
|
||||
Source Location: (69:2,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||
|a+b|
|
||||
Generated Location: (995:26,38 [3] )
|
||||
Generated Location: (1047:28,38 [3] )
|
||||
|a+b|
|
||||
|
||||
Source Location: (80:2,40 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1093:30,61 [2] )
|
||||
Generated Location: (1145:32,61 [2] )
|
||||
|
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "13e48ff59aab8106ceb68dd4a10b0bdf10c322fc"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -30,3 +32,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -23,3 +25,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Source Location: (2:0,2 [115] TestFiles/IntegrationTests/CodeGenerationIntegrati
|
|||
Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");
|
||||
}
|
||||
|
|
||||
Generated Location: (591:14,2 [115] )
|
||||
Generated Location: (643:16,2 [115] )
|
||||
|
|
||||
for(int i = 1; i <= 10; i++) {
|
||||
Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlock.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "019ce8023d064d08ca88c597b764aea895ec5841"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -19,3 +21,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -200,3 +202,4 @@ __TestNamespace_PTagHelper.Age = 123;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Source Location: (14:0,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|"*, TestAssembly"|
|
||||
Generated Location: (371:8,37 [17] )
|
||||
Generated Location: (423:10,37 [17] )
|
||||
|"*, TestAssembly"|
|
||||
|
||||
Source Location: (36:2,1 [52] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|
|
@ -9,7 +9,7 @@ Source Location: (36:2,1 [52] TestFiles/IntegrationTests/CodeGenerationIntegrati
|
|||
var checkbox = "checkbox";
|
||||
|
||||
|
|
||||
Generated Location: (996:21,1 [52] )
|
||||
Generated Location: (1048:23,1 [52] )
|
||||
|if (true)
|
||||
{
|
||||
var checkbox = "checkbox";
|
||||
|
|
@ -18,39 +18,39 @@ Generated Location: (996:21,1 [52] )
|
|||
|
||||
Source Location: (147:7,16 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|@|
|
||||
Generated Location: (1302:31,33 [1] )
|
||||
Generated Location: (1354:33,33 [1] )
|
||||
|@|
|
||||
|
||||
Source Location: (149:7,18 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
||
|
||||
Generated Location: (1303:31,34 [0] )
|
||||
Generated Location: (1355:33,34 [0] )
|
||||
||
|
||||
|
||||
Source Location: (149:7,18 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|@|
|
||||
Generated Location: (1303:31,34 [1] )
|
||||
Generated Location: (1355:33,34 [1] )
|
||||
|@|
|
||||
|
||||
Source Location: (150:7,19 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|(|
|
||||
Generated Location: (1304:31,35 [1] )
|
||||
Generated Location: (1356:33,35 [1] )
|
||||
|(|
|
||||
|
||||
Source Location: (151:7,20 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|1+2|
|
||||
Generated Location: (1305:31,36 [3] )
|
||||
Generated Location: (1357:33,36 [3] )
|
||||
|1+2|
|
||||
|
||||
Source Location: (154:7,23 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (1308:31,39 [1] )
|
||||
Generated Location: (1360:33,39 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (273:10,13 [43] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|if (false)
|
||||
{
|
||||
|
|
||||
Generated Location: (1450:36,13 [43] )
|
||||
Generated Location: (1502:38,13 [43] )
|
||||
|if (false)
|
||||
{
|
||||
|
|
||||
|
|
@ -61,7 +61,7 @@ Source Location: (399:12,99 [66] TestFiles/IntegrationTests/CodeGenerationIntegr
|
|||
else
|
||||
{
|
||||
|
|
||||
Generated Location: (2170:48,99 [66] )
|
||||
Generated Location: (2222:50,99 [66] )
|
||||
|
|
||||
}
|
||||
else
|
||||
|
|
@ -70,224 +70,224 @@ Generated Location: (2170:48,99 [66] )
|
|||
|
||||
Source Location: (495:16,46 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|checkbox|
|
||||
Generated Location: (2617:59,46 [8] )
|
||||
Generated Location: (2669:61,46 [8] )
|
||||
|checkbox|
|
||||
|
||||
Source Location: (512:16,63 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|true|
|
||||
Generated Location: (2970:66,63 [4] )
|
||||
Generated Location: (3022:68,63 [4] )
|
||||
|true|
|
||||
|
||||
Source Location: (523:16,74 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (3189:71,86 [18] )
|
||||
Generated Location: (3241:73,86 [18] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (556:17,31 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|true ? "checkbox" : "anything"|
|
||||
Generated Location: (3542:76,31 [30] )
|
||||
Generated Location: (3594:78,31 [30] )
|
||||
|true ? "checkbox" : "anything"|
|
||||
|
||||
Source Location: (591:17,66 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (3838:82,78 [18] )
|
||||
Generated Location: (3890:84,78 [18] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (623:18,30 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|if(true) { |
|
||||
Generated Location: (4190:87,30 [11] )
|
||||
Generated Location: (4242:89,30 [11] )
|
||||
|if(true) { |
|
||||
|
||||
Source Location: (655:18,62 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| } else { |
|
||||
Generated Location: (4390:92,62 [10] )
|
||||
Generated Location: (4442:94,62 [10] )
|
||||
| } else { |
|
||||
|
||||
Source Location: (686:18,93 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| }|
|
||||
Generated Location: (4620:97,93 [2] )
|
||||
Generated Location: (4672:99,93 [2] )
|
||||
| }|
|
||||
|
||||
Source Location: (690:18,97 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (5000:104,97 [15] )
|
||||
Generated Location: (5052:106,97 [15] )
|
||||
|
|
||||
}|
|
||||
|
||||
Source Location: (212:8,32 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|DateTime.Now|
|
||||
Generated Location: (5268:111,32 [12] )
|
||||
Generated Location: (5320:113,32 [12] )
|
||||
|DateTime.Now|
|
||||
|
||||
Source Location: (832:22,14 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| var @object = false;|
|
||||
Generated Location: (5422:116,14 [21] )
|
||||
Generated Location: (5474:118,14 [21] )
|
||||
| var @object = false;|
|
||||
|
||||
Source Location: (885:23,29 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|(|
|
||||
Generated Location: (5820:123,42 [1] )
|
||||
Generated Location: (5872:125,42 [1] )
|
||||
|(|
|
||||
|
||||
Source Location: (886:23,30 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|@object|
|
||||
Generated Location: (5821:123,43 [7] )
|
||||
Generated Location: (5873:125,43 [7] )
|
||||
|@object|
|
||||
|
||||
Source Location: (893:23,37 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (5828:123,50 [1] )
|
||||
Generated Location: (5880:125,50 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (760:21,39 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|DateTimeOffset.Now.Year|
|
||||
Generated Location: (6090:129,38 [23] )
|
||||
Generated Location: (6142:131,38 [23] )
|
||||
|DateTimeOffset.Now.Year|
|
||||
|
||||
Source Location: (783:21,62 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| -|
|
||||
Generated Location: (6113:129,61 [2] )
|
||||
Generated Location: (6165:131,61 [2] )
|
||||
| -|
|
||||
|
||||
Source Location: (785:21,64 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| 1970|
|
||||
Generated Location: (6115:129,63 [5] )
|
||||
Generated Location: (6167:131,63 [5] )
|
||||
| 1970|
|
||||
|
||||
Source Location: (1025:26,61 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|(|
|
||||
Generated Location: (6516:136,60 [1] )
|
||||
Generated Location: (6568:138,60 [1] )
|
||||
|(|
|
||||
|
||||
Source Location: (1026:26,62 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|DateTimeOffset.Now.Year > 2014|
|
||||
Generated Location: (6517:136,61 [30] )
|
||||
Generated Location: (6569:138,61 [30] )
|
||||
|DateTimeOffset.Now.Year > 2014|
|
||||
|
||||
Source Location: (1056:26,92 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (6547:136,91 [1] )
|
||||
Generated Location: (6599:138,91 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (928:25,16 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|-1970|
|
||||
Generated Location: (6804:142,33 [5] )
|
||||
Generated Location: (6856:144,33 [5] )
|
||||
|-1970|
|
||||
|
||||
Source Location: (933:25,21 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| +|
|
||||
Generated Location: (6809:142,38 [2] )
|
||||
Generated Location: (6861:144,38 [2] )
|
||||
| +|
|
||||
|
||||
Source Location: (935:25,23 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| |
|
||||
Generated Location: (6811:142,40 [1] )
|
||||
Generated Location: (6863:144,40 [1] )
|
||||
| |
|
||||
|
||||
Source Location: (936:25,24 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|@|
|
||||
Generated Location: (6812:142,41 [1] )
|
||||
Generated Location: (6864:144,41 [1] )
|
||||
|@|
|
||||
|
||||
Source Location: (937:25,25 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|DateTimeOffset.Now.Year|
|
||||
Generated Location: (6813:142,42 [23] )
|
||||
Generated Location: (6865:144,42 [23] )
|
||||
|DateTimeOffset.Now.Year|
|
||||
|
||||
Source Location: (1155:29,28 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|DateTimeOffset.Now.Year > 2014|
|
||||
Generated Location: (7214:149,42 [30] )
|
||||
Generated Location: (7266:151,42 [30] )
|
||||
|DateTimeOffset.Now.Year > 2014|
|
||||
|
||||
Source Location: (1093:28,16 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|DateTimeOffset.Now.Year - 1970|
|
||||
Generated Location: (7500:155,33 [30] )
|
||||
Generated Location: (7552:157,33 [30] )
|
||||
|DateTimeOffset.Now.Year - 1970|
|
||||
|
||||
Source Location: (1283:32,28 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| |
|
||||
Generated Location: (7908:162,42 [3] )
|
||||
Generated Location: (7960:164,42 [3] )
|
||||
| |
|
||||
|
||||
Source Location: (1286:32,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|@|
|
||||
Generated Location: (7911:162,45 [1] )
|
||||
Generated Location: (7963:164,45 [1] )
|
||||
|@|
|
||||
|
||||
Source Location: (1287:32,32 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|(|
|
||||
Generated Location: (7912:162,46 [1] )
|
||||
Generated Location: (7964:164,46 [1] )
|
||||
|(|
|
||||
|
||||
Source Location: (1288:32,33 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| DateTimeOffset.Now.Year |
|
||||
Generated Location: (7913:162,47 [27] )
|
||||
Generated Location: (7965:164,47 [27] )
|
||||
| DateTimeOffset.Now.Year |
|
||||
|
||||
Source Location: (1315:32,60 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (7940:162,74 [1] )
|
||||
Generated Location: (7992:164,74 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (1316:32,61 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| >|
|
||||
Generated Location: (7941:162,75 [2] )
|
||||
Generated Location: (7993:164,75 [2] )
|
||||
| >|
|
||||
|
||||
Source Location: (1318:32,63 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| 2014|
|
||||
Generated Location: (7943:162,77 [5] )
|
||||
Generated Location: (7995:164,77 [5] )
|
||||
| 2014|
|
||||
|
||||
Source Location: (1323:32,68 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
| |
|
||||
Generated Location: (7948:162,82 [3] )
|
||||
Generated Location: (8000:164,82 [3] )
|
||||
| |
|
||||
|
||||
Source Location: (1220:31,17 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|(|
|
||||
Generated Location: (8207:168,33 [1] )
|
||||
Generated Location: (8259:170,33 [1] )
|
||||
|(|
|
||||
|
||||
Source Location: (1221:31,18 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|"My age is this long.".Length|
|
||||
Generated Location: (8208:168,34 [29] )
|
||||
Generated Location: (8260:170,34 [29] )
|
||||
|"My age is this long.".Length|
|
||||
|
||||
Source Location: (1250:31,47 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (8237:168,63 [1] )
|
||||
Generated Location: (8289:170,63 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (1355:34,9 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|someMethod(|
|
||||
Generated Location: (8375:173,9 [11] )
|
||||
Generated Location: (8427:175,9 [11] )
|
||||
|someMethod(|
|
||||
|
||||
Source Location: (1410:34,64 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|checked|
|
||||
Generated Location: (8793:177,63 [7] )
|
||||
Generated Location: (8845:179,63 [7] )
|
||||
|checked|
|
||||
|
||||
Source Location: (1375:34,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|123|
|
||||
Generated Location: (9048:183,33 [3] )
|
||||
Generated Location: (9100:185,33 [3] )
|
||||
|123|
|
||||
|
||||
Source Location: (1424:34,78 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|)|
|
||||
Generated Location: (9089:188,1 [1] )
|
||||
Generated Location: (9141:190,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (1437:35,10 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (9228:193,10 [3] )
|
||||
Generated Location: (9280:195,10 [3] )
|
||||
|
|
||||
}|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6c8cd00002dfc24a4fd1b1c3f079728b7697257f"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -486,3 +488,4 @@ __TestNamespace_PTagHelper.Age = 123;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -95,3 +97,4 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ Source Location: (2:0,2 [48] TestFiles/IntegrationTests/CodeGenerationIntegratio
|
|||
var ch = true;
|
||||
var cls = "bar";
|
||||
|
|
||||
Generated Location: (615:14,2 [48] )
|
||||
Generated Location: (667:16,2 [48] )
|
||||
|
|
||||
var ch = true;
|
||||
var cls = "bar";
|
||||
|
|
@ -12,127 +12,127 @@ Generated Location: (615:14,2 [48] )
|
|||
Source Location: (66:3,20 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (728:21,32 [6] )
|
||||
Generated Location: (780:23,32 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (83:4,15 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|cls|
|
||||
Generated Location: (848:24,15 [3] )
|
||||
Generated Location: (900:26,15 [3] )
|
||||
|cls|
|
||||
|
||||
Source Location: (90:4,22 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (919:28,34 [6] )
|
||||
Generated Location: (971:30,34 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (111:5,19 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|cls|
|
||||
Generated Location: (1043:31,19 [3] )
|
||||
Generated Location: (1095:33,19 [3] )
|
||||
|cls|
|
||||
|
||||
Source Location: (118:5,26 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1118:35,38 [6] )
|
||||
Generated Location: (1170:37,38 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (135:6,15 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|cls|
|
||||
Generated Location: (1238:38,15 [3] )
|
||||
Generated Location: (1290:40,15 [3] )
|
||||
|cls|
|
||||
|
||||
Source Location: (146:6,26 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1313:42,38 [6] )
|
||||
Generated Location: (1365:44,38 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (185:7,37 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|ch|
|
||||
Generated Location: (1455:45,37 [2] )
|
||||
Generated Location: (1507:47,37 [2] )
|
||||
|ch|
|
||||
|
||||
Source Location: (191:7,43 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1546:49,55 [6] )
|
||||
Generated Location: (1598:51,55 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (234:8,41 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|ch|
|
||||
Generated Location: (1692:52,41 [2] )
|
||||
Generated Location: (1744:54,41 [2] )
|
||||
|ch|
|
||||
|
||||
Source Location: (240:8,47 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (1787:56,59 [6] )
|
||||
Generated Location: (1839:58,59 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (257:9,15 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|if(cls != null) { |
|
||||
Generated Location: (1908:59,15 [18] )
|
||||
Generated Location: (1960:61,15 [18] )
|
||||
|if(cls != null) { |
|
||||
|
||||
Source Location: (276:9,34 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|cls|
|
||||
Generated Location: (2091:64,34 [3] )
|
||||
Generated Location: (2143:66,34 [3] )
|
||||
|cls|
|
||||
|
||||
Source Location: (279:9,37 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
| }|
|
||||
Generated Location: (2263:69,37 [2] )
|
||||
Generated Location: (2315:71,37 [2] )
|
||||
| }|
|
||||
|
||||
Source Location: (285:9,43 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (2353:73,55 [6] )
|
||||
Generated Location: (2405:75,55 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (309:10,22 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (2395:75,34 [6] )
|
||||
Generated Location: (2447:77,34 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (329:11,18 [44] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|Url.Content("~/Scripts/jquery-1.6.2.min.js")|
|
||||
Generated Location: (2519:78,18 [44] )
|
||||
Generated Location: (2571:80,18 [44] )
|
||||
|Url.Content("~/Scripts/jquery-1.6.2.min.js")|
|
||||
|
||||
Source Location: (407:11,96 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (2705:82,108 [6] )
|
||||
Generated Location: (2757:84,108 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (427:12,18 [60] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")|
|
||||
Generated Location: (2829:85,18 [60] )
|
||||
Generated Location: (2881:87,18 [60] )
|
||||
|Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")|
|
||||
|
||||
Source Location: (521:12,112 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (3047:89,124 [6] )
|
||||
Generated Location: (3099:91,124 [6] )
|
||||
|
|
||||
|
|
||||
|
||||
Source Location: (638:13,115 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||
|
|
||||
|
|
||||
Generated Location: (3182:91,127 [2] )
|
||||
Generated Location: (3234:93,127 [2] )
|
||||
|
|
||||
|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "088be4e50958bcab0f1d1ac04d2c28dcd8049bf5"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -101,3 +103,4 @@ WriteAttributeValue("", 426, Url.Content("~/Scripts/modernizr-2.0.6-development-
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CssSelectorTagHelperAttributes.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1ba28534da506a7c741c3d82251fd700658ff7c8"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -235,3 +237,4 @@ AddHtmlAttributeValue(" ", 331, false, 332, 6, false);
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -61,3 +63,4 @@ __o = bar;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,49 +1,49 @@
|
|||
Source Location: (173:11,9 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|Footer|
|
||||
Generated Location: (349:8,22 [6] )
|
||||
Generated Location: (401:10,22 [6] )
|
||||
|Footer|
|
||||
|
||||
Source Location: (20:1,13 [36] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|for(int i = 1; i <= 10; i++) {
|
||||
|
|
||||
Generated Location: (702:18,13 [36] )
|
||||
Generated Location: (754:20,13 [36] )
|
||||
|for(int i = 1; i <= 10; i++) {
|
||||
|
|
||||
|
||||
Source Location: (74:2,22 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|i|
|
||||
Generated Location: (879:24,22 [1] )
|
||||
Generated Location: (931:26,22 [1] )
|
||||
|i|
|
||||
|
||||
Source Location: (79:2,27 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|
|
||||
}|
|
||||
Generated Location: (1027:29,27 [15] )
|
||||
Generated Location: (1079:31,27 [15] )
|
||||
|
|
||||
}|
|
||||
|
||||
Source Location: (113:7,2 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|Foo(Bar.Baz)|
|
||||
Generated Location: (1167:35,6 [12] )
|
||||
Generated Location: (1219:37,6 [12] )
|
||||
|Foo(Bar.Baz)|
|
||||
|
||||
Source Location: (129:8,1 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|Foo(|
|
||||
Generated Location: (1305:40,6 [4] )
|
||||
Generated Location: (1357:42,6 [4] )
|
||||
|Foo(|
|
||||
|
||||
Source Location: (142:8,14 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|baz|
|
||||
Generated Location: (1467:42,14 [3] )
|
||||
Generated Location: (1519:44,14 [3] )
|
||||
|baz|
|
||||
|
||||
Source Location: (153:8,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|)|
|
||||
Generated Location: (1508:47,1 [1] )
|
||||
Generated Location: (1560:49,1 [1] )
|
||||
|)|
|
||||
|
||||
Source Location: (204:13,5 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||
|bar|
|
||||
Generated Location: (1708:53,6 [3] )
|
||||
Generated Location: (1760:55,6 [3] )
|
||||
|bar|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -50,3 +52,4 @@ __TestNamespace_PTagHelper.Age = 3;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
Source Location: (14:0,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||
|"*, TestAssembly"|
|
||||
Generated Location: (382:8,37 [17] )
|
||||
Generated Location: (434:10,37 [17] )
|
||||
|"*, TestAssembly"|
|
||||
|
||||
Source Location: (146:4,34 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||
|true|
|
||||
Generated Location: (1775:29,42 [4] )
|
||||
Generated Location: (1827:31,42 [4] )
|
||||
|true|
|
||||
|
||||
Source Location: (222:5,34 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||
|true|
|
||||
Generated Location: (2317:38,42 [4] )
|
||||
Generated Location: (2369:40,42 [4] )
|
||||
|true|
|
||||
|
||||
Source Location: (43:2,8 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||
|3|
|
||||
Generated Location: (2587:44,33 [1] )
|
||||
Generated Location: (2639:46,33 [1] )
|
||||
|3|
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f64041250fa76433a1542ae43458ed7ba286a01c"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -139,3 +141,4 @@ __TestNamespace_PTagHelper.Age = 3;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||
{
|
||||
#line hidden
|
||||
|
|
@ -31,3 +33,4 @@ __TestNamespace_InputTagHelper.Checked = true;
|
|||
#pragma warning restore 1998
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
Source Location: (14:0,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateTargetTagHelper.cshtml)
|
||||
|"*, TestAssembly"|
|
||||
Generated Location: (378:8,37 [17] )
|
||||
Generated Location: (430:10,37 [17] )
|
||||
|"*, TestAssembly"|
|
||||
|
||||
Source Location: (67:2,32 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateTargetTagHelper.cshtml)
|
||||
|true|
|
||||
Generated Location: (1335:24,41 [4] )
|
||||
Generated Location: (1387:26,41 [4] )
|
||||
|true|
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue