[Fixes #1379] Rename CSharpStatement to CSharpCode

This commit is contained in:
Ajay Bhargav Baaskaran 2017-06-07 12:11:55 -07:00
parent 95c5049dd0
commit a6d2c04195
175 changed files with 846 additions and 801 deletions

View File

@ -51,7 +51,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
var index = irDocument.Children.IndexOf(@namespace);
Debug.Assert(index >= 0);
var pageAttribute = new CSharpStatementIRNode();
var pageAttribute = new CSharpCodeIRNode();
RazorIRBuilder.Create(pageAttribute)
.Add(new RazorIRToken()
{

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
var beginContextMethodName = "BeginContext"; /* ORIGINAL: BeginContextMethodName */
var endContextMethodName = "EndContext"; /* ORIGINAL: EndContextMethodName */
var beginNode = new CSharpStatementIRNode()
var beginNode = new CSharpCodeIRNode()
{
Parent = item.Node.Parent
};
@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
item.IsLiteral ? "true" : "false")
});
var endNode = new CSharpStatementIRNode()
var endNode = new CSharpCodeIRNode()
{
Parent = item.Node.Parent
};

View File

@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
var @class = visitor.Class;
var viewDataType = $"global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<{modelType}>";
var vddProperty = new CSharpStatementIRNode()
var vddProperty = new CSharpCodeIRNode()
{
Parent = @class
};
@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
});
@class.Children.Add(vddProperty);
var modelProperty = new CSharpStatementIRNode()
var modelProperty = new CSharpCodeIRNode()
{
Parent = @class
};

View File

@ -48,7 +48,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
var writer = new CSharpCodeWriter();
WriteClass(writer, tagHelper);
var statement = new CSharpStatementIRNode()
var statement = new CSharpCodeIRNode()
{
Parent = @class
};

View File

@ -13,7 +13,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
public abstract void WriteCSharpExpression(CSharpRenderingContext context, CSharpExpressionIRNode node);
public abstract void WriteCSharpStatement(CSharpRenderingContext context, CSharpStatementIRNode node);
public abstract void WriteCSharpCode(CSharpRenderingContext context, CSharpCodeIRNode node);
public abstract void WriteHtmlContent(CSharpRenderingContext context, HtmlContentIRNode node);
@ -23,6 +23,6 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
public abstract void WriteCSharpExpressionAttributeValue(CSharpRenderingContext context, CSharpExpressionAttributeValueIRNode node);
public abstract void WriteCSharpStatementAttributeValue(CSharpRenderingContext context, CSharpStatementAttributeValueIRNode node);
public abstract void WriteCSharpCodeAttributeValue(CSharpRenderingContext context, CSharpCodeAttributeValueIRNode node);
}
}

View File

@ -194,9 +194,9 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
Context.BasicWriter.WriteCSharpExpression(Context, node);
}
public override void VisitCSharpStatement(CSharpStatementIRNode node)
public override void VisitCSharpCode(CSharpCodeIRNode node)
{
Context.BasicWriter.WriteCSharpStatement(Context, node);
Context.BasicWriter.WriteCSharpCode(Context, node);
}
public override void VisitHtmlAttribute(HtmlAttributeIRNode node)
@ -214,9 +214,9 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
Context.BasicWriter.WriteCSharpExpressionAttributeValue(Context, node);
}
public override void VisitCSharpStatementAttributeValue(CSharpStatementAttributeValueIRNode node)
public override void VisitCSharpCodeAttributeValue(CSharpCodeAttributeValueIRNode node)
{
Context.BasicWriter.WriteCSharpStatementAttributeValue(Context, node);
Context.BasicWriter.WriteCSharpCodeAttributeValue(Context, node);
}
public override void VisitHtml(HtmlContentIRNode node)

View File

@ -91,7 +91,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
}
}
public override void WriteCSharpStatement(CSharpRenderingContext context, CSharpStatementIRNode node)
public override void WriteCSharpCode(CSharpRenderingContext context, CSharpCodeIRNode node)
{
var isWhitespaceStatement = true;
for (var i = 0; i < node.Children.Count; i++)
@ -221,7 +221,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
}
}
public override void WriteCSharpStatementAttributeValue(CSharpRenderingContext context, CSharpStatementAttributeValueIRNode node)
public override void WriteCSharpCodeAttributeValue(CSharpRenderingContext context, CSharpCodeAttributeValueIRNode node)
{
for (var i = 0; i < node.Children.Count; i++)
{

View File

@ -155,7 +155,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
context.Writer.Write(token.Content);
}
else if (node is CSharpStatementIRNode)
else if (node is CSharpCodeIRNode)
{
var error = new RazorError(
LegacyResources.TagHelpers_CodeBlocks_NotSupported_InAttributes,

View File

@ -97,7 +97,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
linePragmaScope?.Dispose();
}
public override void WriteCSharpStatement(CSharpRenderingContext context, CSharpStatementIRNode node)
public override void WriteCSharpCode(CSharpRenderingContext context, CSharpCodeIRNode node)
{
var isWhitespaceStatement = true;
for (var i = 0; i < node.Children.Count; i++)
@ -150,7 +150,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
.Count(child =>
child is HtmlAttributeValueIRNode ||
child is CSharpExpressionAttributeValueIRNode ||
child is CSharpStatementAttributeValueIRNode ||
child is CSharpCodeAttributeValueIRNode ||
child is ExtensionIRNode);
var prefixLocation = node.Source.Value.AbsoluteIndex;
@ -251,7 +251,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
}
}
public override void WriteCSharpStatementAttributeValue(CSharpRenderingContext context, CSharpStatementAttributeValueIRNode node)
public override void WriteCSharpCodeAttributeValue(CSharpRenderingContext context, CSharpCodeAttributeValueIRNode node)
{
const string ValueWriterName = "__razor_attribute_value_writer";

View File

@ -243,7 +243,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
{
var attributeValueStyleParameter = $"{HtmlAttributeValueStyleTypeName}.{node.ValueStyle}";
var isConditionalAttributeValue = node.Children.Any(
child => child is CSharpExpressionAttributeValueIRNode || child is CSharpStatementAttributeValueIRNode);
child => child is CSharpExpressionAttributeValueIRNode || child is CSharpCodeAttributeValueIRNode);
// All simple text and minimized attributes will be pre-allocated.
if (isConditionalAttributeValue)
@ -257,7 +257,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
child =>
child is HtmlAttributeValueIRNode ||
child is CSharpExpressionAttributeValueIRNode ||
child is CSharpStatementAttributeValueIRNode ||
child is CSharpCodeAttributeValueIRNode ||
child is ExtensionIRNode);
context.Writer
@ -435,7 +435,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
{
context.Writer.Write(token.Content);
}
else if (node is CSharpStatementIRNode)
else if (node is CSharpCodeIRNode)
{
var error = new RazorError(
LegacyResources.TagHelpers_CodeBlocks_NotSupported_InAttributes,

View File

@ -48,7 +48,7 @@ namespace Microsoft.AspNetCore.Razor.Language
var sectionIndex = node.Parent.Children.IndexOf(node);
node.Parent.Children.Remove(node);
var defineSectionEndStatement = new CSharpStatementIRNode();
var defineSectionEndStatement = new CSharpCodeIRNode();
RazorIRBuilder.Create(defineSectionEndStatement)
.Add(new RazorIRToken()
{
@ -65,7 +65,7 @@ namespace Microsoft.AspNetCore.Razor.Language
var lambdaContent = designTime ? "__razor_section_writer" : string.Empty;
var sectionName = node.Tokens.FirstOrDefault()?.Content;
var defineSectionStartStatement = new CSharpStatementIRNode();
var defineSectionStartStatement = new CSharpCodeIRNode();
RazorIRBuilder.Create(defineSectionStartStatement)
.Add(new RazorIRToken()
{

View File

@ -306,7 +306,7 @@ namespace Microsoft.AspNetCore.Razor.Language
}
else
{
_builder.Push(new CSharpStatementAttributeValueIRNode()
_builder.Push(new CSharpCodeAttributeValueIRNode()
{
Prefix = chunkGenerator.Prefix,
Source = BuildSourceSpanFromNode(block),
@ -433,11 +433,11 @@ namespace Microsoft.AspNetCore.Razor.Language
public override void VisitStatementSpan(StatementChunkGenerator chunkGenerator, Span span)
{
var isAttributeValue = _builder.Current is CSharpStatementAttributeValueIRNode;
var isAttributeValue = _builder.Current is CSharpCodeAttributeValueIRNode;
if (!isAttributeValue)
{
var statementNode = new CSharpStatementIRNode()
var statementNode = new CSharpCodeIRNode()
{
Source = BuildSourceSpanFromNode(span)
};

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{
public sealed class CSharpStatementAttributeValueIRNode : RazorIRNode
public sealed class CSharpCodeAttributeValueIRNode : RazorIRNode
{
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
throw new ArgumentNullException(nameof(visitor));
}
visitor.VisitCSharpStatementAttributeValue(this);
visitor.VisitCSharpCodeAttributeValue(this);
}
}
}

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{
public sealed class CSharpStatementIRNode : RazorIRNode
public sealed class CSharpCodeIRNode : RazorIRNode
{
private ItemCollection _annotations;
@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
throw new ArgumentNullException(nameof(visitor));
}
visitor.VisitCSharpStatement(this);
visitor.VisitCSharpCode(this);
}
}
}

View File

@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
VisitDefault(node);
}
public virtual void VisitCSharpStatement(CSharpStatementIRNode node)
public virtual void VisitCSharpCode(CSharpCodeIRNode node)
{
VisitDefault(node);
}
@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
VisitDefault(node);
}
public virtual void VisitCSharpStatementAttributeValue(CSharpStatementAttributeValueIRNode node)
public virtual void VisitCSharpCodeAttributeValue(CSharpCodeAttributeValueIRNode node)
{
VisitDefault(node);
}

View File

@ -24,7 +24,7 @@ namespace Microsoft.AspNetCore.Razor.Language
public override void VisitClassDeclaration(ClassDeclarationIRNode node)
{
var designTimeHelperDeclaration = new CSharpStatementIRNode();
var designTimeHelperDeclaration = new CSharpCodeIRNode();
RazorIRBuilder.Create(designTimeHelperDeclaration)
.Add(new RazorIRToken()
{

View File

@ -185,8 +185,8 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
Assert.Collection(irDocument.Children,
node =>
{
var csharpStatement = Assert.IsType<CSharpStatementIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpStatement.Children));
var csharpCode = Assert.IsType<CSharpCodeIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpCode.Children));
Assert.Equal(RazorIRToken.TokenKind.CSharp, token.Kind);
Assert.Equal(expectedAttribute, token.Content);
},
@ -236,8 +236,8 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
Assert.Collection(irDocument.Children,
node =>
{
var csharpStatement = Assert.IsType<CSharpStatementIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpStatement.Children));
var csharpCode = Assert.IsType<CSharpCodeIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpCode.Children));
Assert.Equal(RazorIRToken.TokenKind.CSharp, token.Kind);
Assert.Equal(expectedAttribute, token.Content);
},
@ -294,8 +294,8 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
node => Assert.Same(pageDirective, node),
node =>
{
var csharpStatement = Assert.IsType<CSharpStatementIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpStatement.Children));
var csharpCode = Assert.IsType<CSharpCodeIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpCode.Children));
Assert.Equal(RazorIRToken.TokenKind.CSharp, token.Kind);
Assert.Equal(expectedAttribute, token.Content);
},
@ -346,8 +346,8 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
Assert.Collection(irDocument.Children,
node =>
{
var csharpStatement = Assert.IsType<CSharpStatementIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpStatement.Children));
var csharpCode = Assert.IsType<CSharpCodeIRNode>(node);
var token = Assert.IsType<RazorIRToken>(Assert.Single(csharpCode.Children));
Assert.Equal(RazorIRToken.TokenKind.CSharp, token.Kind);
Assert.Equal(expectedAttribute, token.Content);
},

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -26,7 +26,7 @@ Document -
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 - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [4] Basic.cshtml)
@ -43,12 +43,12 @@ Document -
RazorIRToken - (83:2,34 [2] Basic.cshtml) - Html - \n
RazorIRToken - (85:3,0 [6] Basic.cshtml) - Html - </div>
RazorIRToken - (91:3,6 [2] Basic.cshtml) - Html - \n
CSharpStatement - (95:4,2 [25] Basic.cshtml)
CSharpCode - (95:4,2 [25] Basic.cshtml)
RazorIRToken - (95:4,2 [25] Basic.cshtml) - CSharp - \n var cls = "foo";\n
HtmlContent - (123:7,0 [2] Basic.cshtml)
RazorIRToken - (123:7,0 [2] Basic.cshtml) - Html - <p
HtmlAttribute - (125:7,2 [34] Basic.cshtml) - class=" - "
CSharpStatementAttributeValue - (133:7,10 [25] Basic.cshtml) -
CSharpCodeAttributeValue - (133:7,10 [25] Basic.cshtml) -
RazorIRToken - (134:7,11 [18] Basic.cshtml) - CSharp - if(cls != null) {
CSharpExpression - (153:7,30 [3] Basic.cshtml)
RazorIRToken - (153:7,30 [3] Basic.cshtml) - CSharp - cls

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -12,61 +12,61 @@ Document -
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(0, 4, true);
HtmlContent - (0:0,0 [4] Basic.cshtml)
RazorIRToken - (0:0,0 [4] Basic.cshtml) - Html - <div
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
HtmlAttribute - (4:0,4 [25] Basic.cshtml) - class=" - "
CSharpExpressionAttributeValue - (12:0,12 [16] Basic.cshtml) -
RazorIRToken - (13:0,13 [15] Basic.cshtml) - CSharp - this.ToString()
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(29, 24, true);
HtmlContent - (29:0,29 [24] Basic.cshtml)
RazorIRToken - (29:0,29 [1] Basic.cshtml) - Html - >
RazorIRToken - (30:0,30 [19] Basic.cshtml) - Html - \n Hello world\n
RazorIRToken - (49:2,0 [4] Basic.cshtml) - Html -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(54, 29, false);
CSharpExpression - (54:2,5 [29] Basic.cshtml)
RazorIRToken - (54:2,5 [29] Basic.cshtml) - CSharp - string.Format("{0}", "Hello")
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(83, 10, true);
HtmlContent - (83:2,34 [10] Basic.cshtml)
RazorIRToken - (83:2,34 [2] Basic.cshtml) - Html - \n
RazorIRToken - (85:3,0 [6] Basic.cshtml) - Html - </div>
RazorIRToken - (91:3,6 [2] Basic.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement - (95:4,2 [25] Basic.cshtml)
CSharpCode - (95:4,2 [25] Basic.cshtml)
RazorIRToken - (95:4,2 [25] Basic.cshtml) - CSharp - \n var cls = "foo";\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(123, 2, true);
HtmlContent - (123:7,0 [2] Basic.cshtml)
RazorIRToken - (123:7,0 [2] Basic.cshtml) - Html - <p
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
HtmlAttribute - (125:7,2 [34] Basic.cshtml) - class=" - "
CSharpStatementAttributeValue - (133:7,10 [25] Basic.cshtml) -
CSharpCodeAttributeValue - (133:7,10 [25] Basic.cshtml) -
RazorIRToken - (134:7,11 [18] Basic.cshtml) - CSharp - if(cls != null) {
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(153, 3, false);
CSharpExpression - (153:7,30 [3] Basic.cshtml)
RazorIRToken - (153:7,30 [3] Basic.cshtml) - CSharp - cls
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
RazorIRToken - (156:7,33 [2] Basic.cshtml) - CSharp - }
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(159, 5, true);
HtmlContent - (159:7,36 [5] Basic.cshtml)
RazorIRToken - (159:7,36 [3] Basic.cshtml) - Html - />
RazorIRToken - (162:7,39 [2] Basic.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -

View File

@ -25,7 +25,7 @@ Document -
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 - (159:11,8 [17] IncompleteDirectives.cshtml) - MyService<TModel>
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (83:0,83 [4] IncompleteDirectives.cshtml)
@ -51,7 +51,7 @@ Document -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml Model => ViewData.Model;

View File

@ -10,66 +10,66 @@ Document -
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(83, 4, true);
HtmlContent - (83:0,83 [4] IncompleteDirectives.cshtml)
RazorIRToken - (83:0,83 [4] IncompleteDirectives.cshtml) - Html - \n\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(108, 5, true);
HtmlContent - (108:4,6 [5] IncompleteDirectives.cshtml)
RazorIRToken - (108:4,6 [5] IncompleteDirectives.cshtml) - Html - "\n\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(119, 2, true);
HtmlContent - (119:6,6 [2] IncompleteDirectives.cshtml)
RazorIRToken - (119:6,6 [2] IncompleteDirectives.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(128, 4, true);
HtmlContent - (128:7,7 [4] IncompleteDirectives.cshtml)
RazorIRToken - (128:7,7 [4] IncompleteDirectives.cshtml) - Html - \n\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(139, 2, true);
HtmlContent - (139:9,7 [2] IncompleteDirectives.cshtml)
RazorIRToken - (139:9,7 [2] IncompleteDirectives.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(149, 2, true);
HtmlContent - (149:10,8 [2] IncompleteDirectives.cshtml)
RazorIRToken - (149:10,8 [2] IncompleteDirectives.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(176, 4, true);
HtmlContent - (176:11,25 [4] IncompleteDirectives.cshtml)
RazorIRToken - (176:11,25 [4] IncompleteDirectives.cshtml) - Html - \n\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(190, 2, true);
HtmlContent - (190:13,10 [2] IncompleteDirectives.cshtml)
RazorIRToken - (190:13,10 [2] IncompleteDirectives.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(203, 2, true);
HtmlContent - (203:14,11 [2] IncompleteDirectives.cshtml)
RazorIRToken - (203:14,11 [2] IncompleteDirectives.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
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 - (45:1,7 [7] InheritsViewModel.cshtml) - MyModel
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
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 - (14:1,7 [7] InheritsWithViewImports.cshtml) - MyModel
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -
@ -36,7 +36,7 @@ Document -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<MyModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<MyModel>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public MyModel Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -17,7 +17,7 @@ Document -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<MyModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<MyModel>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public MyModel Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -31,7 +31,7 @@ Document -
DirectiveToken - (30:1,14 [14] InjectWithModel.cshtml) - MyPropertyName
DirectiveToken - (54:2,8 [17] InjectWithModel.cshtml) - MyService<TModel>
DirectiveToken - (72:2,26 [4] InjectWithModel.cshtml) - Html
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -35,7 +35,7 @@ Document -
DirectiveToken - (99:3,14 [15] InjectWithSemicolon.cshtml) - MyPropertyName2
DirectiveToken - (129:4,8 [17] InjectWithSemicolon.cshtml) - MyService<TModel>
DirectiveToken - (147:4,26 [5] InjectWithSemicolon.cshtml) - Html2
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
DirectiveToken - (8:0,8 [5] Inject.cshtml) - MyApp
DirectiveToken - (14:0,14 [14] Inject.cshtml) - MyPropertyName
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System

View File

@ -24,7 +24,7 @@ Document -
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 - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (11:0,11 [5] InvalidNamespaceAtEOF.cshtml)

View File

@ -10,11 +10,11 @@ Document -
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(11, 5, true);
HtmlContent - (11:0,11 [5] InvalidNamespaceAtEOF.cshtml)
RazorIRToken - (11:0,11 [5] InvalidNamespaceAtEOF.cshtml) - Html - Test.
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -26,7 +26,7 @@ Document -
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 - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (6:0,6 [49] MalformedPageDirective.cshtml)
@ -43,7 +43,7 @@ Document -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -12,7 +12,7 @@ Document -
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(6, 49, true);
HtmlContent - (6:0,6 [49] MalformedPageDirective.cshtml)
RazorIRToken - (6:0,6 [8] MalformedPageDirective.cshtml) - Html - "foo\n\n
@ -23,14 +23,14 @@ Document -
RazorIRToken - (33:3,0 [3] MalformedPageDirective.cshtml) - Html - <p>
RazorIRToken - (36:3,3 [15] MalformedPageDirective.cshtml) - Html - We are awesome.
RazorIRToken - (51:3,18 [4] MalformedPageDirective.cshtml) - Html - </p>
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
DirectiveToken - (7:0,7 [8] ModelExpressionTagHelper.cshtml) - DateTime
DirectiveToken - (33:2,14 [29] ModelExpressionTagHelper.cshtml) - "InputTestTagHelper, AppCode"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - InputTestTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -13,19 +13,19 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime> -
DeclareTagHelperFields - - InputTestTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(17, 2, true);
HtmlContent - (17:1,0 [2] ModelExpressionTagHelper.cshtml)
RazorIRToken - (17:1,0 [2] ModelExpressionTagHelper.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(64, 2, true);
HtmlContent - (64:3,0 [2] ModelExpressionTagHelper.cshtml)
RazorIRToken - (64:3,0 [2] ModelExpressionTagHelper.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(66, 25, false);
TagHelper - (66:4,0 [25] ModelExpressionTagHelper.cshtml) - input-test - TagMode.SelfClosing
TagHelperBody -
@ -36,15 +36,15 @@ Document -
RazorIRToken - - CSharp - __model.
RazorIRToken - (83:4,17 [4] ModelExpressionTagHelper.cshtml) - CSharp - Date
RazorIRToken - - CSharp - )
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(91, 2, true);
HtmlContent - (91:4,25 [2] ModelExpressionTagHelper.cshtml)
RazorIRToken - (91:4,25 [2] ModelExpressionTagHelper.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(93, 27, false);
TagHelper - (93:5,0 [27] ModelExpressionTagHelper.cshtml) - input-test - TagMode.SelfClosing
TagHelperBody -
@ -54,13 +54,13 @@ Document -
RazorIRToken - - CSharp - ModelExpressionProvider.CreateModelExpression(ViewData, __model =>
RazorIRToken - (111:5,18 [5] ModelExpressionTagHelper.cshtml) - CSharp - Model
RazorIRToken - - CSharp - )
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(120, 2, true);
HtmlContent - (120:5,27 [2] ModelExpressionTagHelper.cshtml)
RazorIRToken - (120:5,27 [2] ModelExpressionTagHelper.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -27,7 +27,7 @@ Document -
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 - (7:0,7 [30] Model.cshtml) - System.Collections.IEnumerable
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
DirectiveToken - (7:0,7 [21] MultipleModels.cshtml) - ThisShouldBeGenerated
DirectiveToken - (37:1,7 [30] MultipleModels.cshtml) - System.Collections.IEnumerable
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
NamespaceDeclaration - - Test.Namespace
UsingStatement - - TModel = global::System.Object
@ -27,7 +27,7 @@ Document -
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 - (18:1,11 [14] PageWithNamespace.cshtml) - Test.Namespace
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (34:2,0 [20] PageWithNamespace.cshtml)
@ -40,7 +40,7 @@ Document -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PageWithNamespace_Page> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PageWithNamespace_Page>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public PageWithNamespace_Page Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
NamespaceDeclaration - - Test.Namespace
UsingStatement - (1:0,1 [14] ) - System
@ -12,21 +12,21 @@ Document -
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
ClassDeclaration - - public - PageWithNamespace_Page - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(34, 20, true);
HtmlContent - (34:2,0 [20] PageWithNamespace.cshtml)
RazorIRToken - (34:2,0 [4] PageWithNamespace.cshtml) - Html - <h1>
RazorIRToken - (38:2,4 [9] PageWithNamespace.cshtml) - Html - Hi There!
RazorIRToken - (47:2,13 [5] PageWithNamespace.cshtml) - Html - </h1>
RazorIRToken - (52:2,18 [2] PageWithNamespace.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PageWithNamespace_Page> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PageWithNamespace_Page>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public PageWithNamespace_Page Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
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 - (23:2,14 [12] RazorPagesWithoutModel.cshtml) - "*, AppCode"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - DivTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
@ -123,14 +123,14 @@ Document -
RazorIRToken - (910:34,10 [2] RazorPagesWithoutModel.cshtml) - Html - \n
RazorIRToken - (912:35,0 [7] RazorPagesWithoutModel.cshtml) - Html - </form>
RazorIRToken - (919:35,7 [2] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement - (95:5,12 [283] RazorPagesWithoutModel.cshtml)
CSharpCode - (95:5,12 [283] RazorPagesWithoutModel.cshtml)
RazorIRToken - (95:5,12 [283] RazorPagesWithoutModel.cshtml) - CSharp - \n public IActionResult OnPost(Customer customer)\n {\n Name = customer.Name;\n return Redirect("~/customers/inlinepagemodels/");\n }\n\n public string Name { get; set; }\n\n public class Customer\n {\n public string Name { get; set; }\n }\n
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -18,19 +18,19 @@ Document -
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_3 - class - col-md-offset-2 col-md-10 - HtmlAttributeValueStyle.DoubleQuotes
DeclareTagHelperFields - - DivTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(7, 2, true);
HtmlContent - (7:1,0 [2] RazorPagesWithoutModel.cshtml)
RazorIRToken - (7:1,0 [2] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(81, 2, true);
HtmlContent - (81:4,0 [2] RazorPagesWithoutModel.cshtml)
RazorIRToken - (81:4,0 [2] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(381, 75, true);
HtmlContent - (381:19,0 [75] RazorPagesWithoutModel.cshtml)
RazorIRToken - (381:19,0 [2] RazorPagesWithoutModel.cshtml) - Html - \n
@ -43,53 +43,53 @@ Document -
RazorIRToken - (425:21,19 [24] RazorPagesWithoutModel.cshtml) - Html - class="form-horizontal"
RazorIRToken - (449:21,43 [1] RazorPagesWithoutModel.cshtml) - Html - >
RazorIRToken - (450:21,44 [6] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(456, 31, false);
TagHelper - (456:22,4 [31] RazorPagesWithoutModel.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_0
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(487, 6, true);
HtmlContent - (487:22,35 [6] RazorPagesWithoutModel.cshtml)
RazorIRToken - (487:22,35 [6] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(493, 237, false);
TagHelper - (493:23,4 [237] RazorPagesWithoutModel.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(517, 48, true);
HtmlContent - (517:23,28 [48] RazorPagesWithoutModel.cshtml)
RazorIRToken - (517:23,28 [10] RazorPagesWithoutModel.cshtml) - Html - \n
RazorIRToken - (527:24,8 [6] RazorPagesWithoutModel.cshtml) - Html - <label
RazorIRToken - (533:24,14 [31] RazorPagesWithoutModel.cshtml) - Html - class="col-md-2 control-label"
RazorIRToken - (564:24,45 [1] RazorPagesWithoutModel.cshtml) - Html - >
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(566, 4, false);
CSharpExpression - (566:24,47 [4] RazorPagesWithoutModel.cshtml)
RazorIRToken - (566:24,47 [4] RazorPagesWithoutModel.cshtml) - CSharp - Name
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(570, 18, true);
HtmlContent - (570:24,51 [18] RazorPagesWithoutModel.cshtml)
RazorIRToken - (570:24,51 [8] RazorPagesWithoutModel.cshtml) - Html - </label>
RazorIRToken - (578:24,59 [10] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(588, 130, false);
TagHelper - (588:25,8 [130] RazorPagesWithoutModel.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(611, 101, true);
HtmlContent - (611:25,31 [101] RazorPagesWithoutModel.cshtml)
RazorIRToken - (611:25,31 [14] RazorPagesWithoutModel.cshtml) - Html - \n
@ -102,43 +102,43 @@ Document -
RazorIRToken - (694:27,37 [1] RazorPagesWithoutModel.cshtml) - Html - >
RazorIRToken - (695:27,38 [7] RazorPagesWithoutModel.cshtml) - Html - </span>
RazorIRToken - (702:27,45 [10] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(718, 6, true);
HtmlContent - (718:28,14 [6] RazorPagesWithoutModel.cshtml)
RazorIRToken - (718:28,14 [6] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_2
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(730, 6, true);
HtmlContent - (730:29,10 [6] RazorPagesWithoutModel.cshtml)
RazorIRToken - (730:29,10 [6] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(736, 174, false);
TagHelper - (736:30,4 [174] RazorPagesWithoutModel.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(760, 10, true);
HtmlContent - (760:30,28 [10] RazorPagesWithoutModel.cshtml)
RazorIRToken - (760:30,28 [10] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(770, 128, false);
TagHelper - (770:31,8 [128] RazorPagesWithoutModel.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(809, 83, true);
HtmlContent - (809:31,47 [83] RazorPagesWithoutModel.cshtml)
RazorIRToken - (809:31,47 [14] RazorPagesWithoutModel.cshtml) - Html - \n
@ -149,38 +149,38 @@ Document -
RazorIRToken - (869:32,58 [4] RazorPagesWithoutModel.cshtml) - Html - Save
RazorIRToken - (873:32,62 [9] RazorPagesWithoutModel.cshtml) - Html - </button>
RazorIRToken - (882:32,71 [10] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_3
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(898, 6, true);
HtmlContent - (898:33,14 [6] RazorPagesWithoutModel.cshtml)
RazorIRToken - (898:33,14 [6] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_2
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(910, 11, true);
HtmlContent - (910:34,10 [11] RazorPagesWithoutModel.cshtml)
RazorIRToken - (910:34,10 [2] RazorPagesWithoutModel.cshtml) - Html - \n
RazorIRToken - (912:35,0 [7] RazorPagesWithoutModel.cshtml) - Html - </form>
RazorIRToken - (919:35,7 [2] RazorPagesWithoutModel.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement - (95:5,12 [283] RazorPagesWithoutModel.cshtml)
CSharpCode - (95:5,12 [283] RazorPagesWithoutModel.cshtml)
RazorIRToken - (95:5,12 [283] RazorPagesWithoutModel.cshtml) - CSharp - \n public IActionResult OnPost(Customer customer)\n {\n Name = customer.Name;\n return Redirect("~/customers/inlinepagemodels/");\n }\n\n public string Name { get; set; }\n\n public class Customer\n {\n public string Name { get; set; }\n }\n
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -29,7 +29,7 @@ Document -
DirectiveToken - (832:14,14 [87] ) - Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper, Microsoft.AspNetCore.Mvc.Razor
DirectiveToken - (16:2,7 [8] RazorPages.cshtml) - NewModel
DirectiveToken - (40:3,14 [12] RazorPages.cshtml) - "*, AppCode"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - DivTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
@ -124,14 +124,14 @@ Document -
RazorIRToken - (1011:38,10 [2] RazorPages.cshtml) - Html - \n
RazorIRToken - (1013:39,0 [7] RazorPages.cshtml) - Html - </form>
RazorIRToken - (1020:39,7 [2] RazorPages.cshtml) - Html - \n
CSharpStatement - (112:6,12 [360] RazorPages.cshtml)
CSharpCode - (112:6,12 [360] RazorPages.cshtml)
RazorIRToken - (112:6,12 [360] RazorPages.cshtml) - CSharp - \n public class NewModel : PageModel\n {\n public IActionResult OnPost(Customer customer)\n {\n Name = customer.Name;\n return Redirect("~/customers/inlinepagemodels/");\n }\n\n public string Name { get; set; }\n }\n\n public class Customer\n {\n public string Name { get; set; }\n }\n
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<NewModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<NewModel>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public NewModel Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -18,19 +18,19 @@ Document -
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_3 - class - col-md-offset-2 col-md-10 - HtmlAttributeValueStyle.DoubleQuotes
DeclareTagHelperFields - - DivTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(7, 2, true);
HtmlContent - (7:1,0 [2] RazorPages.cshtml)
RazorIRToken - (7:1,0 [2] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(98, 2, true);
HtmlContent - (98:5,0 [2] RazorPages.cshtml)
RazorIRToken - (98:5,0 [2] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(475, 76, true);
HtmlContent - (475:23,0 [76] RazorPages.cshtml)
RazorIRToken - (475:23,0 [2] RazorPages.cshtml) - Html - \n
@ -43,53 +43,53 @@ Document -
RazorIRToken - (519:25,19 [24] RazorPages.cshtml) - Html - class="form-horizontal"
RazorIRToken - (543:25,43 [2] RazorPages.cshtml) - Html - >
RazorIRToken - (545:25,45 [6] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(551, 31, false);
TagHelper - (551:26,4 [31] RazorPages.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_0
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(582, 6, true);
HtmlContent - (582:26,35 [6] RazorPages.cshtml)
RazorIRToken - (582:26,35 [6] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(588, 243, false);
TagHelper - (588:27,4 [243] RazorPages.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(612, 48, true);
HtmlContent - (612:27,28 [48] RazorPages.cshtml)
RazorIRToken - (612:27,28 [10] RazorPages.cshtml) - Html - \n
RazorIRToken - (622:28,8 [6] RazorPages.cshtml) - Html - <label
RazorIRToken - (628:28,14 [31] RazorPages.cshtml) - Html - class="col-md-2 control-label"
RazorIRToken - (659:28,45 [1] RazorPages.cshtml) - Html - >
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(661, 10, false);
CSharpExpression - (661:28,47 [10] RazorPages.cshtml)
RazorIRToken - (661:28,47 [10] RazorPages.cshtml) - CSharp - Model.Name
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(671, 18, true);
HtmlContent - (671:28,57 [18] RazorPages.cshtml)
RazorIRToken - (671:28,57 [8] RazorPages.cshtml) - Html - </label>
RazorIRToken - (679:28,65 [10] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(689, 130, false);
TagHelper - (689:29,8 [130] RazorPages.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(712, 101, true);
HtmlContent - (712:29,31 [101] RazorPages.cshtml)
RazorIRToken - (712:29,31 [14] RazorPages.cshtml) - Html - \n
@ -102,43 +102,43 @@ Document -
RazorIRToken - (795:31,37 [1] RazorPages.cshtml) - Html - >
RazorIRToken - (796:31,38 [7] RazorPages.cshtml) - Html - </span>
RazorIRToken - (803:31,45 [10] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(819, 6, true);
HtmlContent - (819:32,14 [6] RazorPages.cshtml)
RazorIRToken - (819:32,14 [6] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_2
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(831, 6, true);
HtmlContent - (831:33,10 [6] RazorPages.cshtml)
RazorIRToken - (831:33,10 [6] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(837, 174, false);
TagHelper - (837:34,4 [174] RazorPages.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(861, 10, true);
HtmlContent - (861:34,28 [10] RazorPages.cshtml)
RazorIRToken - (861:34,28 [10] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(871, 128, false);
TagHelper - (871:35,8 [128] RazorPages.cshtml) - div - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(910, 83, true);
HtmlContent - (910:35,47 [83] RazorPages.cshtml)
RazorIRToken - (910:35,47 [14] RazorPages.cshtml) - Html - \n
@ -149,38 +149,38 @@ Document -
RazorIRToken - (970:36,58 [4] RazorPages.cshtml) - Html - Save
RazorIRToken - (974:36,62 [9] RazorPages.cshtml) - Html - </button>
RazorIRToken - (983:36,71 [10] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_3
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(999, 6, true);
HtmlContent - (999:37,14 [6] RazorPages.cshtml)
RazorIRToken - (999:37,14 [6] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - DivTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_2
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(1011, 11, true);
HtmlContent - (1011:38,10 [11] RazorPages.cshtml)
RazorIRToken - (1011:38,10 [2] RazorPages.cshtml) - Html - \n
RazorIRToken - (1013:39,0 [7] RazorPages.cshtml) - Html - </form>
RazorIRToken - (1020:39,7 [2] RazorPages.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement - (112:6,12 [360] RazorPages.cshtml)
CSharpCode - (112:6,12 [360] RazorPages.cshtml)
RazorIRToken - (112:6,12 [360] RazorPages.cshtml) - CSharp - \n public class NewModel : PageModel\n {\n public IActionResult OnPost(Customer customer)\n {\n Name = customer.Name;\n return Redirect("~/customers/inlinepagemodels/");\n }\n\n public string Name { get; set; }\n }\n\n public class Customer\n {\n public string Name { get; set; }\n }\n
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<NewModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<NewModel>)PageContext?.ViewData;
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - public NewModel Model => ViewData.Model;

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -27,13 +27,13 @@ Document -
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 - (14:0,14 [12] ViewComponentTagHelper.cshtml) - "*, AppCode"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml.__Generated__TestViewComponentTagHelper - AllTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (26:0,26 [2] ViewComponentTagHelper.cshtml)
RazorIRToken - (26:0,26 [2] ViewComponentTagHelper.cshtml) - Html - \n
CSharpStatement - (30:1,2 [26] ViewComponentTagHelper.cshtml)
CSharpCode - (30:1,2 [26] ViewComponentTagHelper.cshtml)
RazorIRToken - (30:1,2 [26] ViewComponentTagHelper.cshtml) - CSharp - \n var foo = "Hello";\n
HtmlContent - (59:4,0 [2] ViewComponentTagHelper.cshtml)
RazorIRToken - (59:4,0 [2] ViewComponentTagHelper.cshtml) - Html - \n
@ -52,5 +52,5 @@ Document -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute("vc:test")]\npublic class __Generated__TestViewComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper\n{\n private readonly global::Microsoft.AspNetCore.Mvc.IViewComponentHelper _helper = null;\n public __Generated__TestViewComponentTagHelper(global::Microsoft.AspNetCore.Mvc.IViewComponentHelper helper)\n {\n _helper = helper;\n }\n [Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute, global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewContextAttribute]\n public global::Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; set; }\n public System.String firstName { get; set; }\n public override async global::System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output)\n {\n (_helper as global::Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware)?.Contextualize(ViewContext);\n var content = await _helper.InvokeAsync("Test", new { firstName });\n output.TagName = null;\n output.Content.SetHtmlContent(content);\n }\n}\n

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System
@ -14,15 +14,15 @@ Document -
DeclarePreallocatedTagHelperAttribute - - __tagHelperAttribute_0 - bar - World - HtmlAttributeValueStyle.DoubleQuotes
DeclareTagHelperFields - - AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml.__Generated__TestViewComponentTagHelper - AllTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (30:1,2 [26] ViewComponentTagHelper.cshtml)
CSharpCode - (30:1,2 [26] ViewComponentTagHelper.cshtml)
RazorIRToken - (30:1,2 [26] ViewComponentTagHelper.cshtml) - CSharp - \n var foo = "Hello";\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(59, 2, true);
HtmlContent - (59:4,0 [2] ViewComponentTagHelper.cshtml)
RazorIRToken - (59:4,0 [2] ViewComponentTagHelper.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(61, 50, false);
TagHelper - (61:5,0 [50] ViewComponentTagHelper.cshtml) - vc:test - TagMode.StartTagAndEndTag
TagHelperBody -
@ -32,12 +32,12 @@ Document -
CSharpExpression - (83:5,22 [3] ViewComponentTagHelper.cshtml)
RazorIRToken - (83:5,22 [3] ViewComponentTagHelper.cshtml) - CSharp - foo
SetPreallocatedTagHelperProperty - - __tagHelperAttribute_0 - bar - Bar
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
InjectDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute("vc:test")]\npublic class __Generated__TestViewComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper\n{\n private readonly global::Microsoft.AspNetCore.Mvc.IViewComponentHelper _helper = null;\n public __Generated__TestViewComponentTagHelper(global::Microsoft.AspNetCore.Mvc.IViewComponentHelper helper)\n {\n _helper = helper;\n }\n [Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute, global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewContextAttribute]\n public global::Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; set; }\n public System.String firstName { get; set; }\n public override async global::System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output)\n {\n (_helper as global::Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware)?.Contextualize(ViewContext);\n var content = await _helper.InvokeAsync("Test", new { firstName });\n output.TagName = null;\n output.Content.SetHtmlContent(content);\n }\n}\n

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
NamespaceDeclaration - - Test.Namespace
UsingStatement - - TModel = global::System.Object
@ -27,7 +27,7 @@ Document -
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 - (11:0,11 [14] ViewWithNamespace.cshtml) - Test.Namespace
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (27:1,0 [20] ViewWithNamespace.cshtml)

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
NamespaceDeclaration - - Test.Namespace
UsingStatement - (1:0,1 [14] ) - System
@ -12,14 +12,14 @@ Document -
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
ClassDeclaration - - public - ViewWithNamespace_View - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(27, 20, true);
HtmlContent - (27:1,0 [20] ViewWithNamespace.cshtml)
RazorIRToken - (27:1,0 [4] ViewWithNamespace.cshtml) - Html - <h1>
RazorIRToken - (31:1,4 [9] ViewWithNamespace.cshtml) - Html - Hi There!
RazorIRToken - (40:1,13 [5] ViewWithNamespace.cshtml) - Html - </h1>
RazorIRToken - (45:1,18 [2] ViewWithNamespace.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
InjectDirective -
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - - TModel = global::System.Object
@ -28,7 +28,7 @@ Document -
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 - (28:0,28 [5] _ViewImports.cshtml) - Model
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
InjectDirective -

View File

@ -1,6 +1,6 @@
Document -
Checksum -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
NamespaceDeclaration - - AspNetCore
UsingStatement - (1:0,1 [14] ) - System

View File

@ -7,7 +7,7 @@ Document -
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_2 - unbound - foo - HtmlAttributeValueStyle.DoubleQuotes
DeclareTagHelperFields - - FormTagHelper - InputTagHelper
MethodDeclaration - - public - async, override - global::System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(31, 28, true);
HtmlContent - (31:1,0 [28] BasicTest.cshtml)
RazorIRToken - (31:1,0 [5] BasicTest.cshtml) - Html - <span
@ -16,31 +16,31 @@ Document -
RazorIRToken - (46:1,15 [4] BasicTest.cshtml) - Html - Hola
RazorIRToken - (50:1,19 [7] BasicTest.cshtml) - Html - </span>
RazorIRToken - (57:1,26 [2] BasicTest.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(61, 7, false);
CSharpExpression - (61:2,2 [7] BasicTest.cshtml)
RazorIRToken - (61:2,2 [7] BasicTest.cshtml) - CSharp - "Hello"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(69, 2, true);
HtmlContent - (69:2,10 [2] BasicTest.cshtml)
RazorIRToken - (69:2,10 [2] BasicTest.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(71, 87, false);
TagHelper - (71:3,0 [87] BasicTest.cshtml) - form - TagMode.StartTagAndEndTag
TagHelperBody -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(91, 6, true);
HtmlContent - (91:3,20 [6] BasicTest.cshtml)
RazorIRToken - (91:3,20 [6] BasicTest.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(97, 52, false);
TagHelper - (97:4,4 [52] BasicTest.cshtml) - input - TagMode.SelfClosing
TagHelperBody -
@ -50,46 +50,46 @@ Document -
CSharpExpression - (122:4,29 [12] BasicTest.cshtml)
RazorIRToken - (122:4,29 [12] BasicTest.cshtml) - CSharp - DateTime.Now
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(149, 2, true);
HtmlContent - (149:4,56 [2] BasicTest.cshtml)
RazorIRToken - (149:4,56 [2] BasicTest.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CreateTagHelper - - FormTagHelper
AddPreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_2
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(158, 31, true);
HtmlContent - (158:5,7 [31] BasicTest.cshtml)
RazorIRToken - (158:5,7 [4] BasicTest.cshtml) - Html - \n\n
RazorIRToken - (162:7,0 [6] BasicTest.cshtml) - Html - <span>
RazorIRToken - (168:7,6 [21] BasicTest.cshtml) - Html - Here is some content
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(207, 9, true);
HtmlContent - (207:7,45 [9] BasicTest.cshtml)
RazorIRToken - (207:7,45 [7] BasicTest.cshtml) - Html - </span>
RazorIRToken - (214:7,52 [2] BasicTest.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(217, 29, false);
CSharpExpression - (217:8,1 [29] BasicTest.cshtml)
RazorIRToken - (217:8,1 [4] BasicTest.cshtml) - CSharp - Foo(
Template - (222:8,6 [24] BasicTest.cshtml)
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - BeginContext(222, 24, true);
HtmlContent - (222:8,6 [24] BasicTest.cshtml)
RazorIRToken - (222:8,6 [6] BasicTest.cshtml) - Html - <span>
RazorIRToken - (228:8,12 [11] BasicTest.cshtml) - Html - Hello world
RazorIRToken - (239:8,23 [7] BasicTest.cshtml) - Html - </span>
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();
RazorIRToken - (246:8,30 [1] BasicTest.cshtml) - CSharp - )
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - EndContext();

View File

@ -47,7 +47,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
Assert.Equal(2, @class.Children.Count); // No class node created for a VCTH
for (var i = 0; i < @class.Children.Count; i++)
{
Assert.IsNotType<CSharpStatementIRNode>(@class.Children[i]);
Assert.IsNotType<CSharpCodeIRNode>(@class.Children[i]);
}
}
@ -95,7 +95,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
var @class = FindClassNode(irDocument);
Assert.Equal(3, @class.Children.Count);
var vcthClass = Assert.IsType<CSharpStatementIRNode>(@class.Children[2]);
var vcthClass = Assert.IsType<CSharpCodeIRNode>(@class.Children[2]);
var tokenNode = vcthClass.Children[0] as RazorIRToken;
Assert.Equal(
@"[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute(""tagcloud"")]
@ -167,7 +167,7 @@ public class __Generated__TagCloudViewComponentTagHelper : Microsoft.AspNetCore.
var @class = FindClassNode(irDocument);
Assert.Equal(3, @class.Children.Count);
var vcthClass = Assert.IsType<CSharpStatementIRNode>(@class.Children[2]);
var vcthClass = Assert.IsType<CSharpCodeIRNode>(@class.Children[2]);
var tokenNode = vcthClass.Children[0] as RazorIRToken;
Assert.Equal(
@"[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute(""tagcloud"")]
@ -253,7 +253,7 @@ public class __Generated__TagCloudViewComponentTagHelper : Microsoft.AspNetCore.
var @class = FindClassNode(irDocument);
Assert.Equal(3, @class.Children.Count);
var vcthClass = Assert.IsType<CSharpStatementIRNode>(@class.Children[2]);
var vcthClass = Assert.IsType<CSharpCodeIRNode>(@class.Children[2]);
var tokenNode = vcthClass.Children[0] as RazorIRToken;
Assert.Equal(
@"[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute(""tagcloud"")]

View File

@ -236,7 +236,7 @@ __o = i++;
}
[Fact]
public void WriteCSharpStatement_WhitespaceContent_DoesNothing()
public void WriteCSharpCode_WhitespaceContent_DoesNothing()
{
// Arrange
var writer = new DesignTimeBasicWriter();
@ -246,7 +246,7 @@ __o = i++;
Writer = new Legacy.CSharpCodeWriter(),
};
var node = new CSharpStatementIRNode();
var node = new CSharpCodeIRNode();
RazorIRBuilder.Create(node)
.Add(new RazorIRToken()
{
@ -255,7 +255,7 @@ __o = i++;
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -263,7 +263,7 @@ __o = i++;
}
[Fact]
public void WriteCSharpStatement_WhitespaceContentWithSource_WritesContent()
public void WriteCSharpCode_WhitespaceContentWithSource_WritesContent()
{
// Arrange
var writer = new DesignTimeBasicWriter();
@ -274,7 +274,7 @@ __o = i++;
Options = RazorCodeGenerationOptions.CreateDefault(),
};
var node = new CSharpStatementIRNode()
var node = new CSharpCodeIRNode()
{
Source = new SourceSpan("test.cshtml", 0, 0, 0, 3),
};
@ -286,7 +286,7 @@ __o = i++;
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -298,7 +298,7 @@ __o = i++;
}
[Fact]
public void WriteCSharpStatement_SkipsLinePragma_WithoutSource()
public void WriteCSharpCode_SkipsLinePragma_WithoutSource()
{
// Arrange
var writer = new DesignTimeBasicWriter();
@ -308,7 +308,7 @@ __o = i++;
Writer = new Legacy.CSharpCodeWriter(),
};
var node = new CSharpStatementIRNode();
var node = new CSharpCodeIRNode();
RazorIRBuilder.Create(node)
.Add(new RazorIRToken()
{
@ -317,7 +317,7 @@ __o = i++;
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -329,7 +329,7 @@ __o = i++;
}
[Fact]
public void WriteCSharpStatement_WritesLinePragma_WithSource()
public void WriteCSharpCode_WritesLinePragma_WithSource()
{
// Arrange
var writer = new DesignTimeBasicWriter();
@ -340,7 +340,7 @@ __o = i++;
Options = RazorCodeGenerationOptions.CreateDefault(),
};
var node = new CSharpStatementIRNode()
var node = new CSharpCodeIRNode()
{
Source = new SourceSpan("test.cshtml", 0, 0, 0, 13),
};
@ -352,7 +352,7 @@ __o = i++;
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -368,7 +368,7 @@ if (true) { }
}
[Fact]
public void WriteCSharpStatement_WritesPadding_WithSource()
public void WriteCSharpCode_WritesPadding_WithSource()
{
// Arrange
var writer = new DesignTimeBasicWriter();
@ -379,7 +379,7 @@ if (true) { }
Options = RazorCodeGenerationOptions.CreateDefault(),
};
var node = new CSharpStatementIRNode()
var node = new CSharpCodeIRNode()
{
Source = new SourceSpan("test.cshtml", 0, 0, 0, 17),
};
@ -391,7 +391,7 @@ if (true) { }
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -436,7 +436,7 @@ if (true) { }
}
[Fact]
public void WriteCSharpStatementAttributeValue_RendersCorrectly()
public void WriteCSharpCodeAttributeValue_RendersCorrectly()
{
var writer = new DesignTimeBasicWriter();
var context = GetCSharpRenderingContext(writer);
@ -446,10 +446,10 @@ if (true) { }
var codeDocument = RazorCodeDocument.Create(sourceDocument);
context.CodeDocument = codeDocument;
var irDocument = Lower(codeDocument);
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpStatementAttributeValueIRNode;
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpCodeAttributeValueIRNode;
// Act
writer.WriteCSharpStatementAttributeValue(context, node);
writer.WriteCSharpCodeAttributeValue(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -465,7 +465,7 @@ if (true) { }
}
[Fact]
public void WriteCSharpStatementAttributeValue_WithExpression_RendersCorrectly()
public void WriteCSharpCodeAttributeValue_WithExpression_RendersCorrectly()
{
var writer = new DesignTimeBasicWriter();
var context = GetCSharpRenderingContext(writer);
@ -475,10 +475,10 @@ if (true) { }
var codeDocument = RazorCodeDocument.Create(sourceDocument);
context.CodeDocument = codeDocument;
var irDocument = Lower(codeDocument);
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpStatementAttributeValueIRNode;
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpCodeAttributeValueIRNode;
// Act
writer.WriteCSharpStatementAttributeValue(context, node);
writer.WriteCSharpCodeAttributeValue(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();

View File

@ -295,7 +295,7 @@ Test(i++);
}
[Fact]
public void WriteCSharpStatement_WhitespaceContent_DoesNothing()
public void WriteCSharpCode_WhitespaceContent_DoesNothing()
{
// Arrange
var writer = new RuntimeBasicWriter();
@ -305,7 +305,7 @@ Test(i++);
Writer = new Legacy.CSharpCodeWriter(),
};
var node = new CSharpStatementIRNode();
var node = new CSharpCodeIRNode();
RazorIRBuilder.Create(node)
.Add(new RazorIRToken()
{
@ -314,7 +314,7 @@ Test(i++);
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -322,7 +322,7 @@ Test(i++);
}
[Fact]
public void WriteCSharpStatement_SkipsLinePragma_WithoutSource()
public void WriteCSharpCode_SkipsLinePragma_WithoutSource()
{
// Arrange
var writer = new RuntimeBasicWriter();
@ -332,7 +332,7 @@ Test(i++);
Writer = new Legacy.CSharpCodeWriter(),
};
var node = new CSharpStatementIRNode();
var node = new CSharpCodeIRNode();
RazorIRBuilder.Create(node)
.Add(new RazorIRToken()
{
@ -341,7 +341,7 @@ Test(i++);
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -353,7 +353,7 @@ Test(i++);
}
[Fact]
public void WriteCSharpStatement_WritesLinePragma_WithSource()
public void WriteCSharpCode_WritesLinePragma_WithSource()
{
// Arrange
var writer = new RuntimeBasicWriter();
@ -364,7 +364,7 @@ Test(i++);
Options = RazorCodeGenerationOptions.CreateDefault(),
};
var node = new CSharpStatementIRNode()
var node = new CSharpCodeIRNode()
{
Source = new SourceSpan("test.cshtml", 0, 0, 0, 13),
};
@ -376,7 +376,7 @@ Test(i++);
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -392,7 +392,7 @@ if (true) { }
}
[Fact]
public void WriteCSharpStatement_WritesPadding_WithSource()
public void WriteCSharpCode_WritesPadding_WithSource()
{
// Arrange
var writer = new RuntimeBasicWriter();
@ -403,7 +403,7 @@ if (true) { }
Options = RazorCodeGenerationOptions.CreateDefault(),
};
var node = new CSharpStatementIRNode()
var node = new CSharpCodeIRNode()
{
Source = new SourceSpan("test.cshtml", 0, 0, 0, 17),
};
@ -415,7 +415,7 @@ if (true) { }
});
// Act
writer.WriteCSharpStatement(context, node);
writer.WriteCSharpCode(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();
@ -571,7 +571,7 @@ WriteAttributeValue("" "", 27, false, 28, 6, false);
}
[Fact]
public void WriteCSharpStatementAttributeValue_BuffersResult()
public void WriteCSharpCodeAttributeValue_BuffersResult()
{
var writer = new RuntimeBasicWriter();
var context = GetCSharpRenderingContext(writer);
@ -581,10 +581,10 @@ WriteAttributeValue("" "", 27, false, 28, 6, false);
var codeDocument = RazorCodeDocument.Create(sourceDocument);
context.CodeDocument = codeDocument;
var irDocument = Lower(codeDocument);
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpStatementAttributeValueIRNode;
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpCodeAttributeValueIRNode;
// Act
writer.WriteCSharpStatementAttributeValue(context, node);
writer.WriteCSharpCodeAttributeValue(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();

View File

@ -62,7 +62,7 @@ AddHtmlAttributeValue("" "", 27, false, 28, 6, false);
}
[Fact]
public void WriteCSharpStatementAttributeValue_BuffersResult()
public void WriteCSharpCodeAttributeValue_BuffersResult()
{
var writer = new TagHelperHtmlAttributeRuntimeBasicWriter();
var context = GetCSharpRenderingContext(writer);
@ -72,10 +72,10 @@ AddHtmlAttributeValue("" "", 27, false, 28, 6, false);
var codeDocument = RazorCodeDocument.Create(sourceDocument);
context.CodeDocument = codeDocument;
var irDocument = Lower(codeDocument);
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpStatementAttributeValueIRNode;
var node = irDocument.Children.OfType<HtmlAttributeIRNode>().Single().Children[1] as CSharpCodeAttributeValueIRNode;
// Act
writer.WriteCSharpStatementAttributeValue(context, node);
writer.WriteCSharpCodeAttributeValue(context, node);
// Assert
var csharp = context.Writer.Builder.ToString();

View File

@ -64,7 +64,7 @@ namespace Microsoft.AspNetCore.Razor.Language
var @class = @namespace.Children[0];
Children(@class,
node => Assert.IsType<MethodDeclarationIRNode>(node),
node => CSharpStatement(" var value = true; ", node));
node => CSharpCode(" var value = true; ", node));
var method = (MethodDeclarationIRNode)@class.Children[0];
Assert.Empty(method.Children);
}
@ -96,9 +96,9 @@ namespace Microsoft.AspNetCore.Razor.Language
var @class = @namespace.Children[0];
var method = SingleChild<MethodDeclarationIRNode>(@class);
Children(method,
node => CSharpStatement("DefineSection(\"Header\", async () => {", node),
node => CSharpCode("DefineSection(\"Header\", async () => {", node),
node => Html(" <p>Hello World</p> ", node),
node => CSharpStatement("});", node));
node => CSharpCode("});", node));
}
[Fact]
@ -129,9 +129,9 @@ namespace Microsoft.AspNetCore.Razor.Language
var @class = @namespace.Children[0];
var method = SingleChild<MethodDeclarationIRNode>(@class);
Children(method,
node => CSharpStatement("DefineSection(\"Header\", async (__razor_section_writer) => {", node),
node => CSharpCode("DefineSection(\"Header\", async (__razor_section_writer) => {", node),
node => Html(" <p>Hello World</p> ", node),
node => CSharpStatement("});", node));
node => CSharpCode("});", node));
}
private static DocumentIRNode Lower(RazorCodeDocument codeDocument)

View File

@ -167,7 +167,7 @@ namespace Microsoft.AspNetCore.Razor.Language
n => Directive(
"functions",
n,
c => Assert.IsType<CSharpStatementIRNode>(c)));
c => Assert.IsType<CSharpCodeIRNode>(c)));
}
[Fact]

View File

@ -206,7 +206,7 @@ namespace Microsoft.AspNetCore.Razor.Language
var builder = RazorIRBuilder.Create(irDocument);
builder.Add(new HtmlContentIRNode());
builder.Add(new CSharpStatementIRNode());
builder.Add(new CSharpCodeIRNode());
var pass = new TestDocumentClassifierPass();
pass.Engine = RazorEngine.CreateEmpty(b => { });
@ -221,7 +221,7 @@ namespace Microsoft.AspNetCore.Razor.Language
Children(
method,
n => Assert.IsType<HtmlContentIRNode>(n),
n => Assert.IsType<CSharpStatementIRNode>(n));
n => Assert.IsType<CSharpCodeIRNode>(n));
}
[Fact]
@ -235,7 +235,7 @@ namespace Microsoft.AspNetCore.Razor.Language
var builder = RazorIRBuilder.Create(irDocument);
builder.Add(new HtmlContentIRNode());
builder.Add(new CSharpStatementIRNode());
builder.Add(new CSharpCodeIRNode());
var pass = new TestDocumentClassifierPass()
{
@ -270,7 +270,7 @@ namespace Microsoft.AspNetCore.Razor.Language
var builder = RazorIRBuilder.Create(irDocument);
builder.Add(new HtmlContentIRNode());
builder.Add(new CSharpStatementIRNode());
builder.Add(new CSharpCodeIRNode());
var pass = new TestDocumentClassifierPass()
{

View File

@ -361,6 +361,13 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
RunRuntimeTagHelpersTest(TestTagHelperDescriptors.DefaultPAndInputTagHelperDescriptors);
}
[Fact]
public void DuplicateTargetTagHelper_Runtime()
{
// Arrange, Act & Assert
RunRuntimeTagHelpersTest(TestTagHelperDescriptors.DuplicateTargetTagHelperDescriptors);
}
[Fact]
public void AttributeTargetingTagHelpers_Runtime()
{
@ -795,6 +802,13 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
RunDesignTimeTagHelpersTest(TestTagHelperDescriptors.DefaultPAndInputTagHelperDescriptors);
}
[Fact]
public void DuplicateTargetTagHelper_DesignTime()
{
// Arrange, Act & Assert
RunDesignTimeTagHelpersTest(TestTagHelperDescriptors.DuplicateTargetTagHelperDescriptors);
}
[Fact]
public void AttributeTargetingTagHelpers_DesignTime()
{

View File

@ -292,6 +292,46 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
}
}
public static IEnumerable<TagHelperDescriptor> DuplicateTargetTagHelperDescriptors
{
get
{
var typePropertyInfo = typeof(TestType).GetRuntimeProperty("Type");
var checkedPropertyInfo = typeof(TestType).GetRuntimeProperty("Checked");
return new[]
{
CreateTagHelperDescriptor(
tagName: "*",
typeName: "TestNamespace.CatchAllTagHelper",
assemblyName: "TestAssembly",
attributes: new Action<BoundAttributeDescriptorBuilder>[]
{
builder => BuildBoundAttributeDescriptorFromPropertyInfo(builder, "type", typePropertyInfo),
builder => BuildBoundAttributeDescriptorFromPropertyInfo(builder, "checked", checkedPropertyInfo),
},
ruleBuilders: new Action<TagMatchingRuleBuilder>[]
{
builder => builder.RequireAttribute(attribute => attribute.Name("type")),
builder => builder.RequireAttribute(attribute => attribute.Name("checked"))
}),
CreateTagHelperDescriptor(
tagName: "input",
typeName: "TestNamespace.InputTagHelper",
assemblyName: "TestAssembly",
attributes: new Action<BoundAttributeDescriptorBuilder>[]
{
builder => BuildBoundAttributeDescriptorFromPropertyInfo(builder, "type", typePropertyInfo),
builder => BuildBoundAttributeDescriptorFromPropertyInfo(builder, "checked", checkedPropertyInfo),
},
ruleBuilders: new Action<TagMatchingRuleBuilder>[]
{
builder => builder.RequireAttribute(attribute => attribute.Name("type")),
builder => builder.RequireAttribute(attribute => attribute.Name("checked"))
})
};
}
}
public static IEnumerable<TagHelperDescriptor> AttributeTargetingTagHelperDescriptors
{
get

View File

@ -4,7 +4,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AddTagHelperDirective_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] AddTagHelperDirective.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (31:0,31 [2] AddTagHelperDirective.cshtml)

View File

@ -4,7 +4,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_AttributeTargetingTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [15] AttributeTargetingTagHelpers.cshtml) - *, TestAssembly
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.PTagHelper - TestNamespace.CatchAllTagHelper - TestNamespace.InputTagHelper - TestNamespace.InputTagHelper2
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync

View File

@ -3,7 +3,7 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Await_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (89:5,1 [102] Await.cshtml)
@ -30,14 +30,14 @@ Document -
RazorIRToken - (263:10,54 [6] Await.cshtml) - Html - \n
RazorIRToken - (269:11,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (272:11,7 [30] Await.cshtml) - Html - Basic Asynchronous Statement:
CSharpStatement - (304:11,39 [14] Await.cshtml)
CSharpCode - (304:11,39 [14] Await.cshtml)
RazorIRToken - (304:11,39 [14] Await.cshtml) - CSharp - await Foo();
HtmlContent - (319:11,54 [50] Await.cshtml)
RazorIRToken - (319:11,54 [4] Await.cshtml) - Html - </p>
RazorIRToken - (323:11,58 [6] Await.cshtml) - Html - \n
RazorIRToken - (329:12,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (332:12,7 [37] Await.cshtml) - Html - Basic Asynchronous Statement Nested:
CSharpStatement - (371:12,46 [1] Await.cshtml)
CSharpCode - (371:12,46 [1] Await.cshtml)
RazorIRToken - (371:12,46 [1] Await.cshtml) - CSharp -
HtmlContent - (372:12,47 [3] Await.cshtml)
RazorIRToken - (372:12,47 [3] Await.cshtml) - Html - <b>
@ -45,7 +45,7 @@ Document -
RazorIRToken - (376:12,51 [11] Await.cshtml) - CSharp - await Foo()
HtmlContent - (387:12,62 [4] Await.cshtml)
RazorIRToken - (387:12,62 [4] Await.cshtml) - Html - </b>
CSharpStatement - (391:12,66 [1] Await.cshtml)
CSharpCode - (391:12,66 [1] Await.cshtml)
RazorIRToken - (391:12,66 [1] Await.cshtml) - CSharp -
HtmlContent - (393:12,68 [54] Await.cshtml)
RazorIRToken - (393:12,68 [4] Await.cshtml) - Html - </p>
@ -88,21 +88,21 @@ Document -
RazorIRToken - (743:20,68 [6] Await.cshtml) - Html - \n
RazorIRToken - (749:21,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (752:21,7 [33] Await.cshtml) - Html - Advanced Asynchronous Statement:
CSharpStatement - (787:21,42 [39] Await.cshtml)
CSharpCode - (787:21,42 [39] Await.cshtml)
RazorIRToken - (787:21,42 [39] Await.cshtml) - CSharp - await Foo(something, hello: "world");
HtmlContent - (827:21,82 [55] Await.cshtml)
RazorIRToken - (827:21,82 [4] Await.cshtml) - Html - </p>
RazorIRToken - (831:21,86 [6] Await.cshtml) - Html - \n
RazorIRToken - (837:22,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (840:22,7 [42] Await.cshtml) - Html - Advanced Asynchronous Statement Extended:
CSharpStatement - (884:22,51 [21] Await.cshtml)
CSharpCode - (884:22,51 [21] Await.cshtml)
RazorIRToken - (884:22,51 [21] Await.cshtml) - CSharp - await Foo.Bar(1, 2)
HtmlContent - (906:22,73 [53] Await.cshtml)
RazorIRToken - (906:22,73 [4] Await.cshtml) - Html - </p>
RazorIRToken - (910:22,77 [6] Await.cshtml) - Html - \n
RazorIRToken - (916:23,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (919:23,7 [40] Await.cshtml) - Html - Advanced Asynchronous Statement Nested:
CSharpStatement - (961:23,49 [1] Await.cshtml)
CSharpCode - (961:23,49 [1] Await.cshtml)
RazorIRToken - (961:23,49 [1] Await.cshtml) - CSharp -
HtmlContent - (962:23,50 [3] Await.cshtml)
RazorIRToken - (962:23,50 [3] Await.cshtml) - Html - <b>
@ -110,7 +110,7 @@ Document -
RazorIRToken - (966:23,54 [27] Await.cshtml) - CSharp - await Foo(boolValue: false)
HtmlContent - (993:23,81 [4] Await.cshtml)
RazorIRToken - (993:23,81 [4] Await.cshtml) - Html - </b>
CSharpStatement - (997:23,85 [1] Await.cshtml)
CSharpCode - (997:23,85 [1] Await.cshtml)
RazorIRToken - (997:23,85 [1] Await.cshtml) - CSharp -
HtmlContent - (999:23,87 [57] Await.cshtml)
RazorIRToken - (999:23,87 [4] Await.cshtml) - Html - </p>
@ -123,5 +123,5 @@ Document -
RazorIRToken - (1076:24,71 [4] Await.cshtml) - Html - </p>
RazorIRToken - (1080:24,75 [2] Await.cshtml) - Html - \n
RazorIRToken - (1082:25,0 [10] Await.cshtml) - Html - </section>
CSharpStatement - (12:0,12 [76] Await.cshtml)
CSharpCode - (12:0,12 [76] Await.cshtml)
RazorIRToken - (12:0,12 [76] Await.cshtml) - CSharp - \n public async Task<string> Foo()\n {\n return "Bar";\n }\n

View File

@ -27,7 +27,7 @@ Document -
RazorIRToken - (263:10,54 [6] Await.cshtml) - Html - \n
RazorIRToken - (269:11,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (272:11,7 [30] Await.cshtml) - Html - Basic Asynchronous Statement:
CSharpStatement - (304:11,39 [14] Await.cshtml)
CSharpCode - (304:11,39 [14] Await.cshtml)
RazorIRToken - (304:11,39 [14] Await.cshtml) - CSharp - await Foo();
HtmlContent - (319:11,54 [50] Await.cshtml)
RazorIRToken - (319:11,54 [4] Await.cshtml) - Html - </p>
@ -42,7 +42,7 @@ Document -
HtmlContent - (387:12,62 [5] Await.cshtml)
RazorIRToken - (387:12,62 [4] Await.cshtml) - Html - </b>
RazorIRToken - (391:12,66 [1] Await.cshtml) - Html -
CSharpStatement - (392:12,67 [0] Await.cshtml)
CSharpCode - (392:12,67 [0] Await.cshtml)
RazorIRToken - (392:12,67 [0] Await.cshtml) - CSharp -
HtmlContent - (393:12,68 [54] Await.cshtml)
RazorIRToken - (393:12,68 [4] Await.cshtml) - Html - </p>
@ -85,14 +85,14 @@ Document -
RazorIRToken - (743:20,68 [6] Await.cshtml) - Html - \n
RazorIRToken - (749:21,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (752:21,7 [33] Await.cshtml) - Html - Advanced Asynchronous Statement:
CSharpStatement - (787:21,42 [39] Await.cshtml)
CSharpCode - (787:21,42 [39] Await.cshtml)
RazorIRToken - (787:21,42 [39] Await.cshtml) - CSharp - await Foo(something, hello: "world");
HtmlContent - (827:21,82 [55] Await.cshtml)
RazorIRToken - (827:21,82 [4] Await.cshtml) - Html - </p>
RazorIRToken - (831:21,86 [6] Await.cshtml) - Html - \n
RazorIRToken - (837:22,4 [3] Await.cshtml) - Html - <p>
RazorIRToken - (840:22,7 [42] Await.cshtml) - Html - Advanced Asynchronous Statement Extended:
CSharpStatement - (884:22,51 [21] Await.cshtml)
CSharpCode - (884:22,51 [21] Await.cshtml)
RazorIRToken - (884:22,51 [21] Await.cshtml) - CSharp - await Foo.Bar(1, 2)
HtmlContent - (906:22,73 [53] Await.cshtml)
RazorIRToken - (906:22,73 [4] Await.cshtml) - Html - </p>
@ -107,7 +107,7 @@ Document -
HtmlContent - (993:23,81 [5] Await.cshtml)
RazorIRToken - (993:23,81 [4] Await.cshtml) - Html - </b>
RazorIRToken - (997:23,85 [1] Await.cshtml) - Html -
CSharpStatement - (998:23,86 [0] Await.cshtml)
CSharpCode - (998:23,86 [0] Await.cshtml)
RazorIRToken - (998:23,86 [0] Await.cshtml) - CSharp -
HtmlContent - (999:23,87 [57] Await.cshtml)
RazorIRToken - (999:23,87 [4] Await.cshtml) - Html - </p>
@ -120,5 +120,5 @@ Document -
RazorIRToken - (1076:24,71 [4] Await.cshtml) - Html - </p>
RazorIRToken - (1080:24,75 [2] Await.cshtml) - Html - \n
RazorIRToken - (1082:25,0 [10] Await.cshtml) - Html - </section>
CSharpStatement - (12:0,12 [76] Await.cshtml)
CSharpCode - (12:0,12 [76] Await.cshtml)
RazorIRToken - (12:0,12 [76] Await.cshtml) - CSharp - \n public async Task<string> Foo()\n {\n return "Bar";\n }\n

View File

@ -7,7 +7,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_DesignTime - Hello -
DesignTimeDirective -
DirectiveToken - (119:4,10 [5] BasicImports_Imports0.cshtml) - Hello
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [18] BasicImports.cshtml)

View File

@ -4,7 +4,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] BasicTagHelpers.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.PTagHelper - TestNamespace.InputTagHelper - TestNamespace.InputTagHelper2
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync

View File

@ -5,7 +5,7 @@ Document -
DesignTimeDirective -
DirectiveToken - (17:0,17 [5] BasicTagHelpers_Prefixed.cshtml) - "THS"
DirectiveToken - (38:1,14 [17] BasicTagHelpers_Prefixed.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.PTagHelper - TestNamespace.InputTagHelper - TestNamespace.InputTagHelper2
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync

View File

@ -3,14 +3,14 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Blocks_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [18] Blocks.cshtml)
CSharpCode - (2:0,2 [18] Blocks.cshtml)
RazorIRToken - (2:0,2 [18] Blocks.cshtml) - CSharp - \n int i = 1;\n
HtmlContent - (23:3,0 [2] Blocks.cshtml)
RazorIRToken - (23:3,0 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (26:4,1 [22] Blocks.cshtml)
CSharpCode - (26:4,1 [22] Blocks.cshtml)
RazorIRToken - (26:4,1 [22] Blocks.cshtml) - CSharp - while(i <= 10) {\n
HtmlContent - (48:5,4 [19] Blocks.cshtml)
RazorIRToken - (48:5,4 [3] Blocks.cshtml) - Html - <p>
@ -19,37 +19,37 @@ Document -
RazorIRToken - (69:5,25 [1] Blocks.cshtml) - CSharp - i
HtmlContent - (71:5,27 [4] Blocks.cshtml)
RazorIRToken - (71:5,27 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (75:5,31 [16] Blocks.cshtml)
CSharpCode - (75:5,31 [16] Blocks.cshtml)
RazorIRToken - (75:5,31 [16] Blocks.cshtml) - CSharp - \n i += 1;\n}
HtmlContent - (91:7,1 [4] Blocks.cshtml)
RazorIRToken - (91:7,1 [4] Blocks.cshtml) - Html - \n\n
CSharpStatement - (96:9,1 [19] Blocks.cshtml)
CSharpCode - (96:9,1 [19] Blocks.cshtml)
RazorIRToken - (96:9,1 [19] Blocks.cshtml) - CSharp - if(i == 11) {\n
HtmlContent - (115:10,4 [25] Blocks.cshtml)
RazorIRToken - (115:10,4 [3] Blocks.cshtml) - Html - <p>
RazorIRToken - (118:10,7 [18] Blocks.cshtml) - Html - We wrote 10 lines!
RazorIRToken - (136:10,25 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (140:10,29 [3] Blocks.cshtml)
CSharpCode - (140:10,29 [3] Blocks.cshtml)
RazorIRToken - (140:10,29 [3] Blocks.cshtml) - CSharp - \n}
HtmlContent - (143:11,1 [4] Blocks.cshtml)
RazorIRToken - (143:11,1 [4] Blocks.cshtml) - Html - \n\n
CSharpStatement - (148:13,1 [35] Blocks.cshtml)
CSharpCode - (148:13,1 [35] Blocks.cshtml)
RazorIRToken - (148:13,1 [35] Blocks.cshtml) - CSharp - switch(i) {\n case 11:\n
HtmlContent - (183:15,8 [36] Blocks.cshtml)
RazorIRToken - (183:15,8 [3] Blocks.cshtml) - Html - <p>
RazorIRToken - (186:15,11 [29] Blocks.cshtml) - Html - No really, we wrote 10 lines!
RazorIRToken - (215:15,40 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (219:15,44 [40] Blocks.cshtml)
CSharpCode - (219:15,44 [40] Blocks.cshtml)
RazorIRToken - (219:15,44 [40] Blocks.cshtml) - CSharp - \n break;\n default:\n
HtmlContent - (259:18,8 [29] Blocks.cshtml)
RazorIRToken - (259:18,8 [3] Blocks.cshtml) - Html - <p>
RazorIRToken - (262:18,11 [22] Blocks.cshtml) - Html - Actually, we didn't...
RazorIRToken - (284:18,33 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (288:18,37 [19] Blocks.cshtml)
CSharpCode - (288:18,37 [19] Blocks.cshtml)
RazorIRToken - (288:18,37 [19] Blocks.cshtml) - CSharp - \n break;\n}
HtmlContent - (307:20,1 [4] Blocks.cshtml)
RazorIRToken - (307:20,1 [4] Blocks.cshtml) - Html - \n\n
CSharpStatement - (312:22,1 [39] Blocks.cshtml)
CSharpCode - (312:22,1 [39] Blocks.cshtml)
RazorIRToken - (312:22,1 [39] Blocks.cshtml) - CSharp - for(int j = 1; j <= 10; j += 2) {\n
HtmlContent - (351:23,4 [25] Blocks.cshtml)
RazorIRToken - (351:23,4 [3] Blocks.cshtml) - Html - <p>
@ -58,17 +58,17 @@ Document -
RazorIRToken - (378:23,31 [1] Blocks.cshtml) - CSharp - j
HtmlContent - (380:23,33 [4] Blocks.cshtml)
RazorIRToken - (380:23,33 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (384:23,37 [3] Blocks.cshtml)
CSharpCode - (384:23,37 [3] Blocks.cshtml)
RazorIRToken - (384:23,37 [3] Blocks.cshtml) - CSharp - \n}
HtmlContent - (387:24,1 [4] Blocks.cshtml)
RazorIRToken - (387:24,1 [4] Blocks.cshtml) - Html - \n\n
CSharpStatement - (392:26,1 [11] Blocks.cshtml)
CSharpCode - (392:26,1 [11] Blocks.cshtml)
RazorIRToken - (392:26,1 [11] Blocks.cshtml) - CSharp - try {\n
HtmlContent - (403:27,4 [35] Blocks.cshtml)
RazorIRToken - (403:27,4 [3] Blocks.cshtml) - Html - <p>
RazorIRToken - (406:27,7 [28] Blocks.cshtml) - Html - That time, we wrote 5 lines!
RazorIRToken - (434:27,35 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (438:27,39 [31] Blocks.cshtml)
CSharpCode - (438:27,39 [31] Blocks.cshtml)
RazorIRToken - (438:27,39 [31] Blocks.cshtml) - CSharp - \n} catch(Exception ex) {\n
HtmlContent - (469:29,4 [29] Blocks.cshtml)
RazorIRToken - (469:29,4 [3] Blocks.cshtml) - Html - <p>
@ -77,7 +77,7 @@ Document -
RazorIRToken - (500:29,35 [10] Blocks.cshtml) - CSharp - ex.Message
HtmlContent - (511:29,46 [4] Blocks.cshtml)
RazorIRToken - (511:29,46 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (515:29,50 [3] Blocks.cshtml)
CSharpCode - (515:29,50 [3] Blocks.cshtml)
RazorIRToken - (515:29,50 [3] Blocks.cshtml) - CSharp - \n}
HtmlContent - (518:30,1 [16] Blocks.cshtml)
RazorIRToken - (518:30,1 [4] Blocks.cshtml) - Html - \n\n
@ -88,11 +88,11 @@ Document -
HtmlContent - (536:32,14 [8] Blocks.cshtml)
RazorIRToken - (536:32,14 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (540:32,18 [4] Blocks.cshtml) - Html - \n\n
CSharpStatement - (545:34,1 [26] Blocks.cshtml)
CSharpCode - (545:34,1 [26] Blocks.cshtml)
RazorIRToken - (545:34,1 [26] Blocks.cshtml) - CSharp - lock(new object()) {\n
HtmlContent - (571:35,4 [47] Blocks.cshtml)
RazorIRToken - (571:35,4 [3] Blocks.cshtml) - Html - <p>
RazorIRToken - (574:35,7 [40] Blocks.cshtml) - Html - This block is locked, for your security!
RazorIRToken - (614:35,47 [4] Blocks.cshtml) - Html - </p>
CSharpStatement - (618:35,51 [3] Blocks.cshtml)
CSharpCode - (618:35,51 [3] Blocks.cshtml)
RazorIRToken - (618:35,51 [3] Blocks.cshtml) - CSharp - \n}

View File

@ -3,11 +3,11 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Blocks_Runtime - -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [18] Blocks.cshtml)
CSharpCode - (2:0,2 [18] Blocks.cshtml)
RazorIRToken - (2:0,2 [18] Blocks.cshtml) - CSharp - \n int i = 1;\n
HtmlContent - (23:3,0 [2] Blocks.cshtml)
RazorIRToken - (23:3,0 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (26:4,1 [18] Blocks.cshtml)
CSharpCode - (26:4,1 [18] Blocks.cshtml)
RazorIRToken - (26:4,1 [18] Blocks.cshtml) - CSharp - while(i <= 10) {\n
HtmlContent - (44:5,0 [23] Blocks.cshtml)
RazorIRToken - (44:5,0 [4] Blocks.cshtml) - Html -
@ -18,11 +18,11 @@ Document -
HtmlContent - (71:5,27 [6] Blocks.cshtml)
RazorIRToken - (71:5,27 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (75:5,31 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (77:6,0 [16] Blocks.cshtml)
CSharpCode - (77:6,0 [16] Blocks.cshtml)
RazorIRToken - (77:6,0 [16] Blocks.cshtml) - CSharp - i += 1;\n}\n
HtmlContent - (93:8,0 [2] Blocks.cshtml)
RazorIRToken - (93:8,0 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (96:9,1 [15] Blocks.cshtml)
CSharpCode - (96:9,1 [15] Blocks.cshtml)
RazorIRToken - (96:9,1 [15] Blocks.cshtml) - CSharp - if(i == 11) {\n
HtmlContent - (111:10,0 [31] Blocks.cshtml)
RazorIRToken - (111:10,0 [4] Blocks.cshtml) - Html -
@ -30,11 +30,11 @@ Document -
RazorIRToken - (118:10,7 [18] Blocks.cshtml) - Html - We wrote 10 lines!
RazorIRToken - (136:10,25 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (140:10,29 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (142:11,0 [3] Blocks.cshtml)
CSharpCode - (142:11,0 [3] Blocks.cshtml)
RazorIRToken - (142:11,0 [3] Blocks.cshtml) - CSharp - }\n
HtmlContent - (145:12,0 [2] Blocks.cshtml)
RazorIRToken - (145:12,0 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (148:13,1 [27] Blocks.cshtml)
CSharpCode - (148:13,1 [27] Blocks.cshtml)
RazorIRToken - (148:13,1 [27] Blocks.cshtml) - CSharp - switch(i) {\n case 11:\n
HtmlContent - (175:15,0 [46] Blocks.cshtml)
RazorIRToken - (175:15,0 [8] Blocks.cshtml) - Html -
@ -42,7 +42,7 @@ Document -
RazorIRToken - (186:15,11 [29] Blocks.cshtml) - Html - No really, we wrote 10 lines!
RazorIRToken - (215:15,40 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (219:15,44 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (221:16,0 [30] Blocks.cshtml)
CSharpCode - (221:16,0 [30] Blocks.cshtml)
RazorIRToken - (221:16,0 [30] Blocks.cshtml) - CSharp - break;\n default:\n
HtmlContent - (251:18,0 [39] Blocks.cshtml)
RazorIRToken - (251:18,0 [8] Blocks.cshtml) - Html -
@ -50,11 +50,11 @@ Document -
RazorIRToken - (262:18,11 [22] Blocks.cshtml) - Html - Actually, we didn't...
RazorIRToken - (284:18,33 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (288:18,37 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (290:19,0 [19] Blocks.cshtml)
CSharpCode - (290:19,0 [19] Blocks.cshtml)
RazorIRToken - (290:19,0 [19] Blocks.cshtml) - CSharp - break;\n}\n
HtmlContent - (309:21,0 [2] Blocks.cshtml)
RazorIRToken - (309:21,0 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (312:22,1 [35] Blocks.cshtml)
CSharpCode - (312:22,1 [35] Blocks.cshtml)
RazorIRToken - (312:22,1 [35] Blocks.cshtml) - CSharp - for(int j = 1; j <= 10; j += 2) {\n
HtmlContent - (347:23,0 [29] Blocks.cshtml)
RazorIRToken - (347:23,0 [4] Blocks.cshtml) - Html -
@ -65,11 +65,11 @@ Document -
HtmlContent - (380:23,33 [6] Blocks.cshtml)
RazorIRToken - (380:23,33 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (384:23,37 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (386:24,0 [3] Blocks.cshtml)
CSharpCode - (386:24,0 [3] Blocks.cshtml)
RazorIRToken - (386:24,0 [3] Blocks.cshtml) - CSharp - }\n
HtmlContent - (389:25,0 [2] Blocks.cshtml)
RazorIRToken - (389:25,0 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (392:26,1 [7] Blocks.cshtml)
CSharpCode - (392:26,1 [7] Blocks.cshtml)
RazorIRToken - (392:26,1 [7] Blocks.cshtml) - CSharp - try {\n
HtmlContent - (399:27,0 [41] Blocks.cshtml)
RazorIRToken - (399:27,0 [4] Blocks.cshtml) - Html -
@ -77,7 +77,7 @@ Document -
RazorIRToken - (406:27,7 [28] Blocks.cshtml) - Html - That time, we wrote 5 lines!
RazorIRToken - (434:27,35 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (438:27,39 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (440:28,0 [25] Blocks.cshtml)
CSharpCode - (440:28,0 [25] Blocks.cshtml)
RazorIRToken - (440:28,0 [25] Blocks.cshtml) - CSharp - } catch(Exception ex) {\n
HtmlContent - (465:29,0 [33] Blocks.cshtml)
RazorIRToken - (465:29,0 [4] Blocks.cshtml) - Html -
@ -88,7 +88,7 @@ Document -
HtmlContent - (511:29,46 [6] Blocks.cshtml)
RazorIRToken - (511:29,46 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (515:29,50 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (517:30,0 [3] Blocks.cshtml)
CSharpCode - (517:30,0 [3] Blocks.cshtml)
RazorIRToken - (517:30,0 [3] Blocks.cshtml) - CSharp - }\n
HtmlContent - (520:31,0 [14] Blocks.cshtml)
RazorIRToken - (520:31,0 [2] Blocks.cshtml) - Html - \n
@ -99,7 +99,7 @@ Document -
HtmlContent - (536:32,14 [8] Blocks.cshtml)
RazorIRToken - (536:32,14 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (540:32,18 [4] Blocks.cshtml) - Html - \n\n
CSharpStatement - (545:34,1 [22] Blocks.cshtml)
CSharpCode - (545:34,1 [22] Blocks.cshtml)
RazorIRToken - (545:34,1 [22] Blocks.cshtml) - CSharp - lock(new object()) {\n
HtmlContent - (567:35,0 [53] Blocks.cshtml)
RazorIRToken - (567:35,0 [4] Blocks.cshtml) - Html -
@ -107,5 +107,5 @@ Document -
RazorIRToken - (574:35,7 [40] Blocks.cshtml) - Html - This block is locked, for your security!
RazorIRToken - (614:35,47 [4] Blocks.cshtml) - Html - </p>
RazorIRToken - (618:35,51 [2] Blocks.cshtml) - Html - \n
CSharpStatement - (620:36,0 [1] Blocks.cshtml)
CSharpCode - (620:36,0 [1] Blocks.cshtml)
RazorIRToken - (620:36,0 [1] Blocks.cshtml) - CSharp - }

View File

@ -3,19 +3,19 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CSharp7_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [12] CSharp7.cshtml)
RazorIRToken - (0:0,0 [6] CSharp7.cshtml) - Html - <body>
RazorIRToken - (6:0,6 [6] CSharp7.cshtml) - Html - \n
CSharpStatement - (14:1,6 [187] CSharp7.cshtml)
CSharpCode - (14:1,6 [187] CSharp7.cshtml)
RazorIRToken - (14:1,6 [187] CSharp7.cshtml) - CSharp - \n var nameLookup = new Dictionary<string, (string FirstName, string LastName, object Extra)>()\n {\n ["John Doe"] = ("John", "Doe", true)\n };\n\n
CSharpStatement - (246:7,53 [253] CSharp7.cshtml)
CSharpCode - (246:7,53 [253] CSharp7.cshtml)
RazorIRToken - (246:7,53 [253] CSharp7.cshtml) - CSharp - \n\n int Sixteen = 0b0001_0000;\n long BillionsAndBillions = 100_000_000_000;\n double AvogadroConstant = 6.022_140_857_747_474e23;\n decimal GoldenRatio = 1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M;\n
HtmlContent - (502:14,0 [6] CSharp7.cshtml)
RazorIRToken - (502:14,0 [6] CSharp7.cshtml) - Html - \n
CSharpStatement - (509:15,5 [159] CSharp7.cshtml)
CSharpCode - (509:15,5 [159] CSharp7.cshtml)
RazorIRToken - (509:15,5 [159] CSharp7.cshtml) - CSharp - if (nameLookup.TryGetValue("John Doe", out var entry))\n {\n if (entry.Extra is bool alive)\n {\n // Do Something\n }\n }
HtmlContent - (668:21,5 [48] CSharp7.cshtml)
RazorIRToken - (668:21,5 [6] CSharp7.cshtml) - Html - \n
@ -35,7 +35,7 @@ Document -
RazorIRToken - (872:28,0 [4] CSharp7.cshtml) - Html -
RazorIRToken - (876:28,4 [6] CSharp7.cshtml) - Html - </div>
RazorIRToken - (882:28,10 [8] CSharp7.cshtml) - Html - \n\n
CSharpStatement - (891:30,5 [291] CSharp7.cshtml)
CSharpCode - (891:30,5 [291] CSharp7.cshtml)
RazorIRToken - (891:30,5 [291] CSharp7.cshtml) - CSharp - switch (entry.Extra)\n {\n case int age:\n // Do something\n break;\n case IEnumerable<string> childrenNames:\n // Do more something\n break;\n case null:\n // Do even more of something\n break;\n }
HtmlContent - (1182:41,5 [9] CSharp7.cshtml)
RazorIRToken - (1182:41,5 [2] CSharp7.cshtml) - Html - \n

View File

@ -6,17 +6,17 @@ Document -
HtmlContent - (0:0,0 [8] CSharp7.cshtml)
RazorIRToken - (0:0,0 [6] CSharp7.cshtml) - Html - <body>
RazorIRToken - (6:0,6 [2] CSharp7.cshtml) - Html - \n
CSharpStatement - (8:1,0 [4] CSharp7.cshtml)
CSharpCode - (8:1,0 [4] CSharp7.cshtml)
RazorIRToken - (8:1,0 [4] CSharp7.cshtml) - CSharp -
CSharpStatement - (14:1,6 [187] CSharp7.cshtml)
CSharpCode - (14:1,6 [187] CSharp7.cshtml)
RazorIRToken - (14:1,6 [187] CSharp7.cshtml) - CSharp - \n var nameLookup = new Dictionary<string, (string FirstName, string LastName, object Extra)>()\n {\n ["John Doe"] = ("John", "Doe", true)\n };\n\n
CSharpStatement - (246:7,53 [253] CSharp7.cshtml)
CSharpCode - (246:7,53 [253] CSharp7.cshtml)
RazorIRToken - (246:7,53 [253] CSharp7.cshtml) - CSharp - \n\n int Sixteen = 0b0001_0000;\n long BillionsAndBillions = 100_000_000_000;\n double AvogadroConstant = 6.022_140_857_747_474e23;\n decimal GoldenRatio = 1.618_033_988_749_894_848_204_586_834_365_638_117_720_309_179M;\n
HtmlContent - (502:14,0 [2] CSharp7.cshtml)
RazorIRToken - (502:14,0 [2] CSharp7.cshtml) - Html - \n
CSharpStatement - (504:15,0 [4] CSharp7.cshtml)
CSharpCode - (504:15,0 [4] CSharp7.cshtml)
RazorIRToken - (504:15,0 [4] CSharp7.cshtml) - CSharp -
CSharpStatement - (509:15,5 [161] CSharp7.cshtml)
CSharpCode - (509:15,5 [161] CSharp7.cshtml)
RazorIRToken - (509:15,5 [161] CSharp7.cshtml) - CSharp - if (nameLookup.TryGetValue("John Doe", out var entry))\n {\n if (entry.Extra is bool alive)\n {\n // Do Something\n }\n }\n
HtmlContent - (670:22,0 [46] CSharp7.cshtml)
RazorIRToken - (670:22,0 [4] CSharp7.cshtml) - Html -
@ -39,9 +39,9 @@ Document -
RazorIRToken - (870:27,64 [6] CSharp7.cshtml) - Html - \n
RazorIRToken - (876:28,4 [6] CSharp7.cshtml) - Html - </div>
RazorIRToken - (882:28,10 [4] CSharp7.cshtml) - Html - \n\n
CSharpStatement - (886:30,0 [4] CSharp7.cshtml)
CSharpCode - (886:30,0 [4] CSharp7.cshtml)
RazorIRToken - (886:30,0 [4] CSharp7.cshtml) - CSharp -
CSharpStatement - (891:30,5 [293] CSharp7.cshtml)
CSharpCode - (891:30,5 [293] CSharp7.cshtml)
RazorIRToken - (891:30,5 [293] CSharp7.cshtml) - CSharp - switch (entry.Extra)\n {\n case int age:\n // Do something\n break;\n case IEnumerable<string> childrenNames:\n // Do more something\n break;\n case null:\n // Do even more of something\n break;\n }\n
HtmlContent - (1184:42,0 [7] CSharp7.cshtml)
RazorIRToken - (1184:42,0 [7] CSharp7.cshtml) - Html - </body>

View File

@ -3,8 +3,8 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockAtEOF_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [0] CodeBlockAtEOF.cshtml)
CSharpCode - (2:0,2 [0] CodeBlockAtEOF.cshtml)
RazorIRToken - (2:0,2 [0] CodeBlockAtEOF.cshtml) - CSharp -

View File

@ -3,5 +3,5 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockAtEOF_Runtime - -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [0] CodeBlockAtEOF.cshtml)
CSharpCode - (2:0,2 [0] CodeBlockAtEOF.cshtml)
RazorIRToken - (2:0,2 [0] CodeBlockAtEOF.cshtml) - CSharp -

View File

@ -3,18 +3,18 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockWithTextElement_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [17] CodeBlockWithTextElement.cshtml)
CSharpCode - (2:0,2 [17] CodeBlockWithTextElement.cshtml)
RazorIRToken - (2:0,2 [17] CodeBlockWithTextElement.cshtml) - CSharp - \n var a = 1;
HtmlContent - (25:1,21 [3] CodeBlockWithTextElement.cshtml)
RazorIRToken - (25:1,21 [3] CodeBlockWithTextElement.cshtml) - Html - foo
CSharpStatement - (35:1,31 [22] CodeBlockWithTextElement.cshtml)
CSharpCode - (35:1,31 [22] CodeBlockWithTextElement.cshtml)
RazorIRToken - (35:1,31 [22] CodeBlockWithTextElement.cshtml) - CSharp - \n var b = 1;
HtmlContent - (63:2,23 [4] CodeBlockWithTextElement.cshtml)
RazorIRToken - (63:2,23 [4] CodeBlockWithTextElement.cshtml) - Html - bar
CSharpExpression - (69:2,29 [3] CodeBlockWithTextElement.cshtml)
RazorIRToken - (69:2,29 [3] CodeBlockWithTextElement.cshtml) - CSharp - a+b
CSharpStatement - (80:2,40 [2] CodeBlockWithTextElement.cshtml)
CSharpCode - (80:2,40 [2] CodeBlockWithTextElement.cshtml)
RazorIRToken - (80:2,40 [2] CodeBlockWithTextElement.cshtml) - CSharp - \n

View File

@ -3,15 +3,15 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlockWithTextElement_Runtime - -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [16] CodeBlockWithTextElement.cshtml)
CSharpCode - (2:0,2 [16] CodeBlockWithTextElement.cshtml)
RazorIRToken - (2:0,2 [16] CodeBlockWithTextElement.cshtml) - CSharp - \n var a = 1;
HtmlContent - (25:1,21 [3] CodeBlockWithTextElement.cshtml)
RazorIRToken - (25:1,21 [3] CodeBlockWithTextElement.cshtml) - Html - foo
CSharpStatement - (35:1,31 [19] CodeBlockWithTextElement.cshtml)
CSharpCode - (35:1,31 [19] CodeBlockWithTextElement.cshtml)
RazorIRToken - (35:1,31 [19] CodeBlockWithTextElement.cshtml) - CSharp - \n var b = 1;
HtmlContent - (63:2,23 [4] CodeBlockWithTextElement.cshtml)
RazorIRToken - (63:2,23 [4] CodeBlockWithTextElement.cshtml) - Html - bar
CSharpExpression - (69:2,29 [3] CodeBlockWithTextElement.cshtml)
RazorIRToken - (69:2,29 [3] CodeBlockWithTextElement.cshtml) - CSharp - a+b
CSharpStatement - (80:2,40 [2] CodeBlockWithTextElement.cshtml)
CSharpCode - (80:2,40 [2] CodeBlockWithTextElement.cshtml)
RazorIRToken - (80:2,40 [2] CodeBlockWithTextElement.cshtml) - CSharp - \n

View File

@ -3,8 +3,8 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlock_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [115] CodeBlock.cshtml)
CSharpCode - (2:0,2 [115] CodeBlock.cshtml)
RazorIRToken - (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

View File

@ -3,5 +3,5 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlock_Runtime - -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [115] CodeBlock.cshtml)
CSharpCode - (2:0,2 [115] CodeBlock.cshtml)
RazorIRToken - (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

View File

@ -4,13 +4,13 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ComplexTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] ComplexTagHelpers.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.PTagHelper - TestNamespace.InputTagHelper - TestNamespace.InputTagHelper2
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (31:0,31 [4] ComplexTagHelpers.cshtml)
RazorIRToken - (31:0,31 [4] ComplexTagHelpers.cshtml) - Html - \n\n
CSharpStatement - (36:2,1 [52] ComplexTagHelpers.cshtml)
CSharpCode - (36:2,1 [52] ComplexTagHelpers.cshtml)
RazorIRToken - (36:2,1 [52] ComplexTagHelpers.cshtml) - CSharp - if (true)\n{\n var checkbox = "checkbox";\n\n
HtmlContent - (88:6,4 [51] ComplexTagHelpers.cshtml)
RazorIRToken - (88:6,4 [4] ComplexTagHelpers.cshtml) - Html - <div
@ -43,7 +43,7 @@ Document -
RazorIRToken - (244:9,16 [9] ComplexTagHelpers.cshtml) - Html - Set Time:
RazorIRToken - (253:9,25 [5] ComplexTagHelpers.cshtml) - Html - </h1>
RazorIRToken - (258:9,30 [14] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (273:10,13 [43] ComplexTagHelpers.cshtml)
CSharpCode - (273:10,13 [43] ComplexTagHelpers.cshtml)
RazorIRToken - (273:10,13 [43] ComplexTagHelpers.cshtml) - CSharp - if (false)\n {\n
TagHelper - (316:12,16 [83] ComplexTagHelpers.cshtml) - p - TagMode.StartTagAndEndTag
TagHelperBody -
@ -66,7 +66,7 @@ Document -
HtmlContent - (370:12,70 [22] ComplexTagHelpers.cshtml)
RazorIRToken - (370:12,70 [22] ComplexTagHelpers.cshtml) - Html - Enter in a new time...
CreateTagHelper - - TestNamespace.PTagHelper
CSharpStatement - (399:12,99 [66] ComplexTagHelpers.cshtml)
CSharpCode - (399:12,99 [66] ComplexTagHelpers.cshtml)
RazorIRToken - (399:12,99 [66] ComplexTagHelpers.cshtml) - CSharp - \n }\n else\n {\n
TagHelper - (465:16,16 [58] ComplexTagHelpers.cshtml) - p - TagMode.StartTagAndEndTag
TagHelperBody -
@ -85,7 +85,7 @@ Document -
SetTagHelperProperty - (512:16,63 [4] ComplexTagHelpers.cshtml) - checked - Checked - HtmlAttributeValueStyle.DoubleQuotes
RazorIRToken - (512:16,63 [4] ComplexTagHelpers.cshtml) - CSharp - true
CreateTagHelper - - TestNamespace.PTagHelper
CSharpStatement - (523:16,74 [18] ComplexTagHelpers.cshtml)
CSharpCode - (523:16,74 [18] ComplexTagHelpers.cshtml)
RazorIRToken - (523:16,74 [18] ComplexTagHelpers.cshtml) - CSharp - \n
TagHelper - (541:17,16 [50] ComplexTagHelpers.cshtml) - input - TagMode.SelfClosing
TagHelperBody -
@ -97,35 +97,35 @@ Document -
SetTagHelperProperty - (554:17,29 [33] ComplexTagHelpers.cshtml) - tYPe - Type - HtmlAttributeValueStyle.SingleQuotes
CSharpExpression - (556:17,31 [30] ComplexTagHelpers.cshtml)
RazorIRToken - (556:17,31 [30] ComplexTagHelpers.cshtml) - CSharp - true ? "checkbox" : "anything"
CSharpStatement - (591:17,66 [18] ComplexTagHelpers.cshtml)
CSharpCode - (591:17,66 [18] ComplexTagHelpers.cshtml)
RazorIRToken - (591:17,66 [18] ComplexTagHelpers.cshtml) - CSharp - \n
TagHelper - (609:18,16 [81] ComplexTagHelpers.cshtml) - input - TagMode.StartTagOnly
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
CreateTagHelper - - TestNamespace.InputTagHelper2
SetTagHelperProperty - (622:18,29 [66] ComplexTagHelpers.cshtml) - type - Type - HtmlAttributeValueStyle.SingleQuotes
CSharpStatement - (623:18,30 [11] ComplexTagHelpers.cshtml)
CSharpCode - (623:18,30 [11] ComplexTagHelpers.cshtml)
RazorIRToken - (623:18,30 [11] ComplexTagHelpers.cshtml) - CSharp - if(true) {
HtmlContent - (640:18,47 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (640:18,47 [8] ComplexTagHelpers.cshtml) - Html - checkbox
CSharpStatement - (655:18,62 [10] ComplexTagHelpers.cshtml)
CSharpCode - (655:18,62 [10] ComplexTagHelpers.cshtml)
RazorIRToken - (655:18,62 [10] ComplexTagHelpers.cshtml) - CSharp - } else {
HtmlContent - (671:18,78 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (671:18,78 [8] ComplexTagHelpers.cshtml) - Html - anything
CSharpStatement - (686:18,93 [2] ComplexTagHelpers.cshtml)
CSharpCode - (686:18,93 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (686:18,93 [2] ComplexTagHelpers.cshtml) - CSharp - }
SetTagHelperProperty - (622:18,29 [66] ComplexTagHelpers.cshtml) - type - Type - HtmlAttributeValueStyle.SingleQuotes
CSharpStatement - (623:18,30 [11] ComplexTagHelpers.cshtml)
CSharpCode - (623:18,30 [11] ComplexTagHelpers.cshtml)
RazorIRToken - (623:18,30 [11] ComplexTagHelpers.cshtml) - CSharp - if(true) {
HtmlContent - (640:18,47 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (640:18,47 [8] ComplexTagHelpers.cshtml) - Html - checkbox
CSharpStatement - (655:18,62 [10] ComplexTagHelpers.cshtml)
CSharpCode - (655:18,62 [10] ComplexTagHelpers.cshtml)
RazorIRToken - (655:18,62 [10] ComplexTagHelpers.cshtml) - CSharp - } else {
HtmlContent - (671:18,78 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (671:18,78 [8] ComplexTagHelpers.cshtml) - Html - anything
CSharpStatement - (686:18,93 [2] ComplexTagHelpers.cshtml)
CSharpCode - (686:18,93 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (686:18,93 [2] ComplexTagHelpers.cshtml) - CSharp - }
CSharpStatement - (690:18,97 [15] ComplexTagHelpers.cshtml)
CSharpCode - (690:18,97 [15] ComplexTagHelpers.cshtml)
RazorIRToken - (690:18,97 [15] ComplexTagHelpers.cshtml) - CSharp - \n }
HtmlContent - (705:19,13 [10] ComplexTagHelpers.cshtml)
RazorIRToken - (705:19,13 [10] ComplexTagHelpers.cshtml) - Html - \n
@ -143,7 +143,7 @@ Document -
TagHelperBody -
HtmlContent - (816:21,95 [14] ComplexTagHelpers.cshtml)
RazorIRToken - (816:21,95 [14] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (832:22,14 [21] ComplexTagHelpers.cshtml)
CSharpCode - (832:22,14 [21] ComplexTagHelpers.cshtml)
RazorIRToken - (832:22,14 [21] ComplexTagHelpers.cshtml) - CSharp - var @object = false;
HtmlContent - (856:23,0 [12] ComplexTagHelpers.cshtml)
RazorIRToken - (856:23,0 [12] ComplexTagHelpers.cshtml) - Html -
@ -270,5 +270,5 @@ Document -
HtmlContent - (1425:34,79 [12] ComplexTagHelpers.cshtml)
RazorIRToken - (1425:34,79 [6] ComplexTagHelpers.cshtml) - Html - \n
RazorIRToken - (1431:35,4 [6] ComplexTagHelpers.cshtml) - Html - </div>
CSharpStatement - (1437:35,10 [3] ComplexTagHelpers.cshtml)
CSharpCode - (1437:35,10 [3] ComplexTagHelpers.cshtml)
RazorIRToken - (1437:35,10 [3] ComplexTagHelpers.cshtml) - CSharp - \n}

View File

@ -14,7 +14,7 @@ Document -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (33:1,0 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (33:1,0 [2] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (36:2,1 [48] ComplexTagHelpers.cshtml)
CSharpCode - (36:2,1 [48] ComplexTagHelpers.cshtml)
RazorIRToken - (36:2,1 [48] ComplexTagHelpers.cshtml) - CSharp - if (true)\n{\n var checkbox = "checkbox";\n\n
HtmlContent - (84:6,0 [55] ComplexTagHelpers.cshtml)
RazorIRToken - (84:6,0 [4] ComplexTagHelpers.cshtml) - Html -
@ -48,9 +48,9 @@ Document -
RazorIRToken - (244:9,16 [9] ComplexTagHelpers.cshtml) - Html - Set Time:
RazorIRToken - (253:9,25 [5] ComplexTagHelpers.cshtml) - Html - </h1>
RazorIRToken - (258:9,30 [2] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (260:10,0 [12] ComplexTagHelpers.cshtml)
CSharpCode - (260:10,0 [12] ComplexTagHelpers.cshtml)
RazorIRToken - (260:10,0 [12] ComplexTagHelpers.cshtml) - CSharp -
CSharpStatement - (273:10,13 [27] ComplexTagHelpers.cshtml)
CSharpCode - (273:10,13 [27] ComplexTagHelpers.cshtml)
RazorIRToken - (273:10,13 [27] ComplexTagHelpers.cshtml) - CSharp - if (false)\n {\n
HtmlContent - (300:12,0 [16] ComplexTagHelpers.cshtml)
RazorIRToken - (300:12,0 [16] ComplexTagHelpers.cshtml) - Html -
@ -69,7 +69,7 @@ Document -
CreateTagHelper - - TestNamespace.PTagHelper
HtmlContent - (399:12,99 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (399:12,99 [2] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (401:13,0 [48] ComplexTagHelpers.cshtml)
CSharpCode - (401:13,0 [48] ComplexTagHelpers.cshtml)
RazorIRToken - (401:13,0 [48] ComplexTagHelpers.cshtml) - CSharp - }\n else\n {\n
HtmlContent - (449:16,0 [16] ComplexTagHelpers.cshtml)
RazorIRToken - (449:16,0 [16] ComplexTagHelpers.cshtml) - Html -
@ -111,30 +111,30 @@ Document -
CreateTagHelper - - TestNamespace.InputTagHelper
CreateTagHelper - - TestNamespace.InputTagHelper2
SetTagHelperProperty - (622:18,29 [64] ComplexTagHelpers.cshtml) - type - Type - HtmlAttributeValueStyle.SingleQuotes
CSharpStatement - (623:18,30 [10] ComplexTagHelpers.cshtml)
CSharpCode - (623:18,30 [10] ComplexTagHelpers.cshtml)
RazorIRToken - (623:18,30 [10] ComplexTagHelpers.cshtml) - CSharp - if(true) {
HtmlContent - (640:18,47 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (640:18,47 [8] ComplexTagHelpers.cshtml) - Html - checkbox
CSharpStatement - (655:18,62 [9] ComplexTagHelpers.cshtml)
CSharpCode - (655:18,62 [9] ComplexTagHelpers.cshtml)
RazorIRToken - (655:18,62 [9] ComplexTagHelpers.cshtml) - CSharp - } else {
HtmlContent - (671:18,78 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (671:18,78 [8] ComplexTagHelpers.cshtml) - Html - anything
CSharpStatement - (686:18,93 [2] ComplexTagHelpers.cshtml)
CSharpCode - (686:18,93 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (686:18,93 [2] ComplexTagHelpers.cshtml) - CSharp - }
SetTagHelperProperty - (622:18,29 [64] ComplexTagHelpers.cshtml) - type - Type - HtmlAttributeValueStyle.SingleQuotes
CSharpStatement - (623:18,30 [10] ComplexTagHelpers.cshtml)
CSharpCode - (623:18,30 [10] ComplexTagHelpers.cshtml)
RazorIRToken - (623:18,30 [10] ComplexTagHelpers.cshtml) - CSharp - if(true) {
HtmlContent - (640:18,47 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (640:18,47 [8] ComplexTagHelpers.cshtml) - Html - checkbox
CSharpStatement - (655:18,62 [9] ComplexTagHelpers.cshtml)
CSharpCode - (655:18,62 [9] ComplexTagHelpers.cshtml)
RazorIRToken - (655:18,62 [9] ComplexTagHelpers.cshtml) - CSharp - } else {
HtmlContent - (671:18,78 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (671:18,78 [8] ComplexTagHelpers.cshtml) - Html - anything
CSharpStatement - (686:18,93 [2] ComplexTagHelpers.cshtml)
CSharpCode - (686:18,93 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (686:18,93 [2] ComplexTagHelpers.cshtml) - CSharp - }
HtmlContent - (690:18,97 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (690:18,97 [2] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (692:19,0 [15] ComplexTagHelpers.cshtml)
CSharpCode - (692:19,0 [15] ComplexTagHelpers.cshtml)
RazorIRToken - (692:19,0 [15] ComplexTagHelpers.cshtml) - CSharp - }\n
HtmlContent - (707:20,0 [8] ComplexTagHelpers.cshtml)
RazorIRToken - (707:20,0 [8] ComplexTagHelpers.cshtml) - Html -
@ -152,9 +152,9 @@ Document -
TagHelperBody -
HtmlContent - (816:21,95 [2] ComplexTagHelpers.cshtml)
RazorIRToken - (816:21,95 [2] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (818:22,0 [12] ComplexTagHelpers.cshtml)
CSharpCode - (818:22,0 [12] ComplexTagHelpers.cshtml)
RazorIRToken - (818:22,0 [12] ComplexTagHelpers.cshtml) - CSharp -
CSharpStatement - (832:22,14 [21] ComplexTagHelpers.cshtml)
CSharpCode - (832:22,14 [21] ComplexTagHelpers.cshtml)
RazorIRToken - (832:22,14 [21] ComplexTagHelpers.cshtml) - CSharp - var @object = false;
HtmlContent - (856:23,0 [12] ComplexTagHelpers.cshtml)
RazorIRToken - (856:23,0 [12] ComplexTagHelpers.cshtml) - Html -
@ -273,5 +273,5 @@ Document -
RazorIRToken - (1425:34,79 [6] ComplexTagHelpers.cshtml) - Html - \n
RazorIRToken - (1431:35,4 [6] ComplexTagHelpers.cshtml) - Html - </div>
RazorIRToken - (1437:35,10 [2] ComplexTagHelpers.cshtml) - Html - \n
CSharpStatement - (1439:36,0 [1] ComplexTagHelpers.cshtml)
CSharpCode - (1439:36,0 [1] ComplexTagHelpers.cshtml)
RazorIRToken - (1439:36,0 [1] ComplexTagHelpers.cshtml) - CSharp - }

View File

@ -3,16 +3,16 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ConditionalAttributes_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [48] ConditionalAttributes.cshtml)
CSharpCode - (2:0,2 [48] ConditionalAttributes.cshtml)
RazorIRToken - (2:0,2 [48] ConditionalAttributes.cshtml) - CSharp - \n var ch = true;\n var cls = "bar";\n
HtmlContent - (50:3,4 [16] ConditionalAttributes.cshtml)
RazorIRToken - (50:3,4 [2] ConditionalAttributes.cshtml) - Html - <a
RazorIRToken - (52:3,6 [11] ConditionalAttributes.cshtml) - Html - href="Foo"
RazorIRToken - (63:3,17 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (66:3,20 [6] ConditionalAttributes.cshtml)
CSharpCode - (66:3,20 [6] ConditionalAttributes.cshtml)
RazorIRToken - (66:3,20 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (72:4,4 [2] ConditionalAttributes.cshtml)
RazorIRToken - (72:4,4 [2] ConditionalAttributes.cshtml) - Html - <p
@ -21,7 +21,7 @@ Document -
RazorIRToken - (83:4,15 [3] ConditionalAttributes.cshtml) - CSharp - cls
HtmlContent - (87:4,19 [3] ConditionalAttributes.cshtml)
RazorIRToken - (87:4,19 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (90:4,22 [6] ConditionalAttributes.cshtml)
CSharpCode - (90:4,22 [6] ConditionalAttributes.cshtml)
RazorIRToken - (90:4,22 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (96:5,4 [2] ConditionalAttributes.cshtml)
RazorIRToken - (96:5,4 [2] ConditionalAttributes.cshtml) - Html - <p
@ -32,7 +32,7 @@ Document -
RazorIRToken - (111:5,19 [3] ConditionalAttributes.cshtml) - CSharp - cls
HtmlContent - (115:5,23 [3] ConditionalAttributes.cshtml)
RazorIRToken - (115:5,23 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (118:5,26 [6] ConditionalAttributes.cshtml)
CSharpCode - (118:5,26 [6] ConditionalAttributes.cshtml)
RazorIRToken - (118:5,26 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (124:6,4 [2] ConditionalAttributes.cshtml)
RazorIRToken - (124:6,4 [2] ConditionalAttributes.cshtml) - Html - <p
@ -43,7 +43,7 @@ Document -
RazorIRToken - (139:6,19 [3] ConditionalAttributes.cshtml) - Html - foo
HtmlContent - (143:6,23 [3] ConditionalAttributes.cshtml)
RazorIRToken - (143:6,23 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (146:6,26 [6] ConditionalAttributes.cshtml)
CSharpCode - (146:6,26 [6] ConditionalAttributes.cshtml)
RazorIRToken - (146:6,26 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (152:7,4 [22] ConditionalAttributes.cshtml)
RazorIRToken - (152:7,4 [6] ConditionalAttributes.cshtml) - Html - <input
@ -53,7 +53,7 @@ Document -
RazorIRToken - (185:7,37 [2] ConditionalAttributes.cshtml) - CSharp - ch
HtmlContent - (188:7,40 [3] ConditionalAttributes.cshtml)
RazorIRToken - (188:7,40 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (191:7,43 [6] ConditionalAttributes.cshtml)
CSharpCode - (191:7,43 [6] ConditionalAttributes.cshtml)
RazorIRToken - (191:7,43 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (197:8,4 [22] ConditionalAttributes.cshtml)
RazorIRToken - (197:8,4 [6] ConditionalAttributes.cshtml) - Html - <input
@ -65,25 +65,25 @@ Document -
RazorIRToken - (234:8,41 [2] ConditionalAttributes.cshtml) - CSharp - ch
HtmlContent - (237:8,44 [3] ConditionalAttributes.cshtml)
RazorIRToken - (237:8,44 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (240:8,47 [6] ConditionalAttributes.cshtml)
CSharpCode - (240:8,47 [6] ConditionalAttributes.cshtml)
RazorIRToken - (240:8,47 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (246:9,4 [2] ConditionalAttributes.cshtml)
RazorIRToken - (246:9,4 [2] ConditionalAttributes.cshtml) - Html - <p
HtmlAttribute - (248:9,6 [34] ConditionalAttributes.cshtml) - class=" - "
CSharpStatementAttributeValue - (256:9,14 [25] ConditionalAttributes.cshtml) -
CSharpCodeAttributeValue - (256:9,14 [25] ConditionalAttributes.cshtml) -
RazorIRToken - (257:9,15 [18] ConditionalAttributes.cshtml) - CSharp - if(cls != null) {
CSharpExpression - (276:9,34 [3] ConditionalAttributes.cshtml)
RazorIRToken - (276:9,34 [3] ConditionalAttributes.cshtml) - CSharp - cls
RazorIRToken - (279:9,37 [2] ConditionalAttributes.cshtml) - CSharp - }
HtmlContent - (282:9,40 [3] ConditionalAttributes.cshtml)
RazorIRToken - (282:9,40 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (285:9,43 [6] ConditionalAttributes.cshtml)
CSharpCode - (285:9,43 [6] ConditionalAttributes.cshtml)
RazorIRToken - (285:9,43 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (291:10,4 [18] ConditionalAttributes.cshtml)
RazorIRToken - (291:10,4 [2] ConditionalAttributes.cshtml) - Html - <a
RazorIRToken - (293:10,6 [13] ConditionalAttributes.cshtml) - Html - href="~/Foo"
RazorIRToken - (306:10,19 [3] ConditionalAttributes.cshtml) - Html - />
CSharpStatement - (309:10,22 [6] ConditionalAttributes.cshtml)
CSharpCode - (309:10,22 [6] ConditionalAttributes.cshtml)
RazorIRToken - (309:10,22 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (315:11,4 [7] ConditionalAttributes.cshtml)
RazorIRToken - (315:11,4 [7] ConditionalAttributes.cshtml) - Html - <script
@ -94,7 +94,7 @@ Document -
RazorIRToken - (374:11,63 [23] ConditionalAttributes.cshtml) - Html - type="text/javascript"
RazorIRToken - (397:11,86 [1] ConditionalAttributes.cshtml) - Html - >
RazorIRToken - (398:11,87 [9] ConditionalAttributes.cshtml) - Html - </script>
CSharpStatement - (407:11,96 [6] ConditionalAttributes.cshtml)
CSharpCode - (407:11,96 [6] ConditionalAttributes.cshtml)
RazorIRToken - (407:11,96 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (413:12,4 [7] ConditionalAttributes.cshtml)
RazorIRToken - (413:12,4 [7] ConditionalAttributes.cshtml) - Html - <script
@ -105,7 +105,7 @@ Document -
RazorIRToken - (488:12,79 [23] ConditionalAttributes.cshtml) - Html - type="text/javascript"
RazorIRToken - (511:12,102 [1] ConditionalAttributes.cshtml) - Html - >
RazorIRToken - (512:12,103 [9] ConditionalAttributes.cshtml) - Html - </script>
CSharpStatement - (521:12,112 [6] ConditionalAttributes.cshtml)
CSharpCode - (521:12,112 [6] ConditionalAttributes.cshtml)
RazorIRToken - (521:12,112 [6] ConditionalAttributes.cshtml) - CSharp - \n
HtmlContent - (527:13,4 [111] ConditionalAttributes.cshtml)
RazorIRToken - (527:13,4 [7] ConditionalAttributes.cshtml) - Html - <script
@ -113,5 +113,5 @@ Document -
RazorIRToken - (605:13,82 [23] ConditionalAttributes.cshtml) - Html - type="text/javascript"
RazorIRToken - (628:13,105 [1] ConditionalAttributes.cshtml) - Html - >
RazorIRToken - (629:13,106 [9] ConditionalAttributes.cshtml) - Html - </script>
CSharpStatement - (638:13,115 [2] ConditionalAttributes.cshtml)
CSharpCode - (638:13,115 [2] ConditionalAttributes.cshtml)
RazorIRToken - (638:13,115 [2] ConditionalAttributes.cshtml) - CSharp - \n

View File

@ -3,7 +3,7 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ConditionalAttributes_Runtime - -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [44] ConditionalAttributes.cshtml)
CSharpCode - (2:0,2 [44] ConditionalAttributes.cshtml)
RazorIRToken - (2:0,2 [44] ConditionalAttributes.cshtml) - CSharp - \n var ch = true;\n var cls = "bar";\n
HtmlContent - (46:3,0 [28] ConditionalAttributes.cshtml)
RazorIRToken - (46:3,0 [4] ConditionalAttributes.cshtml) - Html -
@ -62,7 +62,7 @@ Document -
RazorIRToken - (242:9,0 [4] ConditionalAttributes.cshtml) - Html -
RazorIRToken - (246:9,4 [2] ConditionalAttributes.cshtml) - Html - <p
HtmlAttribute - (248:9,6 [34] ConditionalAttributes.cshtml) - class=" - "
CSharpStatementAttributeValue - (256:9,14 [25] ConditionalAttributes.cshtml) -
CSharpCodeAttributeValue - (256:9,14 [25] ConditionalAttributes.cshtml) -
RazorIRToken - (257:9,15 [18] ConditionalAttributes.cshtml) - CSharp - if(cls != null) {
CSharpExpression - (276:9,34 [3] ConditionalAttributes.cshtml)
RazorIRToken - (276:9,34 [3] ConditionalAttributes.cshtml) - CSharp - cls
@ -102,5 +102,5 @@ Document -
RazorIRToken - (628:13,105 [1] ConditionalAttributes.cshtml) - Html - >
RazorIRToken - (629:13,106 [9] ConditionalAttributes.cshtml) - Html - </script>
RazorIRToken - (638:13,115 [2] ConditionalAttributes.cshtml) - Html - \n
CSharpStatement - (640:14,0 [0] ConditionalAttributes.cshtml)
CSharpCode - (640:14,0 [0] ConditionalAttributes.cshtml)
RazorIRToken - (640:14,0 [0] ConditionalAttributes.cshtml) - CSharp -

View File

@ -4,13 +4,13 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DesignTime_DesignTime - -
DesignTimeDirective -
DirectiveToken - (173:11,9 [6] DesignTime.cshtml) - Footer
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [19] DesignTime.cshtml)
RazorIRToken - (0:0,0 [5] DesignTime.cshtml) - Html - <div>
RazorIRToken - (5:0,5 [14] DesignTime.cshtml) - Html - \n
CSharpStatement - (20:1,13 [36] DesignTime.cshtml)
CSharpCode - (20:1,13 [36] DesignTime.cshtml)
RazorIRToken - (20:1,13 [36] DesignTime.cshtml) - CSharp - for(int i = 1; i <= 10; i++) {\n
HtmlContent - (56:2,4 [17] DesignTime.cshtml)
RazorIRToken - (56:2,4 [3] DesignTime.cshtml) - Html - <p>
@ -19,7 +19,7 @@ Document -
RazorIRToken - (74:2,22 [1] DesignTime.cshtml) - CSharp - i
HtmlContent - (75:2,23 [4] DesignTime.cshtml)
RazorIRToken - (75:2,23 [4] DesignTime.cshtml) - Html - </p>
CSharpStatement - (79:2,27 [15] DesignTime.cshtml)
CSharpCode - (79:2,27 [15] DesignTime.cshtml)
RazorIRToken - (79:2,27 [15] DesignTime.cshtml) - CSharp - \n }
HtmlContent - (94:3,13 [17] DesignTime.cshtml)
RazorIRToken - (94:3,13 [2] DesignTime.cshtml) - Html - \n
@ -47,7 +47,7 @@ Document -
RazorIRToken - (154:8,26 [2] DesignTime.cshtml) - Html - \n
RazorIRToken - (156:9,0 [4] DesignTime.cshtml) - Html - </p>
RazorIRToken - (160:9,4 [4] DesignTime.cshtml) - Html - \n\n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - DefineSection("Footer", async (__razor_section_writer) => {
HtmlContent - (181:11,17 [22] DesignTime.cshtml)
RazorIRToken - (181:11,17 [6] DesignTime.cshtml) - Html - \n
@ -59,5 +59,5 @@ Document -
RazorIRToken - (204:13,5 [3] DesignTime.cshtml) - CSharp - bar
HtmlContent - (207:13,8 [2] DesignTime.cshtml)
RazorIRToken - (207:13,8 [2] DesignTime.cshtml) - Html - \n
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - });

View File

@ -4,7 +4,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DuplicateAttributeTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] DuplicateAttributeTagHelpers.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.PTagHelper - TestNamespace.InputTagHelper - TestNamespace.InputTagHelper2
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync

View File

@ -1,14 +1,12 @@
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
#line hidden
using System;
using System.Threading.Tasks;
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DuplicateTargetTagHelper_DesignTime
{
#pragma warning disable 219
private void __RazorDirectiveTokenHelpers__() {
((System.Action)(() => {
System.Object __typeHelper = "*, TestAssembly";
global::System.Object __typeHelper = "*, TestAssembly";
}
))();
}

View File

@ -1,29 +1,26 @@
Document -
Checksum -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
UsingStatement - - System
UsingStatement - - System.Threading.Tasks
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DuplicateTargetTagHelper_DesignTime - -
DirectiveTokenHelper -
CSharpStatement - - #pragma warning disable 219
CSharpStatement - - private void __RazorDirectiveTokenHelpers__() {
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] DuplicateTargetTagHelper.cshtml) - "*, TestAssembly"
CSharpStatement - - }
CSharpStatement - - #pragma warning restore 219
CSharpStatement - - private static System.Object __o = null;
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.InputTagHelper - TestNamespace.CatchAllTagHelper
RazorMethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (31:0,31 [4] DuplicateTargetTagHelper.cshtml) - \n\n
TagHelper - (35:2,0 [40] DuplicateTargetTagHelper.cshtml)
InitializeTagHelperStructure - - input - TagMode.SelfClosing
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (31:0,31 [4] DuplicateTargetTagHelper.cshtml)
RazorIRToken - (31:0,31 [4] DuplicateTargetTagHelper.cshtml) - Html - \n\n
TagHelper - (35:2,0 [40] DuplicateTargetTagHelper.cshtml) - input - TagMode.SelfClosing
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
CreateTagHelper - - TestNamespace.CatchAllTagHelper
SetTagHelperProperty - (48:2,13 [8] DuplicateTargetTagHelper.cshtml) - type - Type - HtmlAttributeValueStyle.DoubleQuotes
HtmlContent - (48:2,13 [8] DuplicateTargetTagHelper.cshtml) - checkbox
HtmlContent - (48:2,13 [8] DuplicateTargetTagHelper.cshtml)
RazorIRToken - (48:2,13 [8] DuplicateTargetTagHelper.cshtml) - Html - checkbox
SetTagHelperProperty - (48:2,13 [8] DuplicateTargetTagHelper.cshtml) - type - Type - HtmlAttributeValueStyle.DoubleQuotes
HtmlContent - (48:2,13 [8] DuplicateTargetTagHelper.cshtml) - checkbox
HtmlContent - (48:2,13 [8] DuplicateTargetTagHelper.cshtml)
RazorIRToken - (48:2,13 [8] DuplicateTargetTagHelper.cshtml) - Html - checkbox
SetTagHelperProperty - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - checked - Checked - HtmlAttributeValueStyle.DoubleQuotes
HtmlContent - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - true
RazorIRToken - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - CSharp - true
SetTagHelperProperty - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - checked - Checked - HtmlAttributeValueStyle.DoubleQuotes
HtmlContent - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - true
ExecuteTagHelpers -
RazorIRToken - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - CSharp - true

View File

@ -1,10 +1,10 @@
Source Location: (14:0,14 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateTargetTagHelper.cshtml)
|"*, TestAssembly"|
Generated Location: (425:10,29 [17] )
Generated Location: (378:8,37 [17] )
|"*, TestAssembly"|
Source Location: (67:2,32 [4] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateTargetTagHelper.cshtml)
|true|
Generated Location: (1382:26,41 [4] )
Generated Location: (1335:24,41 [4] )
|true|

View File

@ -2,8 +2,6 @@
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
#line hidden
using System;
using System.Threading.Tasks;
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DuplicateTargetTagHelper_Runtime
{
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);
@ -20,7 +18,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
if (__backed__tagHelperScopeManager == null)
{
__backed__tagHelperScopeManager = new Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
}
return __backed__tagHelperScopeManager;
}

View File

@ -1,21 +1,19 @@
Document -
Checksum -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
UsingStatement - - System
UsingStatement - - System.Threading.Tasks
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DuplicateTargetTagHelper_Runtime - -
DeclarePreallocatedTagHelperAttribute - - __tagHelperAttribute_0 - type - checkbox - HtmlAttributeValueStyle.DoubleQuotes
DeclareTagHelperFields - - TestNamespace.InputTagHelper - TestNamespace.CatchAllTagHelper
RazorMethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (33:1,0 [2] DuplicateTargetTagHelper.cshtml) - \n
TagHelper - (35:2,0 [40] DuplicateTargetTagHelper.cshtml)
InitializeTagHelperStructure - - input - TagMode.SelfClosing
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (33:1,0 [2] DuplicateTargetTagHelper.cshtml)
RazorIRToken - (33:1,0 [2] DuplicateTargetTagHelper.cshtml) - Html - \n
TagHelper - (35:2,0 [40] DuplicateTargetTagHelper.cshtml) - input - TagMode.SelfClosing
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
CreateTagHelper - - TestNamespace.CatchAllTagHelper
SetPreallocatedTagHelperProperty - - __tagHelperAttribute_0 - type - Type
SetPreallocatedTagHelperProperty - - __tagHelperAttribute_0 - type - Type
SetTagHelperProperty - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - checked - Checked - HtmlAttributeValueStyle.DoubleQuotes
HtmlContent - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - true
RazorIRToken - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - CSharp - true
SetTagHelperProperty - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - checked - Checked - HtmlAttributeValueStyle.DoubleQuotes
HtmlContent - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - true
ExecuteTagHelpers -
RazorIRToken - (67:2,32 [4] DuplicateTargetTagHelper.cshtml) - CSharp - true

View File

@ -4,7 +4,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_DynamicAttributeTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] DynamicAttributeTagHelpers.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.InputTagHelper
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
@ -24,7 +24,7 @@ Document -
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
AddTagHelperHtmlAttribute - - unbound - HtmlAttributeValueStyle.DoubleQuotes
CSharpStatementAttributeValue - (95:4,16 [44] DynamicAttributeTagHelpers.cshtml) -
CSharpCodeAttributeValue - (95:4,16 [44] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (96:4,17 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (109:4,30 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (109:4,30 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty
@ -64,15 +64,15 @@ Document -
RazorIRToken - (256:8,15 [13] DynamicAttributeTagHelpers.cshtml) - CSharp - long.MinValue
HtmlContent - (269:8,28 [1] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (269:8,28 [1] DynamicAttributeTagHelpers.cshtml) - Html -
CSharpStatement - (271:8,30 [12] DynamicAttributeTagHelpers.cshtml)
CSharpCode - (271:8,30 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (271:8,30 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (284:8,43 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (284:8,43 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty
CSharpStatement - (296:8,55 [10] DynamicAttributeTagHelpers.cshtml)
CSharpCode - (296:8,55 [10] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (296:8,55 [10] DynamicAttributeTagHelpers.cshtml) - CSharp - } else {
CSharpExpression - (307:8,66 [5] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (307:8,66 [5] DynamicAttributeTagHelpers.cshtml) - CSharp - false
CSharpStatement - (312:8,71 [2] DynamicAttributeTagHelpers.cshtml)
CSharpCode - (312:8,71 [2] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (312:8,71 [2] DynamicAttributeTagHelpers.cshtml) - CSharp - }
HtmlContent - (314:8,73 [1] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (314:8,73 [1] DynamicAttributeTagHelpers.cshtml) - Html -
@ -81,7 +81,7 @@ Document -
AddTagHelperHtmlAttribute - - unbound - HtmlAttributeValueStyle.DoubleQuotes
CSharpExpressionAttributeValue - (347:9,16 [14] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (348:9,17 [13] DynamicAttributeTagHelpers.cshtml) - CSharp - long.MinValue
CSharpStatementAttributeValue - (361:9,30 [45] DynamicAttributeTagHelpers.cshtml) -
CSharpCodeAttributeValue - (361:9,30 [45] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (363:9,32 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (376:9,45 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (376:9,45 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty
@ -113,7 +113,7 @@ Document -
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
AddTagHelperHtmlAttribute - - unbound - HtmlAttributeValueStyle.DoubleQuotes
CSharpStatementAttributeValue - (528:13,16 [44] DynamicAttributeTagHelpers.cshtml) -
CSharpCodeAttributeValue - (528:13,16 [44] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (529:13,17 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (542:13,30 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (542:13,30 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty

View File

@ -20,7 +20,7 @@ Document -
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
AddTagHelperHtmlAttribute - - unbound - HtmlAttributeValueStyle.DoubleQuotes
CSharpStatementAttributeValue - (95:4,16 [44] DynamicAttributeTagHelpers.cshtml) -
CSharpCodeAttributeValue - (95:4,16 [44] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (96:4,17 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (109:4,30 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (109:4,30 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty
@ -60,15 +60,15 @@ Document -
RazorIRToken - (256:8,15 [13] DynamicAttributeTagHelpers.cshtml) - CSharp - long.MinValue
HtmlContent - (269:8,28 [1] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (269:8,28 [1] DynamicAttributeTagHelpers.cshtml) - Html -
CSharpStatement - (271:8,30 [12] DynamicAttributeTagHelpers.cshtml)
CSharpCode - (271:8,30 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (271:8,30 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (284:8,43 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (284:8,43 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty
CSharpStatement - (296:8,55 [10] DynamicAttributeTagHelpers.cshtml)
CSharpCode - (296:8,55 [10] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (296:8,55 [10] DynamicAttributeTagHelpers.cshtml) - CSharp - } else {
CSharpExpression - (307:8,66 [5] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (307:8,66 [5] DynamicAttributeTagHelpers.cshtml) - CSharp - false
CSharpStatement - (312:8,71 [2] DynamicAttributeTagHelpers.cshtml)
CSharpCode - (312:8,71 [2] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (312:8,71 [2] DynamicAttributeTagHelpers.cshtml) - CSharp - }
HtmlContent - (314:8,73 [1] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (314:8,73 [1] DynamicAttributeTagHelpers.cshtml) - Html -
@ -77,7 +77,7 @@ Document -
AddTagHelperHtmlAttribute - - unbound - HtmlAttributeValueStyle.DoubleQuotes
CSharpExpressionAttributeValue - (347:9,16 [14] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (348:9,17 [13] DynamicAttributeTagHelpers.cshtml) - CSharp - long.MinValue
CSharpStatementAttributeValue - (361:9,30 [45] DynamicAttributeTagHelpers.cshtml) -
CSharpCodeAttributeValue - (361:9,30 [45] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (363:9,32 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (376:9,45 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (376:9,45 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty
@ -109,7 +109,7 @@ Document -
TagHelperBody -
CreateTagHelper - - TestNamespace.InputTagHelper
AddTagHelperHtmlAttribute - - unbound - HtmlAttributeValueStyle.DoubleQuotes
CSharpStatementAttributeValue - (528:13,16 [44] DynamicAttributeTagHelpers.cshtml) -
CSharpCodeAttributeValue - (528:13,16 [44] DynamicAttributeTagHelpers.cshtml) -
RazorIRToken - (529:13,17 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - if (true) {
CSharpExpression - (542:13,30 [12] DynamicAttributeTagHelpers.cshtml)
RazorIRToken - (542:13,30 [12] DynamicAttributeTagHelpers.cshtml) - CSharp - string.Empty

View File

@ -4,7 +4,7 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EmptyAttributeTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [15] EmptyAttributeTagHelpers.cshtml) - *, TestAssembly
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.InputTagHelper - TestNamespace.InputTagHelper2 - TestNamespace.PTagHelper
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync

View File

@ -3,10 +3,10 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EmptyCodeBlock_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [18] EmptyCodeBlock.cshtml)
RazorIRToken - (0:0,0 [18] EmptyCodeBlock.cshtml) - Html - This is markup\n\n
CSharpStatement - (20:2,2 [0] EmptyCodeBlock.cshtml)
CSharpCode - (20:2,2 [0] EmptyCodeBlock.cshtml)
RazorIRToken - (20:2,2 [0] EmptyCodeBlock.cshtml) - CSharp -

View File

@ -5,5 +5,5 @@ Document -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [18] EmptyCodeBlock.cshtml)
RazorIRToken - (0:0,0 [18] EmptyCodeBlock.cshtml) - Html - This is markup\n\n
CSharpStatement - (20:2,2 [0] EmptyCodeBlock.cshtml)
CSharpCode - (20:2,2 [0] EmptyCodeBlock.cshtml)
RazorIRToken - (20:2,2 [0] EmptyCodeBlock.cshtml) - CSharp -

View File

@ -3,7 +3,7 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EmptyExplicitExpression_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [18] EmptyExplicitExpression.cshtml)

View File

@ -3,12 +3,12 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EmptyImplicitExpressionInCode_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [6] EmptyImplicitExpressionInCode.cshtml)
CSharpCode - (2:0,2 [6] EmptyImplicitExpressionInCode.cshtml)
RazorIRToken - (2:0,2 [6] EmptyImplicitExpressionInCode.cshtml) - CSharp - \n
CSharpExpression - (9:1,5 [0] EmptyImplicitExpressionInCode.cshtml)
RazorIRToken - (9:1,5 [0] EmptyImplicitExpressionInCode.cshtml) - CSharp -
CSharpStatement - (9:1,5 [2] EmptyImplicitExpressionInCode.cshtml)
CSharpCode - (9:1,5 [2] EmptyImplicitExpressionInCode.cshtml)
RazorIRToken - (9:1,5 [2] EmptyImplicitExpressionInCode.cshtml) - CSharp - \n

View File

@ -3,9 +3,9 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EmptyImplicitExpressionInCode_Runtime - -
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
CSharpStatement - (2:0,2 [6] EmptyImplicitExpressionInCode.cshtml)
CSharpCode - (2:0,2 [6] EmptyImplicitExpressionInCode.cshtml)
RazorIRToken - (2:0,2 [6] EmptyImplicitExpressionInCode.cshtml) - CSharp - \n
CSharpExpression - (9:1,5 [0] EmptyImplicitExpressionInCode.cshtml)
RazorIRToken - (9:1,5 [0] EmptyImplicitExpressionInCode.cshtml) - CSharp -
CSharpStatement - (9:1,5 [2] EmptyImplicitExpressionInCode.cshtml)
CSharpCode - (9:1,5 [2] EmptyImplicitExpressionInCode.cshtml)
RazorIRToken - (9:1,5 [2] EmptyImplicitExpressionInCode.cshtml) - CSharp - \n

View File

@ -3,7 +3,7 @@ Document -
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EmptyImplicitExpression_DesignTime - -
DesignTimeDirective -
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (0:0,0 [18] EmptyImplicitExpression.cshtml)

View File

@ -4,13 +4,13 @@ Document -
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_EnumTagHelpers_DesignTime - -
DesignTimeDirective -
DirectiveToken - (14:0,14 [17] EnumTagHelpers.cshtml) - "*, TestAssembly"
CSharpStatement -
CSharpCode -
RazorIRToken - - CSharp - private static System.Object __o = null;
DeclareTagHelperFields - - TestNamespace.InputTagHelper - TestNamespace.CatchAllTagHelper
MethodDeclaration - - public - async - System.Threading.Tasks.Task - ExecuteAsync
HtmlContent - (31:0,31 [4] EnumTagHelpers.cshtml)
RazorIRToken - (31:0,31 [4] EnumTagHelpers.cshtml) - Html - \n\n
CSharpStatement - (37:2,2 [39] EnumTagHelpers.cshtml)
CSharpCode - (37:2,2 [39] EnumTagHelpers.cshtml)
RazorIRToken - (37:2,2 [39] EnumTagHelpers.cshtml) - CSharp - \n var enumValue = MyEnum.MyValue;\n
HtmlContent - (79:5,0 [2] EnumTagHelpers.cshtml)
RazorIRToken - (79:5,0 [2] EnumTagHelpers.cshtml) - Html - \n

Some files were not shown because too many files have changed in this diff Show More