Check for warnrings in tests taht compile
This fixes and issue that snuck through and broke MVC as well as preventing this from happening in the future.
This commit is contained in:
parent
7aeb228063
commit
112cbc0bb6
|
|
@ -77,7 +77,6 @@ namespace Microsoft.AspNetCore.Razor.Language
|
||||||
|
|
||||||
// The document should contain all errors that currently exist in the system. This involves
|
// The document should contain all errors that currently exist in the system. This involves
|
||||||
// adding the errors from the primary and imported syntax trees.
|
// adding the errors from the primary and imported syntax trees.
|
||||||
|
|
||||||
for (i = 0; i < syntaxTree.Diagnostics.Count; i++)
|
for (i = 0; i < syntaxTree.Diagnostics.Count; i++)
|
||||||
{
|
{
|
||||||
document.Diagnostics.Add(syntaxTree.Diagnostics[i]);
|
document.Diagnostics.Add(syntaxTree.Diagnostics[i]);
|
||||||
|
|
|
||||||
|
|
@ -437,11 +437,11 @@ namespace Microsoft.AspNetCore.Razor.Language.Extensions
|
||||||
{
|
{
|
||||||
context.CodeWriter.WriteLine("#line hidden");
|
context.CodeWriter.WriteLine("#line hidden");
|
||||||
|
|
||||||
// Need to disable the warning "X is assigned to but never used." for the value buffer since
|
// Need to disable the warning "X is never used." for the value buffer since
|
||||||
// whether it's used depends on how a TagHelper is used.
|
// whether it's used depends on how a TagHelper is used.
|
||||||
context.CodeWriter.WriteLine("#pragma warning disable 0414");
|
context.CodeWriter.WriteLine("#pragma warning disable 0169");
|
||||||
context.CodeWriter.WriteField(PrivateModifiers, "string", StringValueBufferVariableName);
|
context.CodeWriter.WriteField(PrivateModifiers, "string", StringValueBufferVariableName);
|
||||||
context.CodeWriter.WriteLine("#pragma warning restore 0414");
|
context.CodeWriter.WriteLine("#pragma warning restore 0169");
|
||||||
|
|
||||||
context.CodeWriter.WriteField(PrivateModifiers, ExecutionContextTypeName, ExecutionContextVariableName);
|
context.CodeWriter.WriteField(PrivateModifiers, ExecutionContextTypeName, ExecutionContextVariableName);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,15 +25,39 @@ namespace Microsoft.AspNetCore.Razor.Language.Extensions
|
||||||
|
|
||||||
public override void VisitClassDeclaration(ClassDeclarationIntermediateNode node)
|
public override void VisitClassDeclaration(ClassDeclarationIntermediateNode node)
|
||||||
{
|
{
|
||||||
var designTimeHelperDeclaration = new CSharpCodeIntermediateNode();
|
node.Children.Insert(0, new CSharpCodeIntermediateNode()
|
||||||
IntermediateNodeBuilder.Create(designTimeHelperDeclaration)
|
{
|
||||||
.Add(new IntermediateToken()
|
Children =
|
||||||
{
|
{
|
||||||
Kind = IntermediateToken.TokenKind.CSharp,
|
new IntermediateToken()
|
||||||
Content = $"private static {typeof(object).FullName} {DesignTimeVariable} = null;"
|
{
|
||||||
});
|
Kind = IntermediateToken.TokenKind.CSharp,
|
||||||
|
Content = "#pragma warning disable 0414",
|
||||||
node.Children.Insert(0, designTimeHelperDeclaration);
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
node.Children.Insert(1, new CSharpCodeIntermediateNode()
|
||||||
|
{
|
||||||
|
Children =
|
||||||
|
{
|
||||||
|
new IntermediateToken()
|
||||||
|
{
|
||||||
|
Kind = IntermediateToken.TokenKind.CSharp,
|
||||||
|
Content = $"private static {typeof(object).FullName} {DesignTimeVariable} = null;",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
node.Children.Insert(2, new CSharpCodeIntermediateNode()
|
||||||
|
{
|
||||||
|
Children =
|
||||||
|
{
|
||||||
|
new IntermediateToken()
|
||||||
|
{
|
||||||
|
Kind = IntermediateToken.TokenKind.CSharp,
|
||||||
|
Content = "#pragma warning restore 0414",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
_directiveNode = new DesignTimeDirectiveIntermediateNode();
|
_directiveNode = new DesignTimeDirectiveIntermediateNode();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,11 @@ public class MyModel
|
||||||
[Fact]
|
[Fact]
|
||||||
public void _ViewImports_Runtime()
|
public void _ViewImports_Runtime()
|
||||||
{
|
{
|
||||||
|
var error = "'TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml.Model' " +
|
||||||
|
"hides inherited member 'RazorPage<dynamic>.Model'. Use the new keyword if hiding was intended.";
|
||||||
|
|
||||||
var references = CreateCompilationReferences(CurrentMvcShim);
|
var references = CreateCompilationReferences(CurrentMvcShim);
|
||||||
RunRuntimeTest(references);
|
RunRuntimeTest(references, new[] { error, });
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
|
@ -344,8 +347,11 @@ public abstract class MyPageModel<T> : Page
|
||||||
[Fact]
|
[Fact]
|
||||||
public void _ViewImports_DesignTime()
|
public void _ViewImports_DesignTime()
|
||||||
{
|
{
|
||||||
|
var error = "'TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml.Model' " +
|
||||||
|
"hides inherited member 'RazorPage<dynamic>.Model'. Use the new keyword if hiding was intended.";
|
||||||
|
|
||||||
var references = CreateCompilationReferences(CurrentMvcShim);
|
var references = CreateCompilationReferences(CurrentMvcShim);
|
||||||
RunDesignTimeTest(references);
|
RunDesignTimeTest(references, new[] { error, });
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
|
@ -555,7 +561,7 @@ public class AllTagHelper : {typeof(TagHelper).FullName}
|
||||||
|
|
||||||
var diagnostics = compilation.GetDiagnostics();
|
var diagnostics = compilation.GetDiagnostics();
|
||||||
|
|
||||||
var errors = diagnostics.Where(d => d.Severity == DiagnosticSeverity.Error);
|
var errors = diagnostics.Where(d => d.Severity >= DiagnosticSeverity.Warning);
|
||||||
|
|
||||||
if (expectedErrors == null)
|
if (expectedErrors == null)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@ namespace AspNetCore
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,12 @@ Document -
|
||||||
DirectiveToken - (617:12,14 [96] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (617:12,14 [96] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (0:0,0 [4] Basic.cshtml)
|
HtmlContent - (0:0,0 [4] Basic.cshtml)
|
||||||
IntermediateToken - (0:0,0 [4] Basic.cshtml) - Html - <div
|
IntermediateToken - (0:0,0 [4] Basic.cshtml) - Html - <div
|
||||||
|
|
|
||||||
|
|
@ -1,34 +1,34 @@
|
||||||
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||||
|this.ToString()|
|
|this.ToString()|
|
||||||
Generated Location: (1139:25,13 [15] )
|
Generated Location: (1215:27,13 [15] )
|
||||||
|this.ToString()|
|
|this.ToString()|
|
||||||
|
|
||||||
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||||
|string.Format("{0}", "Hello")|
|
|string.Format("{0}", "Hello")|
|
||||||
Generated Location: (1275:30,6 [29] )
|
Generated Location: (1351:32,6 [29] )
|
||||||
|string.Format("{0}", "Hello")|
|
|string.Format("{0}", "Hello")|
|
||||||
|
|
||||||
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||||
|
|
|
|
||||||
var cls = "foo";
|
var cls = "foo";
|
||||||
|
|
|
|
||||||
Generated Location: (1421:35,2 [25] )
|
Generated Location: (1497:37,2 [25] )
|
||||||
|
|
|
|
||||||
var cls = "foo";
|
var cls = "foo";
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||||
|if(cls != null) { |
|
|if(cls != null) { |
|
||||||
Generated Location: (1569:41,11 [18] )
|
Generated Location: (1645:43,11 [18] )
|
||||||
|if(cls != null) { |
|
|if(cls != null) { |
|
||||||
|
|
||||||
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||||
|cls|
|
|cls|
|
||||||
Generated Location: (1731:46,30 [3] )
|
Generated Location: (1807:48,30 [3] )
|
||||||
|cls|
|
|cls|
|
||||||
|
|
||||||
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
||||||
| }|
|
| }|
|
||||||
Generated Location: (1882:51,33 [2] )
|
Generated Location: (1958:53,33 [2] )
|
||||||
| }|
|
| }|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@ MyService<TModel> __typeHelper = default(MyService<TModel>);
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (159:11,8 [17] IncompleteDirectives.cshtml) - MyService<TModel>
|
DirectiveToken - (159:11,8 [17] IncompleteDirectives.cshtml) - MyService<TModel>
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (83:0,83 [4] IncompleteDirectives.cshtml)
|
HtmlContent - (83:0,83 [4] IncompleteDirectives.cshtml)
|
||||||
IntermediateToken - (83:0,83 [4] IncompleteDirectives.cshtml) - Html - \n\n
|
IntermediateToken - (83:0,83 [4] IncompleteDirectives.cshtml) - Html - \n\n
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,9 @@ MyModel __typeHelper = default(MyModel);
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,12 @@ Document -
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (10:0,10 [26] InheritsViewModel.cshtml) - MyBasePageForViews<TModel>
|
DirectiveToken - (10:0,10 [26] InheritsViewModel.cshtml) - MyBasePageForViews<TModel>
|
||||||
DirectiveToken - (45:1,7 [7] InheritsViewModel.cshtml) - MyModel
|
DirectiveToken - (45:1,7 [7] InheritsViewModel.cshtml) - MyModel
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@ MyModel __typeHelper = default(MyModel);
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (14:1,7 [7] InheritsWithViewImports.cshtml) - MyModel
|
DirectiveToken - (14:1,7 [7] InheritsWithViewImports.cshtml) - MyModel
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,9 @@ global::System.Object Html = null;
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,12 @@ Document -
|
||||||
DirectiveToken - (30:1,14 [14] InjectWithModel.cshtml) - MyPropertyName
|
DirectiveToken - (30:1,14 [14] InjectWithModel.cshtml) - MyPropertyName
|
||||||
DirectiveToken - (54:2,8 [17] InjectWithModel.cshtml) - MyService<TModel>
|
DirectiveToken - (54:2,8 [17] InjectWithModel.cshtml) - MyService<TModel>
|
||||||
DirectiveToken - (72:2,26 [4] InjectWithModel.cshtml) - Html
|
DirectiveToken - (72:2,26 [4] InjectWithModel.cshtml) - Html
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,9 @@ global::System.Object Html2 = null;
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,12 @@ Document -
|
||||||
DirectiveToken - (99:3,14 [15] InjectWithSemicolon.cshtml) - MyPropertyName2
|
DirectiveToken - (99:3,14 [15] InjectWithSemicolon.cshtml) - MyPropertyName2
|
||||||
DirectiveToken - (129:4,8 [17] InjectWithSemicolon.cshtml) - MyService<TModel>
|
DirectiveToken - (129:4,8 [17] InjectWithSemicolon.cshtml) - MyService<TModel>
|
||||||
DirectiveToken - (147:4,26 [5] InjectWithSemicolon.cshtml) - Html2
|
DirectiveToken - (147:4,26 [5] InjectWithSemicolon.cshtml) - Html2
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,9 @@ global::System.Object MyPropertyName = null;
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,12 @@ Document -
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (8:0,8 [5] Inject.cshtml) - MyApp
|
DirectiveToken - (8:0,8 [5] Inject.cshtml) - MyApp
|
||||||
DirectiveToken - (14:0,14 [14] Inject.cshtml) - MyPropertyName
|
DirectiveToken - (14:0,14 [14] Inject.cshtml) - MyPropertyName
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@ namespace AspNetCore
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,12 @@ Document -
|
||||||
DirectiveToken - (617:12,14 [96] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (617:12,14 [96] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
MalformedDirective - (0:0,0 [11] InvalidNamespaceAtEOF.cshtml) - namespace
|
MalformedDirective - (0:0,0 [11] InvalidNamespaceAtEOF.cshtml) - namespace
|
||||||
HtmlContent - (11:0,11 [5] InvalidNamespaceAtEOF.cshtml)
|
HtmlContent - (11:0,11 [5] InvalidNamespaceAtEOF.cshtml)
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@ namespace AspNetCore
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,12 @@ Document -
|
||||||
DirectiveToken - (617:12,14 [96] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (617:12,14 [96] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
MalformedDirective - (0:0,0 [6] MalformedPageDirective.cshtml) - page
|
MalformedDirective - (0:0,0 [6] MalformedPageDirective.cshtml) - page
|
||||||
HtmlContent - (6:0,6 [49] MalformedPageDirective.cshtml)
|
HtmlContent - (6:0,6 [49] MalformedPageDirective.cshtml)
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,9 @@ global::System.Object __typeHelper = "InputTestTagHelper, AppCode";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,12 @@ Document -
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (7:0,7 [8] ModelExpressionTagHelper.cshtml) - DateTime
|
DirectiveToken - (7:0,7 [8] ModelExpressionTagHelper.cshtml) - DateTime
|
||||||
DirectiveToken - (33:2,14 [29] ModelExpressionTagHelper.cshtml) - "InputTestTagHelper, AppCode"
|
DirectiveToken - (33:2,14 [29] ModelExpressionTagHelper.cshtml) - "InputTestTagHelper, AppCode"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (17:1,0 [2] ModelExpressionTagHelper.cshtml)
|
HtmlContent - (17:1,0 [2] ModelExpressionTagHelper.cshtml)
|
||||||
IntermediateToken - (17:1,0 [2] ModelExpressionTagHelper.cshtml) - Html - \n
|
IntermediateToken - (17:1,0 [2] ModelExpressionTagHelper.cshtml) - Html - \n
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,11 @@ Generated Location: (1096:24,37 [29] )
|
||||||
|
|
||||||
Source Location: (83:4,17 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
Source Location: (83:4,17 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
||||||
|Date|
|
|Date|
|
||||||
Generated Location: (1668:35,102 [4] )
|
Generated Location: (1744:37,102 [4] )
|
||||||
|Date|
|
|Date|
|
||||||
|
|
||||||
Source Location: (111:5,18 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
Source Location: (111:5,18 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ModelExpressionTagHelper.cshtml)
|
||||||
|Model|
|
|Model|
|
||||||
Generated Location: (1984:41,94 [5] )
|
Generated Location: (2060:43,94 [5] )
|
||||||
|Model|
|
|Model|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@ namespace AspNetCore
|
||||||
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime>
|
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime>
|
||||||
{
|
{
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@ System.Collections.IEnumerable __typeHelper = default(System.Collections.IEnumer
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (7:0,7 [30] Model.cshtml) - System.Collections.IEnumerable
|
DirectiveToken - (7:0,7 [30] Model.cshtml) - System.Collections.IEnumerable
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,9 @@ System.Collections.IEnumerable __typeHelper = default(System.Collections.IEnumer
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,12 @@ Document -
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (7:0,7 [21] MultipleModels.cshtml) - ThisShouldBeGenerated
|
DirectiveToken - (7:0,7 [21] MultipleModels.cshtml) - ThisShouldBeGenerated
|
||||||
DirectiveToken - (37:1,7 [30] MultipleModels.cshtml) - System.Collections.IEnumerable
|
DirectiveToken - (37:1,7 [30] MultipleModels.cshtml) - System.Collections.IEnumerable
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
MalformedDirective - (30:1,0 [39] MultipleModels.cshtml) - model
|
MalformedDirective - (30:1,0 [39] MultipleModels.cshtml) - model
|
||||||
DirectiveToken - (37:1,7 [30] MultipleModels.cshtml) - System.Collections.IEnumerable
|
DirectiveToken - (37:1,7 [30] MultipleModels.cshtml) - System.Collections.IEnumerable
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@ global::System.Object __typeHelper = nameof(Test.Namespace);
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (18:1,11 [14] PageWithNamespace.cshtml) - Test.Namespace
|
DirectiveToken - (18:1,11 [14] PageWithNamespace.cshtml) - Test.Namespace
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (34:2,0 [20] PageWithNamespace.cshtml)
|
HtmlContent - (34:2,0 [20] PageWithNamespace.cshtml)
|
||||||
IntermediateToken - (34:2,0 [4] PageWithNamespace.cshtml) - Html - <h1>
|
IntermediateToken - (34:2,0 [4] PageWithNamespace.cshtml) - Html - <h1>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,9 @@ global::System.Object __typeHelper = "*, AppCode";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (23:2,14 [12] RazorPagesWithoutModel.cshtml) - "*, AppCode"
|
DirectiveToken - (23:2,14 [12] RazorPagesWithoutModel.cshtml) - "*, AppCode"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (7:1,0 [2] RazorPagesWithoutModel.cshtml)
|
HtmlContent - (7:1,0 [2] RazorPagesWithoutModel.cshtml)
|
||||||
IntermediateToken - (7:1,0 [2] RazorPagesWithoutModel.cshtml) - Html - \n
|
IntermediateToken - (7:1,0 [2] RazorPagesWithoutModel.cshtml) - Html - \n
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ Generated Location: (1153:25,37 [12] )
|
||||||
|
|
||||||
Source Location: (566:24,47 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|
Source Location: (566:24,47 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|
||||||
|Name|
|
|Name|
|
||||||
Generated Location: (1640:36,47 [4] )
|
Generated Location: (1716:38,47 [4] )
|
||||||
|Name|
|
|Name|
|
||||||
|
|
||||||
Source Location: (95:5,12 [283] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPagesWithoutModel.cshtml)
|
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; }
|
public string Name { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
|
||||||
Generated Location: (2121:47,12 [283] )
|
Generated Location: (2197:49,12 [283] )
|
||||||
|
|
|
|
||||||
public IActionResult OnPost(Customer customer)
|
public IActionResult OnPost(Customer customer)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,9 @@ using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("form-group"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("form-group"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("col-md-offset-2 col-md-10"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("col-md-offset-2 col-md-10"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,9 @@ global::System.Object __typeHelper = "*, AppCode";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,12 @@ Document -
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (16:2,7 [8] RazorPages.cshtml) - NewModel
|
DirectiveToken - (16:2,7 [8] RazorPages.cshtml) - NewModel
|
||||||
DirectiveToken - (40:3,14 [12] RazorPages.cshtml) - "*, AppCode"
|
DirectiveToken - (40:3,14 [12] RazorPages.cshtml) - "*, AppCode"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (7:1,0 [2] RazorPages.cshtml)
|
HtmlContent - (7:1,0 [2] RazorPages.cshtml)
|
||||||
IntermediateToken - (7:1,0 [2] RazorPages.cshtml) - Html - \n
|
IntermediateToken - (7:1,0 [2] RazorPages.cshtml) - Html - \n
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ Generated Location: (1221:29,37 [12] )
|
||||||
|
|
||||||
Source Location: (661:28,47 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
Source Location: (661:28,47 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
||||||
|Model.Name|
|
|Model.Name|
|
||||||
Generated Location: (1696:40,47 [10] )
|
Generated Location: (1772:42,47 [10] )
|
||||||
|Model.Name|
|
|Model.Name|
|
||||||
|
|
||||||
Source Location: (112:6,12 [360] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/RazorPages.cshtml)
|
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; }
|
public string Name { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
|
||||||
Generated Location: (2171:51,12 [360] )
|
Generated Location: (2247:53,12 [360] )
|
||||||
|
|
|
|
||||||
public class NewModel : PageModel
|
public class NewModel : PageModel
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,9 @@ using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("form-group"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("form-group"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("col-md-offset-2 col-md-10"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("col-md-offset-2 col-md-10"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,9 @@ global::System.Object __typeHelper = "*, AppCode";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (14:0,14 [12] ViewComponentTagHelper.cshtml) - "*, AppCode"
|
DirectiveToken - (14:0,14 [12] ViewComponentTagHelper.cshtml) - "*, AppCode"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (26:0,26 [2] ViewComponentTagHelper.cshtml)
|
HtmlContent - (26:0,26 [2] ViewComponentTagHelper.cshtml)
|
||||||
IntermediateToken - (26:0,26 [2] ViewComponentTagHelper.cshtml) - Html - \n
|
IntermediateToken - (26:0,26 [2] ViewComponentTagHelper.cshtml) - Html - \n
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,13 @@ Source Location: (30:1,2 [26] TestFiles/IntegrationTests/CodeGenerationIntegrati
|
||||||
|
|
|
|
||||||
var foo = "Hello";
|
var foo = "Hello";
|
||||||
|
|
|
|
||||||
Generated Location: (1538:31,2 [26] )
|
Generated Location: (1614:33,2 [26] )
|
||||||
|
|
|
|
||||||
var foo = "Hello";
|
var foo = "Hello";
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (83:5,22 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
Source Location: (83:5,22 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ViewComponentTagHelper.cshtml)
|
||||||
|foo|
|
|foo|
|
||||||
Generated Location: (1996:39,22 [3] )
|
Generated Location: (2072:41,22 [3] )
|
||||||
|foo|
|
|foo|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,9 @@ namespace AspNetCore
|
||||||
private global::AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml.__Generated__TestViewComponentTagHelper __TestViewComponentTagHelper;
|
private global::AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml.__Generated__TestViewComponentTagHelper __TestViewComponentTagHelper;
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("bar", " World", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("bar", " World", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@ global::System.Object __typeHelper = nameof(Test.Namespace);
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,12 @@ Document -
|
||||||
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (729:13,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (11:0,11 [14] ViewWithNamespace.cshtml) - Test.Namespace
|
DirectiveToken - (11:0,11 [14] ViewWithNamespace.cshtml) - Test.Namespace
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (27:1,0 [20] ViewWithNamespace.cshtml)
|
HtmlContent - (27:1,0 [20] ViewWithNamespace.cshtml)
|
||||||
IntermediateToken - (27:1,0 [4] ViewWithNamespace.cshtml) - Html - <h1>
|
IntermediateToken - (27:1,0 [4] ViewWithNamespace.cshtml) - Html - <h1>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,9 @@ global::System.Object Model = null;
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,12 @@ Document -
|
||||||
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
|
||||||
DirectiveToken - (8:0,8 [19] _ViewImports.cshtml) - IHtmlHelper<TModel>
|
DirectiveToken - (8:0,8 [19] _ViewImports.cshtml) - IHtmlHelper<TModel>
|
||||||
DirectiveToken - (28:0,28 [5] _ViewImports.cshtml) - Model
|
DirectiveToken - (28:0,28 [5] _ViewImports.cshtml) - Model
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ namespace Razor
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", new global::Microsoft.AspNetCore.Html.HtmlString("text"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", new global::Microsoft.AspNetCore.Html.HtmlString("text"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("unbound", new global::Microsoft.AspNetCore.Html.HtmlString("foo"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("unbound", new global::Microsoft.AspNetCore.Html.HtmlString("foo"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -802,9 +802,9 @@ __tagHelperExecutionContext.AddTagHelperAttribute(""foo-bound"", __InputTagHelpe
|
||||||
var csharp = context.CodeWriter.Builder.ToString();
|
var csharp = context.CodeWriter.Builder.ToString();
|
||||||
Assert.Equal(
|
Assert.Equal(
|
||||||
@"#line hidden
|
@"#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,9 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,12 @@ Document -
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AddTagHelperDirective_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AddTagHelperDirective_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (14:0,14 [17] AddTagHelperDirective.cshtml) - "*, TestAssembly"
|
DirectiveToken - (14:0,14 [17] AddTagHelperDirective.cshtml) - "*, TestAssembly"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (31:0,31 [2] AddTagHelperDirective.cshtml)
|
HtmlContent - (31:0,31 [2] AddTagHelperDirective.cshtml)
|
||||||
IntermediateToken - (31:0,31 [2] AddTagHelperDirective.cshtml) - Html - \n
|
IntermediateToken - (31:0,31 [2] AddTagHelperDirective.cshtml) - Html - \n
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,9 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,12 @@ Document -
|
||||||
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (14:0,14 [15] AttributeTargetingTagHelpers.cshtml) - *, TestAssembly
|
DirectiveToken - (14:0,14 [15] AttributeTargetingTagHelpers.cshtml) - *, TestAssembly
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (29:0,29 [4] AttributeTargetingTagHelpers.cshtml)
|
HtmlContent - (29:0,29 [4] AttributeTargetingTagHelpers.cshtml)
|
||||||
IntermediateToken - (29:0,29 [4] AttributeTargetingTagHelpers.cshtml) - Html - \n\n
|
IntermediateToken - (29:0,29 [4] AttributeTargetingTagHelpers.cshtml) - Html - \n\n
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ Generated Location: (779:14,38 [15] )
|
||||||
|
|
||||||
Source Location: (187:5,36 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
Source Location: (187:5,36 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (1651:29,42 [4] )
|
Generated Location: (1727:31,42 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
Source Location: (233:6,36 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
Source Location: (233:6,36 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/AttributeTargetingTagHelpers.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (2304:39,42 [4] )
|
Generated Location: (2380:41,42 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("btn"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("btn"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Await_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Await_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (89:5,1 [102] Await.cshtml)
|
HtmlContent - (89:5,1 [102] Await.cshtml)
|
||||||
IntermediateToken - (89:5,1 [4] Await.cshtml) - Html - \n\n
|
IntermediateToken - (89:5,1 [4] Await.cshtml) - Html - \n\n
|
||||||
|
|
|
||||||
|
|
@ -1,81 +1,81 @@
|
||||||
Source Location: (192:9,39 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (192:9,39 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo()|
|
|await Foo()|
|
||||||
Generated Location: (673:16,39 [11] )
|
Generated Location: (749:18,39 [11] )
|
||||||
|await Foo()|
|
|await Foo()|
|
||||||
|
|
||||||
Source Location: (247:10,38 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (247:10,38 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo()|
|
|await Foo()|
|
||||||
Generated Location: (838:21,38 [11] )
|
Generated Location: (914:23,38 [11] )
|
||||||
|await Foo()|
|
|await Foo()|
|
||||||
|
|
||||||
Source Location: (304:11,39 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (304:11,39 [14] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| await Foo(); |
|
| await Foo(); |
|
||||||
Generated Location: (1004:26,39 [14] )
|
Generated Location: (1080:28,39 [14] )
|
||||||
| await Foo(); |
|
| await Foo(); |
|
||||||
|
|
||||||
Source Location: (371:12,46 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (371:12,46 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (1109:30,58 [1] )
|
Generated Location: (1185:32,58 [1] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (376:12,51 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (376:12,51 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo()|
|
|await Foo()|
|
||||||
Generated Location: (1245:32,51 [11] )
|
Generated Location: (1321:34,51 [11] )
|
||||||
|await Foo()|
|
|await Foo()|
|
||||||
|
|
||||||
Source Location: (391:12,66 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (391:12,66 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (1368:36,78 [1] )
|
Generated Location: (1444:38,78 [1] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (448:13,49 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (448:13,49 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await|
|
|await|
|
||||||
Generated Location: (1502:38,49 [5] )
|
Generated Location: (1578:40,49 [5] )
|
||||||
|await|
|
|await|
|
||||||
|
|
||||||
Source Location: (578:18,42 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (578:18,42 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo(1, 2)|
|
|await Foo(1, 2)|
|
||||||
Generated Location: (1665:43,42 [15] )
|
Generated Location: (1741:45,42 [15] )
|
||||||
|await Foo(1, 2)|
|
|await Foo(1, 2)|
|
||||||
|
|
||||||
Source Location: (650:19,51 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (650:19,51 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo.Bar(1, 2)|
|
|await Foo.Bar(1, 2)|
|
||||||
Generated Location: (1847:48,51 [19] )
|
Generated Location: (1923:50,51 [19] )
|
||||||
|await Foo.Bar(1, 2)|
|
|await Foo.Bar(1, 2)|
|
||||||
|
|
||||||
Source Location: (716:20,41 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (716:20,41 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo("bob", true)|
|
|await Foo("bob", true)|
|
||||||
Generated Location: (2023:53,41 [22] )
|
Generated Location: (2099:55,41 [22] )
|
||||||
|await Foo("bob", true)|
|
|await Foo("bob", true)|
|
||||||
|
|
||||||
Source Location: (787:21,42 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (787:21,42 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| await Foo(something, hello: "world"); |
|
| await Foo(something, hello: "world"); |
|
||||||
Generated Location: (2203:58,42 [39] )
|
Generated Location: (2279:60,42 [39] )
|
||||||
| await Foo(something, hello: "world"); |
|
| await Foo(something, hello: "world"); |
|
||||||
|
|
||||||
Source Location: (884:22,51 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (884:22,51 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| await Foo.Bar(1, 2) |
|
| await Foo.Bar(1, 2) |
|
||||||
Generated Location: (2408:63,51 [21] )
|
Generated Location: (2484:65,51 [21] )
|
||||||
| await Foo.Bar(1, 2) |
|
| await Foo.Bar(1, 2) |
|
||||||
|
|
||||||
Source Location: (961:23,49 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (961:23,49 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (2523:67,61 [1] )
|
Generated Location: (2599:69,61 [1] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (966:23,54 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (966:23,54 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await Foo(boolValue: false)|
|
|await Foo(boolValue: false)|
|
||||||
Generated Location: (2662:69,54 [27] )
|
Generated Location: (2738:71,54 [27] )
|
||||||
|await Foo(boolValue: false)|
|
|await Foo(boolValue: false)|
|
||||||
|
|
||||||
Source Location: (997:23,85 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (997:23,85 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (2820:73,97 [1] )
|
Generated Location: (2896:75,97 [1] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (1057:24,52 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
Source Location: (1057:24,52 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
||||||
|await ("wrrronggg")|
|
|await ("wrrronggg")|
|
||||||
Generated Location: (2957:75,52 [19] )
|
Generated Location: (3033:77,52 [19] )
|
||||||
|await ("wrrronggg")|
|
|await ("wrrronggg")|
|
||||||
|
|
||||||
Source Location: (12:0,12 [76] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Await.cshtml)
|
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";
|
return "Bar";
|
||||||
}
|
}
|
||||||
|
|
|
|
||||||
Generated Location: (3152:82,12 [76] )
|
Generated Location: (3228:84,12 [76] )
|
||||||
|
|
|
|
||||||
public async Task<string> Foo()
|
public async Task<string> Foo()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,9 @@ using System.Text;
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,12 @@ Document -
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_DesignTime - Hello -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_DesignTime - Hello -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (69:2,10 [5] BasicImports_Imports0.cshtml) - Hello
|
DirectiveToken - (69:2,10 [5] BasicImports_Imports0.cshtml) - Hello
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (0:0,0 [18] BasicImports.cshtml)
|
HtmlContent - (0:0,0 [18] BasicImports.cshtml)
|
||||||
IntermediateToken - (0:0,0 [3] BasicImports.cshtml) - Html - <p>
|
IntermediateToken - (0:0,0 [3] BasicImports.cshtml) - Html - <p>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,9 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,12 @@ Document -
|
||||||
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (14:0,14 [17] BasicTagHelpers.cshtml) - "*, TestAssembly"
|
DirectiveToken - (14:0,14 [17] BasicTagHelpers.cshtml) - "*, TestAssembly"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (31:0,31 [73] BasicTagHelpers.cshtml)
|
HtmlContent - (31:0,31 [73] BasicTagHelpers.cshtml)
|
||||||
IntermediateToken - (31:0,31 [4] BasicTagHelpers.cshtml) - Html - \n\n
|
IntermediateToken - (31:0,31 [4] BasicTagHelpers.cshtml) - Html - \n\n
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ Generated Location: (673:13,37 [17] )
|
||||||
|
|
||||||
Source Location: (220:5,38 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
Source Location: (220:5,38 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
||||||
|ViewBag.DefaultInterval|
|
|ViewBag.DefaultInterval|
|
||||||
Generated Location: (1363:26,38 [23] )
|
Generated Location: (1439:28,38 [23] )
|
||||||
|ViewBag.DefaultInterval|
|
|ViewBag.DefaultInterval|
|
||||||
|
|
||||||
Source Location: (303:6,40 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
Source Location: (303:6,40 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (2061:37,42 [4] )
|
Generated Location: (2137:39,42 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,9 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,12 @@ Document -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (17:0,17 [5] BasicTagHelpers_Prefixed.cshtml) - "THS"
|
DirectiveToken - (17:0,17 [5] BasicTagHelpers_Prefixed.cshtml) - "THS"
|
||||||
DirectiveToken - (38:1,14 [17] BasicTagHelpers_Prefixed.cshtml) - "*, TestAssembly"
|
DirectiveToken - (38:1,14 [17] BasicTagHelpers_Prefixed.cshtml) - "*, TestAssembly"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (22:0,22 [2] BasicTagHelpers_Prefixed.cshtml)
|
HtmlContent - (22:0,22 [2] BasicTagHelpers_Prefixed.cshtml)
|
||||||
IntermediateToken - (22:0,22 [2] BasicTagHelpers_Prefixed.cshtml) - Html - \n
|
IntermediateToken - (22:0,22 [2] BasicTagHelpers_Prefixed.cshtml) - Html - \n
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@ Generated Location: (787:17,37 [17] )
|
||||||
|
|
||||||
Source Location: (226:7,43 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml)
|
Source Location: (226:7,43 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (1548:31,43 [4] )
|
Generated Location: (1624:33,43 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("Hello World"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("Hello World"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("Hello World"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("Hello World"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("Hello World"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("Hello World"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-delay", new global::Microsoft.AspNetCore.Html.HtmlString("1000"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-delay", new global::Microsoft.AspNetCore.Html.HtmlString("1000"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Blocks_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Blocks_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode - (2:0,2 [18] Blocks.cshtml)
|
CSharpCode - (2:0,2 [18] Blocks.cshtml)
|
||||||
IntermediateToken - (2:0,2 [18] Blocks.cshtml) - CSharp - \n int i = 1;\n
|
IntermediateToken - (2:0,2 [18] Blocks.cshtml) - CSharp - \n int i = 1;\n
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ Source Location: (2:0,2 [18] TestFiles/IntegrationTests/CodeGenerationIntegratio
|
||||||
|
|
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
|
|
|
||||||
Generated Location: (637:16,2 [18] )
|
Generated Location: (713:18,2 [18] )
|
||||||
|
|
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
|
|
|
||||||
|
|
@ -10,20 +10,20 @@ Generated Location: (637:16,2 [18] )
|
||||||
Source Location: (26:4,1 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (26:4,1 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|while(i <= 10) {
|
|while(i <= 10) {
|
||||||
|
|
|
|
||||||
Generated Location: (769:22,1 [22] )
|
Generated Location: (845:24,1 [22] )
|
||||||
|while(i <= 10) {
|
|while(i <= 10) {
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (69:5,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (69:5,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|i|
|
|i|
|
||||||
Generated Location: (931:28,25 [1] )
|
Generated Location: (1007:30,25 [1] )
|
||||||
|i|
|
|i|
|
||||||
|
|
||||||
Source Location: (75:5,31 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (75:5,31 [16] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|
|
|
|
||||||
i += 1;
|
i += 1;
|
||||||
}|
|
}|
|
||||||
Generated Location: (1079:33,31 [16] )
|
Generated Location: (1155:35,31 [16] )
|
||||||
|
|
|
|
||||||
i += 1;
|
i += 1;
|
||||||
}|
|
}|
|
||||||
|
|
@ -31,14 +31,14 @@ Generated Location: (1079:33,31 [16] )
|
||||||
Source Location: (96:9,1 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (96:9,1 [19] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|if(i == 11) {
|
|if(i == 11) {
|
||||||
|
|
|
|
||||||
Generated Location: (1212:40,1 [19] )
|
Generated Location: (1288:42,1 [19] )
|
||||||
|if(i == 11) {
|
|if(i == 11) {
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (140:10,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (140:10,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (1376:46,29 [3] )
|
Generated Location: (1452:48,29 [3] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
|
|
@ -46,7 +46,7 @@ Source Location: (148:13,1 [35] TestFiles/IntegrationTests/CodeGenerationIntegra
|
||||||
|switch(i) {
|
|switch(i) {
|
||||||
case 11:
|
case 11:
|
||||||
|
|
|
|
||||||
Generated Location: (1496:52,1 [35] )
|
Generated Location: (1572:54,1 [35] )
|
||||||
|switch(i) {
|
|switch(i) {
|
||||||
case 11:
|
case 11:
|
||||||
|
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ Source Location: (219:15,44 [40] TestFiles/IntegrationTests/CodeGenerationIntegr
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
|
||||||
Generated Location: (1691:59,44 [40] )
|
Generated Location: (1767:61,44 [40] )
|
||||||
|
|
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
@ -66,7 +66,7 @@ Source Location: (288:18,37 [19] TestFiles/IntegrationTests/CodeGenerationIntegr
|
||||||
|
|
|
|
||||||
break;
|
break;
|
||||||
}|
|
}|
|
||||||
Generated Location: (1884:67,37 [19] )
|
Generated Location: (1960:69,37 [19] )
|
||||||
|
|
|
|
||||||
break;
|
break;
|
||||||
}|
|
}|
|
||||||
|
|
@ -74,26 +74,26 @@ Generated Location: (1884:67,37 [19] )
|
||||||
Source Location: (312:22,1 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (312:22,1 [39] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|for(int j = 1; j <= 10; j += 2) {
|
|for(int j = 1; j <= 10; j += 2) {
|
||||||
|
|
|
|
||||||
Generated Location: (2020:74,1 [39] )
|
Generated Location: (2096:76,1 [39] )
|
||||||
|for(int j = 1; j <= 10; j += 2) {
|
|for(int j = 1; j <= 10; j += 2) {
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (378:23,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (378:23,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|j|
|
|j|
|
||||||
Generated Location: (2206:80,31 [1] )
|
Generated Location: (2282:82,31 [1] )
|
||||||
|j|
|
|j|
|
||||||
|
|
||||||
Source Location: (384:23,37 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (384:23,37 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (2361:85,37 [3] )
|
Generated Location: (2437:87,37 [3] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
Source Location: (392:26,1 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (392:26,1 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|try {
|
|try {
|
||||||
|
|
|
|
||||||
Generated Location: (2481:91,1 [11] )
|
Generated Location: (2557:93,1 [11] )
|
||||||
|try {
|
|try {
|
||||||
|
|
|
|
||||||
|
|
||||||
|
|
@ -101,39 +101,39 @@ Source Location: (438:27,39 [31] TestFiles/IntegrationTests/CodeGenerationIntegr
|
||||||
|
|
|
|
||||||
} catch(Exception ex) {
|
} catch(Exception ex) {
|
||||||
|
|
|
|
||||||
Generated Location: (2647:97,39 [31] )
|
Generated Location: (2723:99,39 [31] )
|
||||||
|
|
|
|
||||||
} catch(Exception ex) {
|
} catch(Exception ex) {
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (500:29,35 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (500:29,35 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|ex.Message|
|
|ex.Message|
|
||||||
Generated Location: (2829:104,35 [10] )
|
Generated Location: (2905:106,35 [10] )
|
||||||
|ex.Message|
|
|ex.Message|
|
||||||
|
|
||||||
Source Location: (515:29,50 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (515:29,50 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (3006:109,50 [3] )
|
Generated Location: (3082:111,50 [3] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
Source Location: (535:32,13 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (535:32,13 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|i|
|
|i|
|
||||||
Generated Location: (3138:115,13 [1] )
|
Generated Location: (3214:117,13 [1] )
|
||||||
|i|
|
|i|
|
||||||
|
|
||||||
Source Location: (545:34,1 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (545:34,1 [26] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|lock(new object()) {
|
|lock(new object()) {
|
||||||
|
|
|
|
||||||
Generated Location: (3257:120,1 [26] )
|
Generated Location: (3333:122,1 [26] )
|
||||||
|lock(new object()) {
|
|lock(new object()) {
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (618:35,51 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
Source Location: (618:35,51 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Blocks.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (3450:126,51 [3] )
|
Generated Location: (3526:128,51 [3] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CSharp7_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CSharp7_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (0:0,0 [12] CSharp7.cshtml)
|
HtmlContent - (0:0,0 [12] CSharp7.cshtml)
|
||||||
IntermediateToken - (0:0,0 [6] CSharp7.cshtml) - Html - <body>
|
IntermediateToken - (0:0,0 [6] CSharp7.cshtml) - Html - <body>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ Source Location: (14:1,6 [187] TestFiles/IntegrationTests/CodeGenerationIntegrat
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
|
||||||
Generated Location: (643:16,6 [187] )
|
Generated Location: (719:18,6 [187] )
|
||||||
|
|
|
|
||||||
var nameLookup = new Dictionary<string, (string FirstName, string LastName, object Extra)>()
|
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;
|
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;
|
decimal GoldenRatio = 1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M;
|
||||||
|
|
|
|
||||||
Generated Location: (999:27,53 [253] )
|
Generated Location: (1075:29,53 [253] )
|
||||||
|
|
|
|
||||||
|
|
||||||
int Sixteen = 0b0001_0000;
|
int Sixteen = 0b0001_0000;
|
||||||
|
|
@ -40,7 +40,7 @@ Source Location: (509:15,5 [159] TestFiles/IntegrationTests/CodeGenerationIntegr
|
||||||
// Do Something
|
// Do Something
|
||||||
}
|
}
|
||||||
}|
|
}|
|
||||||
Generated Location: (1374:38,5 [159] )
|
Generated Location: (1450:40,5 [159] )
|
||||||
|if (nameLookup.TryGetValue("John Doe", out var entry))
|
|if (nameLookup.TryGetValue("John Doe", out var entry))
|
||||||
{
|
{
|
||||||
if (entry.Extra is bool alive)
|
if (entry.Extra is bool alive)
|
||||||
|
|
@ -51,12 +51,12 @@ Generated Location: (1374:38,5 [159] )
|
||||||
|
|
||||||
Source Location: (718:23,39 [62] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml)
|
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|
|
|1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M|
|
||||||
Generated Location: (1689:49,39 [62] )
|
Generated Location: (1765:51,39 [62] )
|
||||||
|1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M|
|
|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)
|
Source Location: (816:27,10 [34] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml)
|
||||||
|(First: "John", Last: "Doe").First|
|
|(First: "John", Last: "Doe").First|
|
||||||
Generated Location: (1879:54,10 [34] )
|
Generated Location: (1955:56,10 [34] )
|
||||||
|(First: "John", Last: "Doe").First|
|
|(First: "John", Last: "Doe").First|
|
||||||
|
|
||||||
Source Location: (891:30,5 [291] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CSharp7.cshtml)
|
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
|
// Do even more of something
|
||||||
break;
|
break;
|
||||||
}|
|
}|
|
||||||
Generated Location: (2036:59,5 [291] )
|
Generated Location: (2112:61,5 [291] )
|
||||||
|switch (entry.Extra)
|
|switch (entry.Extra)
|
||||||
{
|
{
|
||||||
case int age:
|
case int age:
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockAtEOF_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockAtEOF_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode - (2:0,2 [0] CodeBlockAtEOF.cshtml)
|
CSharpCode - (2:0,2 [0] CodeBlockAtEOF.cshtml)
|
||||||
IntermediateToken - (2:0,2 [0] CodeBlockAtEOF.cshtml) - CSharp -
|
IntermediateToken - (2:0,2 [0] CodeBlockAtEOF.cshtml) - CSharp -
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
Source Location: (2:0,2 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockAtEOF.cshtml)
|
Source Location: (2:0,2 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockAtEOF.cshtml)
|
||||||
||
|
||
|
||||||
Generated Location: (575:15,14 [0] )
|
Generated Location: (651:17,14 [0] )
|
||||||
||
|
||
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockWithTextElement_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockWithTextElement_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode - (2:0,2 [17] CodeBlockWithTextElement.cshtml)
|
CSharpCode - (2:0,2 [17] CodeBlockWithTextElement.cshtml)
|
||||||
IntermediateToken - (2:0,2 [17] CodeBlockWithTextElement.cshtml) - CSharp - \n var a = 1;
|
IntermediateToken - (2:0,2 [17] CodeBlockWithTextElement.cshtml) - CSharp - \n var a = 1;
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,26 @@
|
||||||
Source Location: (2:0,2 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
Source Location: (2:0,2 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||||
|
|
|
|
||||||
var a = 1; |
|
var a = 1; |
|
||||||
Generated Location: (673:16,2 [17] )
|
Generated Location: (749:18,2 [17] )
|
||||||
|
|
|
|
||||||
var a = 1; |
|
var a = 1; |
|
||||||
|
|
||||||
Source Location: (35:1,31 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
Source Location: (35:1,31 [22] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||||
|
|
|
|
||||||
var b = 1; |
|
var b = 1; |
|
||||||
Generated Location: (854:22,31 [22] )
|
Generated Location: (930:24,31 [22] )
|
||||||
|
|
|
|
||||||
var b = 1; |
|
var b = 1; |
|
||||||
|
|
||||||
Source Location: (69:2,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
Source Location: (69:2,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||||
|a+b|
|
|a+b|
|
||||||
Generated Location: (1047:28,38 [3] )
|
Generated Location: (1123:30,38 [3] )
|
||||||
|a+b|
|
|a+b|
|
||||||
|
|
||||||
Source Location: (80:2,40 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
Source Location: (80:2,40 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlockWithTextElement.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (1145:32,61 [2] )
|
Generated Location: (1221:34,61 [2] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlock_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlock_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode - (2:0,2 [115] CodeBlock.cshtml)
|
CSharpCode - (2:0,2 [115] CodeBlock.cshtml)
|
||||||
IntermediateToken - (2:0,2 [115] CodeBlock.cshtml) - CSharp - \n for(int i = 1; i <= 10; i++) {\n Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");\n }\n
|
IntermediateToken - (2:0,2 [115] CodeBlock.cshtml) - CSharp - \n for(int i = 1; i <= 10; i++) {\n Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");\n }\n
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ Source Location: (2:0,2 [115] TestFiles/IntegrationTests/CodeGenerationIntegrati
|
||||||
Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");
|
Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");
|
||||||
}
|
}
|
||||||
|
|
|
|
||||||
Generated Location: (643:16,2 [115] )
|
Generated Location: (719:18,2 [115] )
|
||||||
|
|
|
|
||||||
for(int i = 1; i <= 10; i++) {
|
for(int i = 1; i <= 10; i++) {
|
||||||
Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");
|
Output.Write("<p>Hello from C#, #" + i.ToString() + "</p>");
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,9 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,12 @@ Document -
|
||||||
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (14:0,14 [17] ComplexTagHelpers.cshtml) - "*, TestAssembly"
|
DirectiveToken - (14:0,14 [17] ComplexTagHelpers.cshtml) - "*, TestAssembly"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (31:0,31 [4] ComplexTagHelpers.cshtml)
|
HtmlContent - (31:0,31 [4] ComplexTagHelpers.cshtml)
|
||||||
IntermediateToken - (31:0,31 [4] ComplexTagHelpers.cshtml) - Html - \n\n
|
IntermediateToken - (31:0,31 [4] ComplexTagHelpers.cshtml) - Html - \n\n
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Source Location: (36:2,1 [52] TestFiles/IntegrationTests/CodeGenerationIntegrati
|
||||||
var checkbox = "checkbox";
|
var checkbox = "checkbox";
|
||||||
|
|
||||||
|
|
|
|
||||||
Generated Location: (1027:23,1 [52] )
|
Generated Location: (1103:25,1 [52] )
|
||||||
|if (true)
|
|if (true)
|
||||||
{
|
{
|
||||||
var checkbox = "checkbox";
|
var checkbox = "checkbox";
|
||||||
|
|
@ -18,39 +18,39 @@ Generated Location: (1027:23,1 [52] )
|
||||||
|
|
||||||
Source Location: (147:7,16 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (147:7,16 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|@|
|
|@|
|
||||||
Generated Location: (1333:33,33 [1] )
|
Generated Location: (1409:35,33 [1] )
|
||||||
|@|
|
|@|
|
||||||
|
|
||||||
Source Location: (149:7,18 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (149:7,18 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
||
|
||
|
||||||
Generated Location: (1334:33,34 [0] )
|
Generated Location: (1410:35,34 [0] )
|
||||||
||
|
||
|
||||||
|
|
||||||
Source Location: (149:7,18 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (149:7,18 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|@|
|
|@|
|
||||||
Generated Location: (1334:33,34 [1] )
|
Generated Location: (1410:35,34 [1] )
|
||||||
|@|
|
|@|
|
||||||
|
|
||||||
Source Location: (150:7,19 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (150:7,19 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|(|
|
|(|
|
||||||
Generated Location: (1335:33,35 [1] )
|
Generated Location: (1411:35,35 [1] )
|
||||||
|(|
|
|(|
|
||||||
|
|
||||||
Source Location: (151:7,20 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (151:7,20 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|1+2|
|
|1+2|
|
||||||
Generated Location: (1336:33,36 [3] )
|
Generated Location: (1412:35,36 [3] )
|
||||||
|1+2|
|
|1+2|
|
||||||
|
|
||||||
Source Location: (154:7,23 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (154:7,23 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (1339:33,39 [1] )
|
Generated Location: (1415:35,39 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (273:10,13 [43] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (273:10,13 [43] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|if (false)
|
|if (false)
|
||||||
{
|
{
|
||||||
|
|
|
|
||||||
Generated Location: (1481:38,13 [43] )
|
Generated Location: (1557:40,13 [43] )
|
||||||
|if (false)
|
|if (false)
|
||||||
{
|
{
|
||||||
|
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ Source Location: (399:12,99 [66] TestFiles/IntegrationTests/CodeGenerationIntegr
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
|
||||||
Generated Location: (2201:50,99 [66] )
|
Generated Location: (2277:52,99 [66] )
|
||||||
|
|
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -70,224 +70,224 @@ Generated Location: (2201:50,99 [66] )
|
||||||
|
|
||||||
Source Location: (495:16,46 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (495:16,46 [8] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|checkbox|
|
|checkbox|
|
||||||
Generated Location: (2648:61,46 [8] )
|
Generated Location: (2724:63,46 [8] )
|
||||||
|checkbox|
|
|checkbox|
|
||||||
|
|
||||||
Source Location: (512:16,63 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (512:16,63 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (3001:68,63 [4] )
|
Generated Location: (3077:70,63 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
Source Location: (523:16,74 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (523:16,74 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (3220:73,86 [18] )
|
Generated Location: (3296:75,86 [18] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (556:17,31 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (556:17,31 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|true ? "checkbox" : "anything"|
|
|true ? "checkbox" : "anything"|
|
||||||
Generated Location: (3573:78,31 [30] )
|
Generated Location: (3649:80,31 [30] )
|
||||||
|true ? "checkbox" : "anything"|
|
|true ? "checkbox" : "anything"|
|
||||||
|
|
||||||
Source Location: (591:17,66 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (591:17,66 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (3869:84,78 [18] )
|
Generated Location: (3945:86,78 [18] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (623:18,30 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (623:18,30 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|if(true) { |
|
|if(true) { |
|
||||||
Generated Location: (4221:89,30 [11] )
|
Generated Location: (4297:91,30 [11] )
|
||||||
|if(true) { |
|
|if(true) { |
|
||||||
|
|
||||||
Source Location: (655:18,62 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (655:18,62 [10] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| } else { |
|
| } else { |
|
||||||
Generated Location: (4421:94,62 [10] )
|
Generated Location: (4497:96,62 [10] )
|
||||||
| } else { |
|
| } else { |
|
||||||
|
|
||||||
Source Location: (686:18,93 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (686:18,93 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| }|
|
| }|
|
||||||
Generated Location: (4651:99,93 [2] )
|
Generated Location: (4727:101,93 [2] )
|
||||||
| }|
|
| }|
|
||||||
|
|
||||||
Source Location: (690:18,97 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (690:18,97 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (5031:106,97 [15] )
|
Generated Location: (5107:108,97 [15] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
Source Location: (212:8,32 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (212:8,32 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|DateTime.Now|
|
|DateTime.Now|
|
||||||
Generated Location: (5299:113,32 [12] )
|
Generated Location: (5375:115,32 [12] )
|
||||||
|DateTime.Now|
|
|DateTime.Now|
|
||||||
|
|
||||||
Source Location: (832:22,14 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (832:22,14 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| var @object = false;|
|
| var @object = false;|
|
||||||
Generated Location: (5453:118,14 [21] )
|
Generated Location: (5529:120,14 [21] )
|
||||||
| var @object = false;|
|
| var @object = false;|
|
||||||
|
|
||||||
Source Location: (885:23,29 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (885:23,29 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|(|
|
|(|
|
||||||
Generated Location: (5851:125,42 [1] )
|
Generated Location: (5927:127,42 [1] )
|
||||||
|(|
|
|(|
|
||||||
|
|
||||||
Source Location: (886:23,30 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (886:23,30 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|@object|
|
|@object|
|
||||||
Generated Location: (5852:125,43 [7] )
|
Generated Location: (5928:127,43 [7] )
|
||||||
|@object|
|
|@object|
|
||||||
|
|
||||||
Source Location: (893:23,37 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (893:23,37 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (5859:125,50 [1] )
|
Generated Location: (5935:127,50 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (760:21,39 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (760:21,39 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|DateTimeOffset.Now.Year|
|
|DateTimeOffset.Now.Year|
|
||||||
Generated Location: (6121:131,38 [23] )
|
Generated Location: (6197:133,38 [23] )
|
||||||
|DateTimeOffset.Now.Year|
|
|DateTimeOffset.Now.Year|
|
||||||
|
|
||||||
Source Location: (783:21,62 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (783:21,62 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| -|
|
| -|
|
||||||
Generated Location: (6144:131,61 [2] )
|
Generated Location: (6220:133,61 [2] )
|
||||||
| -|
|
| -|
|
||||||
|
|
||||||
Source Location: (785:21,64 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (785:21,64 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| 1970|
|
| 1970|
|
||||||
Generated Location: (6146:131,63 [5] )
|
Generated Location: (6222:133,63 [5] )
|
||||||
| 1970|
|
| 1970|
|
||||||
|
|
||||||
Source Location: (1025:26,61 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1025:26,61 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|(|
|
|(|
|
||||||
Generated Location: (6547:138,60 [1] )
|
Generated Location: (6623:140,60 [1] )
|
||||||
|(|
|
|(|
|
||||||
|
|
||||||
Source Location: (1026:26,62 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1026:26,62 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|DateTimeOffset.Now.Year > 2014|
|
|DateTimeOffset.Now.Year > 2014|
|
||||||
Generated Location: (6548:138,61 [30] )
|
Generated Location: (6624:140,61 [30] )
|
||||||
|DateTimeOffset.Now.Year > 2014|
|
|DateTimeOffset.Now.Year > 2014|
|
||||||
|
|
||||||
Source Location: (1056:26,92 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1056:26,92 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (6578:138,91 [1] )
|
Generated Location: (6654:140,91 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (928:25,16 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (928:25,16 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|-1970|
|
|-1970|
|
||||||
Generated Location: (6835:144,33 [5] )
|
Generated Location: (6911:146,33 [5] )
|
||||||
|-1970|
|
|-1970|
|
||||||
|
|
||||||
Source Location: (933:25,21 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (933:25,21 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| +|
|
| +|
|
||||||
Generated Location: (6840:144,38 [2] )
|
Generated Location: (6916:146,38 [2] )
|
||||||
| +|
|
| +|
|
||||||
|
|
||||||
Source Location: (935:25,23 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (935:25,23 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (6842:144,40 [1] )
|
Generated Location: (6918:146,40 [1] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (936:25,24 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (936:25,24 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|@|
|
|@|
|
||||||
Generated Location: (6843:144,41 [1] )
|
Generated Location: (6919:146,41 [1] )
|
||||||
|@|
|
|@|
|
||||||
|
|
||||||
Source Location: (937:25,25 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (937:25,25 [23] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|DateTimeOffset.Now.Year|
|
|DateTimeOffset.Now.Year|
|
||||||
Generated Location: (6844:144,42 [23] )
|
Generated Location: (6920:146,42 [23] )
|
||||||
|DateTimeOffset.Now.Year|
|
|DateTimeOffset.Now.Year|
|
||||||
|
|
||||||
Source Location: (1155:29,28 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1155:29,28 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|DateTimeOffset.Now.Year > 2014|
|
|DateTimeOffset.Now.Year > 2014|
|
||||||
Generated Location: (7245:151,42 [30] )
|
Generated Location: (7321:153,42 [30] )
|
||||||
|DateTimeOffset.Now.Year > 2014|
|
|DateTimeOffset.Now.Year > 2014|
|
||||||
|
|
||||||
Source Location: (1093:28,16 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1093:28,16 [30] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|DateTimeOffset.Now.Year - 1970|
|
|DateTimeOffset.Now.Year - 1970|
|
||||||
Generated Location: (7531:157,33 [30] )
|
Generated Location: (7607:159,33 [30] )
|
||||||
|DateTimeOffset.Now.Year - 1970|
|
|DateTimeOffset.Now.Year - 1970|
|
||||||
|
|
||||||
Source Location: (1283:32,28 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1283:32,28 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (7939:164,42 [3] )
|
Generated Location: (8015:166,42 [3] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (1286:32,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1286:32,31 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|@|
|
|@|
|
||||||
Generated Location: (7942:164,45 [1] )
|
Generated Location: (8018:166,45 [1] )
|
||||||
|@|
|
|@|
|
||||||
|
|
||||||
Source Location: (1287:32,32 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1287:32,32 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|(|
|
|(|
|
||||||
Generated Location: (7943:164,46 [1] )
|
Generated Location: (8019:166,46 [1] )
|
||||||
|(|
|
|(|
|
||||||
|
|
||||||
Source Location: (1288:32,33 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1288:32,33 [27] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| DateTimeOffset.Now.Year |
|
| DateTimeOffset.Now.Year |
|
||||||
Generated Location: (7944:164,47 [27] )
|
Generated Location: (8020:166,47 [27] )
|
||||||
| DateTimeOffset.Now.Year |
|
| DateTimeOffset.Now.Year |
|
||||||
|
|
||||||
Source Location: (1315:32,60 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1315:32,60 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (7971:164,74 [1] )
|
Generated Location: (8047:166,74 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (1316:32,61 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1316:32,61 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| >|
|
| >|
|
||||||
Generated Location: (7972:164,75 [2] )
|
Generated Location: (8048:166,75 [2] )
|
||||||
| >|
|
| >|
|
||||||
|
|
||||||
Source Location: (1318:32,63 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1318:32,63 [5] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| 2014|
|
| 2014|
|
||||||
Generated Location: (7974:164,77 [5] )
|
Generated Location: (8050:166,77 [5] )
|
||||||
| 2014|
|
| 2014|
|
||||||
|
|
||||||
Source Location: (1323:32,68 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1323:32,68 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
| |
|
| |
|
||||||
Generated Location: (7979:164,82 [3] )
|
Generated Location: (8055:166,82 [3] )
|
||||||
| |
|
| |
|
||||||
|
|
||||||
Source Location: (1220:31,17 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1220:31,17 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|(|
|
|(|
|
||||||
Generated Location: (8238:170,33 [1] )
|
Generated Location: (8314:172,33 [1] )
|
||||||
|(|
|
|(|
|
||||||
|
|
||||||
Source Location: (1221:31,18 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1221:31,18 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|"My age is this long.".Length|
|
|"My age is this long.".Length|
|
||||||
Generated Location: (8239:170,34 [29] )
|
Generated Location: (8315:172,34 [29] )
|
||||||
|"My age is this long.".Length|
|
|"My age is this long.".Length|
|
||||||
|
|
||||||
Source Location: (1250:31,47 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1250:31,47 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (8268:170,63 [1] )
|
Generated Location: (8344:172,63 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (1355:34,9 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1355:34,9 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|someMethod(|
|
|someMethod(|
|
||||||
Generated Location: (8406:175,9 [11] )
|
Generated Location: (8482:177,9 [11] )
|
||||||
|someMethod(|
|
|someMethod(|
|
||||||
|
|
||||||
Source Location: (1410:34,64 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1410:34,64 [7] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|checked|
|
|checked|
|
||||||
Generated Location: (8824:179,63 [7] )
|
Generated Location: (8900:181,63 [7] )
|
||||||
|checked|
|
|checked|
|
||||||
|
|
||||||
Source Location: (1375:34,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1375:34,29 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|123|
|
|123|
|
||||||
Generated Location: (9079:185,33 [3] )
|
Generated Location: (9155:187,33 [3] )
|
||||||
|123|
|
|123|
|
||||||
|
|
||||||
Source Location: (1424:34,78 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1424:34,78 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (9120:190,1 [1] )
|
Generated Location: (9196:192,1 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (1437:35,10 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
Source Location: (1437:35,10 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ComplexTagHelpers.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (9259:195,10 [3] )
|
Generated Location: (9335:197,10 [3] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("unbound", new global::Microsoft.AspNetCore.Html.HtmlString("world"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("unbound", new global::Microsoft.AspNetCore.Html.HtmlString("world"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("hello"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("hello"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private void __RazorDirectiveTokenHelpers__() {
|
private void __RazorDirectiveTokenHelpers__() {
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,12 @@ Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ConditionalAttributes_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ConditionalAttributes_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode - (2:0,2 [48] ConditionalAttributes.cshtml)
|
CSharpCode - (2:0,2 [48] ConditionalAttributes.cshtml)
|
||||||
IntermediateToken - (2:0,2 [48] ConditionalAttributes.cshtml) - CSharp - \n var ch = true;\n var cls = "bar";\n
|
IntermediateToken - (2:0,2 [48] ConditionalAttributes.cshtml) - CSharp - \n var ch = true;\n var cls = "bar";\n
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ Source Location: (2:0,2 [48] TestFiles/IntegrationTests/CodeGenerationIntegratio
|
||||||
var ch = true;
|
var ch = true;
|
||||||
var cls = "bar";
|
var cls = "bar";
|
||||||
|
|
|
|
||||||
Generated Location: (667:16,2 [48] )
|
Generated Location: (743:18,2 [48] )
|
||||||
|
|
|
|
||||||
var ch = true;
|
var ch = true;
|
||||||
var cls = "bar";
|
var cls = "bar";
|
||||||
|
|
@ -12,127 +12,127 @@ Generated Location: (667:16,2 [48] )
|
||||||
Source Location: (66:3,20 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (66:3,20 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (780:23,32 [6] )
|
Generated Location: (856:25,32 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (83:4,15 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (83:4,15 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|cls|
|
|cls|
|
||||||
Generated Location: (900:26,15 [3] )
|
Generated Location: (976:28,15 [3] )
|
||||||
|cls|
|
|cls|
|
||||||
|
|
||||||
Source Location: (90:4,22 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (90:4,22 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (971:30,34 [6] )
|
Generated Location: (1047:32,34 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (111:5,19 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (111:5,19 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|cls|
|
|cls|
|
||||||
Generated Location: (1095:33,19 [3] )
|
Generated Location: (1171:35,19 [3] )
|
||||||
|cls|
|
|cls|
|
||||||
|
|
||||||
Source Location: (118:5,26 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (118:5,26 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (1170:37,38 [6] )
|
Generated Location: (1246:39,38 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (135:6,15 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (135:6,15 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|cls|
|
|cls|
|
||||||
Generated Location: (1290:40,15 [3] )
|
Generated Location: (1366:42,15 [3] )
|
||||||
|cls|
|
|cls|
|
||||||
|
|
||||||
Source Location: (146:6,26 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (146:6,26 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (1365:44,38 [6] )
|
Generated Location: (1441:46,38 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (185:7,37 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (185:7,37 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|ch|
|
|ch|
|
||||||
Generated Location: (1507:47,37 [2] )
|
Generated Location: (1583:49,37 [2] )
|
||||||
|ch|
|
|ch|
|
||||||
|
|
||||||
Source Location: (191:7,43 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (191:7,43 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (1598:51,55 [6] )
|
Generated Location: (1674:53,55 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (234:8,41 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (234:8,41 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|ch|
|
|ch|
|
||||||
Generated Location: (1744:54,41 [2] )
|
Generated Location: (1820:56,41 [2] )
|
||||||
|ch|
|
|ch|
|
||||||
|
|
||||||
Source Location: (240:8,47 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (240:8,47 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (1839:58,59 [6] )
|
Generated Location: (1915:60,59 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (257:9,15 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (257:9,15 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|if(cls != null) { |
|
|if(cls != null) { |
|
||||||
Generated Location: (1960:61,15 [18] )
|
Generated Location: (2036:63,15 [18] )
|
||||||
|if(cls != null) { |
|
|if(cls != null) { |
|
||||||
|
|
||||||
Source Location: (276:9,34 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (276:9,34 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|cls|
|
|cls|
|
||||||
Generated Location: (2143:66,34 [3] )
|
Generated Location: (2219:68,34 [3] )
|
||||||
|cls|
|
|cls|
|
||||||
|
|
||||||
Source Location: (279:9,37 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (279:9,37 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
| }|
|
| }|
|
||||||
Generated Location: (2315:71,37 [2] )
|
Generated Location: (2391:73,37 [2] )
|
||||||
| }|
|
| }|
|
||||||
|
|
||||||
Source Location: (285:9,43 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (285:9,43 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (2405:75,55 [6] )
|
Generated Location: (2481:77,55 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (309:10,22 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (309:10,22 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (2447:77,34 [6] )
|
Generated Location: (2523:79,34 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (329:11,18 [44] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (329:11,18 [44] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|Url.Content("~/Scripts/jquery-1.6.2.min.js")|
|
|Url.Content("~/Scripts/jquery-1.6.2.min.js")|
|
||||||
Generated Location: (2571:80,18 [44] )
|
Generated Location: (2647:82,18 [44] )
|
||||||
|Url.Content("~/Scripts/jquery-1.6.2.min.js")|
|
|Url.Content("~/Scripts/jquery-1.6.2.min.js")|
|
||||||
|
|
||||||
Source Location: (407:11,96 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (407:11,96 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (2757:84,108 [6] )
|
Generated Location: (2833:86,108 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (427:12,18 [60] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (427:12,18 [60] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")|
|
|Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")|
|
||||||
Generated Location: (2881:87,18 [60] )
|
Generated Location: (2957:89,18 [60] )
|
||||||
|Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")|
|
|Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")|
|
||||||
|
|
||||||
Source Location: (521:12,112 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (521:12,112 [6] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (3099:91,124 [6] )
|
Generated Location: (3175:93,124 [6] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (638:13,115 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
Source Location: (638:13,115 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/ConditionalAttributes.cshtml)
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
Generated Location: (3234:93,127 [2] )
|
Generated Location: (3310:95,127 [2] )
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,9 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", "checkbox", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_8 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("value", new global::Microsoft.AspNetCore.Html.HtmlString("2 TagHelper"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_8 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("value", new global::Microsoft.AspNetCore.Html.HtmlString("2 TagHelper"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
|
||||||
#line hidden
|
#line hidden
|
||||||
#pragma warning disable 0414
|
#pragma warning disable 0169
|
||||||
private string __tagHelperStringValueBuffer;
|
private string __tagHelperStringValueBuffer;
|
||||||
#pragma warning restore 0414
|
#pragma warning restore 0169
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
|
||||||
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,9 @@ global::System.Object Footer = null;
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,12 @@ Document -
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DesignTime_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DesignTime_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (173:11,9 [6] DesignTime.cshtml) - Footer
|
DirectiveToken - (173:11,9 [6] DesignTime.cshtml) - Footer
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (0:0,0 [19] DesignTime.cshtml)
|
HtmlContent - (0:0,0 [19] DesignTime.cshtml)
|
||||||
IntermediateToken - (0:0,0 [5] DesignTime.cshtml) - Html - <div>
|
IntermediateToken - (0:0,0 [5] DesignTime.cshtml) - Html - <div>
|
||||||
|
|
|
||||||
|
|
@ -6,44 +6,44 @@ Generated Location: (401:10,22 [6] )
|
||||||
Source Location: (20:1,13 [36] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (20:1,13 [36] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|for(int i = 1; i <= 10; i++) {
|
|for(int i = 1; i <= 10; i++) {
|
||||||
|
|
|
|
||||||
Generated Location: (754:20,13 [36] )
|
Generated Location: (830:22,13 [36] )
|
||||||
|for(int i = 1; i <= 10; i++) {
|
|for(int i = 1; i <= 10; i++) {
|
||||||
|
|
|
|
||||||
|
|
||||||
Source Location: (74:2,22 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (74:2,22 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|i|
|
|i|
|
||||||
Generated Location: (931:26,22 [1] )
|
Generated Location: (1007:28,22 [1] )
|
||||||
|i|
|
|i|
|
||||||
|
|
||||||
Source Location: (79:2,27 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (79:2,27 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
Generated Location: (1079:31,27 [15] )
|
Generated Location: (1155:33,27 [15] )
|
||||||
|
|
|
|
||||||
}|
|
}|
|
||||||
|
|
||||||
Source Location: (113:7,2 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (113:7,2 [12] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|Foo(Bar.Baz)|
|
|Foo(Bar.Baz)|
|
||||||
Generated Location: (1219:37,6 [12] )
|
Generated Location: (1295:39,6 [12] )
|
||||||
|Foo(Bar.Baz)|
|
|Foo(Bar.Baz)|
|
||||||
|
|
||||||
Source Location: (129:8,1 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (129:8,1 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|Foo(|
|
|Foo(|
|
||||||
Generated Location: (1357:42,6 [4] )
|
Generated Location: (1433:44,6 [4] )
|
||||||
|Foo(|
|
|Foo(|
|
||||||
|
|
||||||
Source Location: (142:8,14 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (142:8,14 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|baz|
|
|baz|
|
||||||
Generated Location: (1519:44,14 [3] )
|
Generated Location: (1595:46,14 [3] )
|
||||||
|baz|
|
|baz|
|
||||||
|
|
||||||
Source Location: (153:8,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (153:8,25 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|)|
|
|)|
|
||||||
Generated Location: (1560:49,1 [1] )
|
Generated Location: (1636:51,1 [1] )
|
||||||
|)|
|
|)|
|
||||||
|
|
||||||
Source Location: (204:13,5 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
Source Location: (204:13,5 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DesignTime.cshtml)
|
||||||
|bar|
|
|bar|
|
||||||
Generated Location: (1760:55,6 [3] )
|
Generated Location: (1836:57,6 [3] )
|
||||||
|bar|
|
|bar|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,9 @@ global::System.Object __typeHelper = "*, TestAssembly";
|
||||||
))();
|
))();
|
||||||
}
|
}
|
||||||
#pragma warning restore 219
|
#pragma warning restore 219
|
||||||
|
#pragma warning disable 0414
|
||||||
private static System.Object __o = null;
|
private static System.Object __o = null;
|
||||||
|
#pragma warning restore 0414
|
||||||
#pragma warning disable 1998
|
#pragma warning disable 1998
|
||||||
public async System.Threading.Tasks.Task ExecuteAsync()
|
public async System.Threading.Tasks.Task ExecuteAsync()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,12 @@ Document -
|
||||||
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
FieldDeclaration - - private - global::TestNamespace.InputTagHelper2 - __TestNamespace_InputTagHelper2
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (14:0,14 [17] DuplicateAttributeTagHelpers.cshtml) - "*, TestAssembly"
|
DirectiveToken - (14:0,14 [17] DuplicateAttributeTagHelpers.cshtml) - "*, TestAssembly"
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning disable 0414
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - private static System.Object __o = null;
|
IntermediateToken - - CSharp - private static System.Object __o = null;
|
||||||
|
CSharpCode -
|
||||||
|
IntermediateToken - - CSharp - #pragma warning restore 0414
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (31:0,31 [4] DuplicateAttributeTagHelpers.cshtml)
|
HtmlContent - (31:0,31 [4] DuplicateAttributeTagHelpers.cshtml)
|
||||||
IntermediateToken - (31:0,31 [4] DuplicateAttributeTagHelpers.cshtml) - Html - \n\n
|
IntermediateToken - (31:0,31 [4] DuplicateAttributeTagHelpers.cshtml) - Html - \n\n
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ Generated Location: (686:13,37 [17] )
|
||||||
|
|
||||||
Source Location: (146:4,34 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
Source Location: (146:4,34 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (1806:31,42 [4] )
|
Generated Location: (1882:33,42 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
Source Location: (222:5,34 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
Source Location: (222:5,34 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||||
|true|
|
|true|
|
||||||
Generated Location: (2348:40,42 [4] )
|
Generated Location: (2424:42,42 [4] )
|
||||||
|true|
|
|true|
|
||||||
|
|
||||||
Source Location: (43:2,8 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
Source Location: (43:2,8 [1] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml)
|
||||||
|3|
|
|3|
|
||||||
Generated Location: (2618:46,33 [1] )
|
Generated Location: (2694:48,33 [1] )
|
||||||
|3|
|
|3|
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue