Rename UsingStatement>UsingDirective
This commit is contained in:
parent
a580c8fdf1
commit
7a234ca513
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
|
||||||
// Alias the TModel token to a known type.
|
// Alias the TModel token to a known type.
|
||||||
// This allows design time compilation to succeed for Razor files where the token isn't replaced.
|
// This allows design time compilation to succeed for Razor files where the token isn't replaced.
|
||||||
var typeName = $"global::{typeof(object).FullName}";
|
var typeName = $"global::{typeof(object).FullName}";
|
||||||
var usingNode = new UsingStatementIntermediateNode()
|
var usingNode = new UsingDirectiveIntermediateNode()
|
||||||
{
|
{
|
||||||
Content = $"TModel = {typeName}"
|
Content = $"TModel = {typeName}"
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
{
|
{
|
||||||
public abstract class BasicWriter
|
public abstract class BasicWriter
|
||||||
{
|
{
|
||||||
public abstract void WriteUsingStatement(CSharpRenderingContext context, UsingStatementIntermediateNode node);
|
public abstract void WriteUsingDirective(CSharpRenderingContext context, UsingDirectiveIntermediateNode node);
|
||||||
|
|
||||||
public abstract void WriteCSharpExpression(CSharpRenderingContext context, CSharpExpressionIntermediateNode node);
|
public abstract void WriteCSharpExpression(CSharpRenderingContext context, CSharpExpressionIntermediateNode node);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,9 +102,9 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
RenderChildren(node);
|
RenderChildren(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void VisitUsingStatement(UsingStatementIntermediateNode node)
|
public override void VisitUsingDirective(UsingDirectiveIntermediateNode node)
|
||||||
{
|
{
|
||||||
Context.BasicWriter.WriteUsingStatement(Context, node);
|
Context.BasicWriter.WriteUsingDirective(Context, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void VisitNamespaceDeclaration(NamespaceDeclarationIntermediateNode node)
|
public override void VisitNamespaceDeclaration(NamespaceDeclarationIntermediateNode node)
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
{
|
{
|
||||||
public class DesignTimeBasicWriter : BasicWriter
|
public class DesignTimeBasicWriter : BasicWriter
|
||||||
{
|
{
|
||||||
public override void WriteUsingStatement(CSharpRenderingContext context, UsingStatementIntermediateNode node)
|
public override void WriteUsingDirective(CSharpRenderingContext context, UsingDirectiveIntermediateNode node)
|
||||||
{
|
{
|
||||||
if (node.Source.HasValue)
|
if (node.Source.HasValue)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
|
|
||||||
public string TemplateTypeName { get; set; } = "Microsoft.AspNetCore.Mvc.Razor.HelperResult";
|
public string TemplateTypeName { get; set; } = "Microsoft.AspNetCore.Mvc.Razor.HelperResult";
|
||||||
|
|
||||||
public override void WriteUsingStatement(CSharpRenderingContext context, UsingStatementIntermediateNode node)
|
public override void WriteUsingDirective(CSharpRenderingContext context, UsingDirectiveIntermediateNode node)
|
||||||
{
|
{
|
||||||
if (node.Source.HasValue)
|
if (node.Source.HasValue)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ namespace Microsoft.AspNetCore.Razor.Language
|
||||||
var i = 0;
|
var i = 0;
|
||||||
foreach (var @namespace in namespaces)
|
foreach (var @namespace in namespaces)
|
||||||
{
|
{
|
||||||
var @using = new UsingStatementIntermediateNode()
|
var @using = new UsingDirectiveIntermediateNode()
|
||||||
{
|
{
|
||||||
Content = @namespace.Key,
|
Content = @namespace.Key,
|
||||||
Source = @namespace.Value,
|
Source = @namespace.Value,
|
||||||
|
|
|
||||||
|
|
@ -123,14 +123,14 @@ namespace Microsoft.AspNetCore.Razor.Language
|
||||||
_method = method;
|
_method = method;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void VisitUsingStatement(UsingStatementIntermediateNode node)
|
public override void VisitUsingDirective(UsingDirectiveIntermediateNode node)
|
||||||
{
|
{
|
||||||
var children = _namespace.Current.Children;
|
var children = _namespace.Current.Children;
|
||||||
var i = children.Count - 1;
|
var i = children.Count - 1;
|
||||||
for (; i >= 0; i--)
|
for (; i >= 0; i--)
|
||||||
{
|
{
|
||||||
var child = children[i];
|
var child = children[i];
|
||||||
if (child is UsingStatementIntermediateNode)
|
if (child is UsingDirectiveIntermediateNode)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
VisitDefault(node);
|
VisitDefault(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void VisitUsingStatement(UsingStatementIntermediateNode node)
|
public virtual void VisitUsingDirective(UsingDirectiveIntermediateNode node)
|
||||||
{
|
{
|
||||||
VisitDefault(node);
|
VisitDefault(node);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
{
|
{
|
||||||
public sealed class UsingStatementIntermediateNode : IntermediateNode
|
public sealed class UsingDirectiveIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
|
||||||
|
|
@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
throw new ArgumentNullException(nameof(visitor));
|
throw new ArgumentNullException(nameof(visitor));
|
||||||
}
|
}
|
||||||
|
|
||||||
visitor.VisitUsingStatement(this);
|
visitor.VisitUsingDirective(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -156,7 +156,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void ModelDirectivePass_DesignTime_AddsTModelUsingStatement()
|
public void ModelDirectivePass_DesignTime_AddsTModelUsingDirective()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var codeDocument = CreateDocument(@"
|
var codeDocument = CreateDocument(@"
|
||||||
|
|
@ -180,12 +180,12 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
|
||||||
Assert.Equal("BaseType<dynamic>", @class.BaseType);
|
Assert.Equal("BaseType<dynamic>", @class.BaseType);
|
||||||
|
|
||||||
var @namespace = FindNamespaceNode(irDocument);
|
var @namespace = FindNamespaceNode(irDocument);
|
||||||
var usingNode = Assert.IsType<UsingStatementIntermediateNode>(@namespace.Children[0]);
|
var usingNode = Assert.IsType<UsingDirectiveIntermediateNode>(@namespace.Children[0]);
|
||||||
Assert.Equal($"TModel = global::{typeof(object).FullName}", usingNode.Content);
|
Assert.Equal($"TModel = global::{typeof(object).FullName}", usingNode.Content);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void ModelDirectivePass_DesignTime_WithModel_AddsTModelUsingStatement()
|
public void ModelDirectivePass_DesignTime_WithModel_AddsTModelUsingDirective()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var codeDocument = CreateDocument(@"
|
var codeDocument = CreateDocument(@"
|
||||||
|
|
@ -210,7 +210,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
|
||||||
Assert.Equal("BaseType<SomeType>", @class.BaseType);
|
Assert.Equal("BaseType<SomeType>", @class.BaseType);
|
||||||
|
|
||||||
var @namespace = FindNamespaceNode(irDocument);
|
var @namespace = FindNamespaceNode(irDocument);
|
||||||
var usingNode = Assert.IsType<UsingStatementIntermediateNode>(@namespace.Children[0]);
|
var usingNode = Assert.IsType<UsingDirectiveIntermediateNode>(@namespace.Children[0]);
|
||||||
Assert.Equal($"TModel = global::System.Object", usingNode.Content);
|
Assert.Equal($"TModel = global::System.Object", usingNode.Content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_IncompleteDirectives_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml - MyBasePageForViews<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml - MyBasePageForViews<MyModel> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml - MyBasePageForViews<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsViewModel_cshtml - MyBasePageForViews<MyModel> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml - MyPageModel<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml - MyPageModel<MyModel> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (10:0,10 [19] InheritsWithViewImports_Imports0.cshtml) - MyPageModel<TModel>
|
DirectiveToken - (10:0,10 [19] InheritsWithViewImports_Imports0.cshtml) - MyPageModel<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml - MyPageModel<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsWithViewImports_cshtml - MyPageModel<MyModel> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithModel_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InjectWithSemicolon_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MyModel> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Inject_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InvalidNamespaceAtEOF_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
MalformedDirective - (0:0,0 [11] InvalidNamespaceAtEOF.cshtml)
|
MalformedDirective - (0:0,0 [11] InvalidNamespaceAtEOF.cshtml)
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MalformedPageDirective_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
MalformedDirective - (0:0,0 [6] MalformedPageDirective.cshtml)
|
MalformedDirective - (0:0,0 [6] MalformedPageDirective.cshtml)
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ModelExpressionTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<DateTime> -
|
||||||
DeclareTagHelperFields - - InputTestTagHelper
|
DeclareTagHelperFields - - InputTestTagHelper
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<System.Collections.IEnumerable> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<System.Collections.IEnumerable> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<System.Collections.IEnumerable> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Model_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<System.Collections.IEnumerable> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<System.Collections.IEnumerable> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_MultipleModels_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<System.Collections.IEnumerable> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
|
||||||
NamespaceDeclaration - - Test.Namespace
|
NamespaceDeclaration - - Test.Namespace
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - PageWithNamespace_Page - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - PageWithNamespace_Page - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(Test.Namespace.PageWithNamespace_Page), null)]
|
||||||
NamespaceDeclaration - - Test.Namespace
|
NamespaceDeclaration - - Test.Namespace
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - PageWithNamespace_Page - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - PageWithNamespace_Page - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
|
|
|
||||||
|
|
@ -2,15 +2,15 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
UsingStatement - (38:3,1 [41] RazorPagesWithoutModel.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
UsingDirective - (38:3,1 [41] RazorPagesWithoutModel.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
UsingStatement - (38:3,1 [43] RazorPagesWithoutModel.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
UsingDirective - (38:3,1 [43] RazorPagesWithoutModel.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithoutModel_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_0 - class - text-danger - AttributeStructure.DoubleQuotes
|
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_0 - class - text-danger - AttributeStructure.DoubleQuotes
|
||||||
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1 - class - col-md-10 - AttributeStructure.DoubleQuotes
|
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1 - class - col-md-10 - AttributeStructure.DoubleQuotes
|
||||||
|
|
|
||||||
|
|
@ -2,15 +2,15 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
UsingStatement - (55:4,1 [41] RazorPages.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
UsingDirective - (55:4,1 [41] RazorPages.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml), null)]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
UsingStatement - (55:4,1 [43] RazorPages.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
UsingDirective - (55:4,1 [43] RazorPages.cshtml) - Microsoft.AspNetCore.Mvc.RazorPages
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPages_cshtml - global::Microsoft.AspNetCore.Mvc.RazorPages.Page -
|
||||||
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_0 - class - text-danger - AttributeStructure.DoubleQuotes
|
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_0 - class - text-danger - AttributeStructure.DoubleQuotes
|
||||||
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1 - class - col-md-10 - AttributeStructure.DoubleQuotes
|
DeclarePreallocatedTagHelperHtmlAttribute - - __tagHelperAttribute_1 - class - col-md-10 - AttributeStructure.DoubleQuotes
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DeclarePreallocatedTagHelperAttribute - - __tagHelperAttribute_0 - bar - World - HtmlAttributeValueStyle.DoubleQuotes
|
DeclarePreallocatedTagHelperAttribute - - __tagHelperAttribute_0 - bar - World - HtmlAttributeValueStyle.DoubleQuotes
|
||||||
DeclareTagHelperFields - - AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml.__Generated__TestViewComponentTagHelper - AllTagHelper
|
DeclareTagHelperFields - - AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_ViewComponentTagHelper_cshtml.__Generated__TestViewComponentTagHelper - AllTagHelper
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
|
||||||
NamespaceDeclaration - - Test.Namespace
|
NamespaceDeclaration - - Test.Namespace
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - ViewWithNamespace_View - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - ViewWithNamespace_View - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(Test.Namespace.ViewWithNamespace_View))]
|
||||||
NamespaceDeclaration - - Test.Namespace
|
NamespaceDeclaration - - Test.Namespace
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - ViewWithNamespace_View - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - ViewWithNamespace_View - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - - TModel = global::System.Object
|
UsingDirective - - TModel = global::System.Object
|
||||||
UsingStatement - (1:0,1 [12] ) - System
|
UsingDirective - (1:0,1 [12] ) - System
|
||||||
UsingStatement - (16:1,1 [32] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [32] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [17] ) - System.Linq
|
UsingDirective - (51:2,1 [17] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [28] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [28] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [30] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [40] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [43] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
DirectiveToken - (231:7,8 [62] ) - global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ Document -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
|
IntermediateToken - - CSharp - [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(null, typeof(AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml))]
|
||||||
NamespaceDeclaration - - AspNetCore
|
NamespaceDeclaration - - AspNetCore
|
||||||
UsingStatement - (1:0,1 [14] ) - System
|
UsingDirective - (1:0,1 [14] ) - System
|
||||||
UsingStatement - (16:1,1 [34] ) - System.Collections.Generic
|
UsingDirective - (16:1,1 [34] ) - System.Collections.Generic
|
||||||
UsingStatement - (51:2,1 [19] ) - System.Linq
|
UsingDirective - (51:2,1 [19] ) - System.Linq
|
||||||
UsingStatement - (71:3,1 [30] ) - System.Threading.Tasks
|
UsingDirective - (71:3,1 [30] ) - System.Threading.Tasks
|
||||||
UsingStatement - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
UsingDirective - (102:4,1 [32] ) - Microsoft.AspNetCore.Mvc
|
||||||
UsingStatement - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
UsingDirective - (135:5,1 [42] ) - Microsoft.AspNetCore.Mvc.Rendering
|
||||||
UsingStatement - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
UsingDirective - (178:6,1 [45] ) - Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest__ViewImports_cshtml - global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic> -
|
||||||
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async override - global::System.Threading.Tasks.Task - ExecuteAsync
|
||||||
Inject -
|
Inject -
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
public class DesignTimeBasicWriterTest
|
public class DesignTimeBasicWriterTest
|
||||||
{
|
{
|
||||||
[Fact]
|
[Fact]
|
||||||
public void WriteUsingStatement_NoSource_WritesContent()
|
public void WriteUsingDirective_NoSource_WritesContent()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var writer = new DesignTimeBasicWriter();
|
var writer = new DesignTimeBasicWriter();
|
||||||
|
|
@ -21,13 +21,13 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
Writer = new CSharpCodeWriter()
|
Writer = new CSharpCodeWriter()
|
||||||
};
|
};
|
||||||
|
|
||||||
var node = new UsingStatementIntermediateNode()
|
var node = new UsingDirectiveIntermediateNode()
|
||||||
{
|
{
|
||||||
Content = "System",
|
Content = "System",
|
||||||
};
|
};
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
writer.WriteUsingStatement(context, node);
|
writer.WriteUsingDirective(context, node);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
var csharp = context.Writer.Builder.ToString();
|
var csharp = context.Writer.Builder.ToString();
|
||||||
|
|
@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void WriteUsingStatement_WithSource_WritesContentWithLinePragmaAndMapping()
|
public void WriteUsingDirective_WithSource_WritesContentWithLinePragmaAndMapping()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var writer = new DesignTimeBasicWriter();
|
var writer = new DesignTimeBasicWriter();
|
||||||
|
|
@ -53,14 +53,14 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
var originalSpan = new SourceSpan("test.cshtml", 0, 0, 0, 6);
|
var originalSpan = new SourceSpan("test.cshtml", 0, 0, 0, 6);
|
||||||
var generatedSpan = new SourceSpan(null, 21 + Environment.NewLine.Length, 1, 0, 6);
|
var generatedSpan = new SourceSpan(null, 21 + Environment.NewLine.Length, 1, 0, 6);
|
||||||
var expectedLineMapping = new LineMapping(originalSpan, generatedSpan);
|
var expectedLineMapping = new LineMapping(originalSpan, generatedSpan);
|
||||||
var node = new UsingStatementIntermediateNode()
|
var node = new UsingDirectiveIntermediateNode()
|
||||||
{
|
{
|
||||||
Content = "System",
|
Content = "System",
|
||||||
Source = originalSpan,
|
Source = originalSpan,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
writer.WriteUsingStatement(context, node);
|
writer.WriteUsingDirective(context, node);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
var mapping = Assert.Single(context.LineMappings);
|
var mapping = Assert.Single(context.LineMappings);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Microsoft.AspNetCore.Razor.Language.Intermediate;
|
using Microsoft.AspNetCore.Razor.Language.Intermediate;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
@ -12,7 +11,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
public class RuntimeBasicWriterTest
|
public class RuntimeBasicWriterTest
|
||||||
{
|
{
|
||||||
[Fact]
|
[Fact]
|
||||||
public void WriteUsingStatement_NoSource_WritesContent()
|
public void WriteUsingDirective_NoSource_WritesContent()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var writer = new RuntimeBasicWriter();
|
var writer = new RuntimeBasicWriter();
|
||||||
|
|
@ -21,13 +20,13 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
Writer = new CSharpCodeWriter()
|
Writer = new CSharpCodeWriter()
|
||||||
};
|
};
|
||||||
|
|
||||||
var node = new UsingStatementIntermediateNode()
|
var node = new UsingDirectiveIntermediateNode()
|
||||||
{
|
{
|
||||||
Content = "System",
|
Content = "System",
|
||||||
};
|
};
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
writer.WriteUsingStatement(context, node);
|
writer.WriteUsingDirective(context, node);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
var csharp = context.Writer.Builder.ToString();
|
var csharp = context.Writer.Builder.ToString();
|
||||||
|
|
@ -39,7 +38,7 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void WriteUsingStatement_WithSource_WritesContentWithLinePragma()
|
public void WriteUsingDirective_WithSource_WritesContentWithLinePragma()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var writer = new RuntimeBasicWriter();
|
var writer = new RuntimeBasicWriter();
|
||||||
|
|
@ -48,14 +47,14 @@ namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration
|
||||||
Writer = new CSharpCodeWriter()
|
Writer = new CSharpCodeWriter()
|
||||||
};
|
};
|
||||||
|
|
||||||
var node = new UsingStatementIntermediateNode()
|
var node = new UsingDirectiveIntermediateNode()
|
||||||
{
|
{
|
||||||
Content = "System",
|
Content = "System",
|
||||||
Source = new SourceSpan("test.cshtml", 0, 0, 0, 3),
|
Source = new SourceSpan("test.cshtml", 0, 0, 0, 3),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
writer.WriteUsingStatement(context, node);
|
writer.WriteUsingDirective(context, node);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
var csharp = context.Writer.Builder.ToString();
|
var csharp = context.Writer.Builder.ToString();
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ namespace Microsoft.AspNetCore.Razor.Language
|
||||||
};
|
};
|
||||||
|
|
||||||
var builder = IntermediateNodeBuilder.Create(documentNode);
|
var builder = IntermediateNodeBuilder.Create(documentNode);
|
||||||
builder.Add(new UsingStatementIntermediateNode());
|
builder.Add(new UsingDirectiveIntermediateNode());
|
||||||
|
|
||||||
var pass = new TestDocumentClassifierPass();
|
var pass = new TestDocumentClassifierPass();
|
||||||
pass.Engine = RazorEngine.CreateEmpty(b => { });
|
pass.Engine = RazorEngine.CreateEmpty(b => { });
|
||||||
|
|
@ -139,7 +139,7 @@ namespace Microsoft.AspNetCore.Razor.Language
|
||||||
var @namespace = SingleChild<NamespaceDeclarationIntermediateNode>(documentNode);
|
var @namespace = SingleChild<NamespaceDeclarationIntermediateNode>(documentNode);
|
||||||
Children(
|
Children(
|
||||||
@namespace,
|
@namespace,
|
||||||
n => Assert.IsType<UsingStatementIntermediateNode>(n),
|
n => Assert.IsType<UsingDirectiveIntermediateNode>(n),
|
||||||
n => Assert.IsType<ClassDeclarationIntermediateNode>(n));
|
n => Assert.IsType<ClassDeclarationIntermediateNode>(n));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
Document -
|
Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
UsingStatement - (31:1,1 [26] BasicImports_Imports0.cshtml) - System.Globalization
|
UsingDirective - (31:1,1 [26] BasicImports_Imports0.cshtml) - System.Globalization
|
||||||
UsingStatement - (80:3,1 [27] BasicImports_Imports0.cshtml) - System.ComponentModel
|
UsingDirective - (80:3,1 [27] BasicImports_Imports0.cshtml) - System.ComponentModel
|
||||||
UsingStatement - (23:1,1 [18] BasicImports_Imports1.cshtml) - System.Text
|
UsingDirective - (23:1,1 [18] BasicImports_Imports1.cshtml) - System.Text
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_DesignTime - Hello -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_DesignTime - Hello -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
DirectiveToken - (119:4,10 [5] BasicImports_Imports0.cshtml) - Hello
|
DirectiveToken - (119:4,10 [5] BasicImports_Imports0.cshtml) - Hello
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
Document -
|
Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
UsingStatement - (31:1,1 [28] BasicImports_Imports0.cshtml) - System.Globalization
|
UsingDirective - (31:1,1 [28] BasicImports_Imports0.cshtml) - System.Globalization
|
||||||
UsingStatement - (80:3,1 [29] BasicImports_Imports0.cshtml) - System.ComponentModel
|
UsingDirective - (80:3,1 [29] BasicImports_Imports0.cshtml) - System.ComponentModel
|
||||||
UsingStatement - (23:1,1 [20] BasicImports_Imports1.cshtml) - System.Text
|
UsingDirective - (23:1,1 [20] BasicImports_Imports1.cshtml) - System.Text
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_Runtime - Hello -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_BasicImports_Runtime - Hello -
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (0:0,0 [18] BasicImports.cshtml)
|
HtmlContent - (0:0,0 [18] BasicImports.cshtml)
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
Document -
|
Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
UsingStatement - (1:0,1 [15] Usings.cshtml) - System.IO
|
UsingDirective - (1:0,1 [15] Usings.cshtml) - System.IO
|
||||||
UsingStatement - (19:1,1 [32] Usings.cshtml) - Foo = System.Text.Encoding
|
UsingDirective - (19:1,1 [32] Usings.cshtml) - Foo = System.Text.Encoding
|
||||||
UsingStatement - (54:2,1 [12] Usings.cshtml) - System
|
UsingDirective - (54:2,1 [12] Usings.cshtml) - System
|
||||||
UsingStatement - (71:4,1 [19] Usings.cshtml) - static System
|
UsingDirective - (71:4,1 [19] Usings.cshtml) - static System
|
||||||
UsingStatement - (93:5,1 [27] Usings.cshtml) - static System.Console
|
UsingDirective - (93:5,1 [27] Usings.cshtml) - static System.Console
|
||||||
UsingStatement - (123:6,1 [41] Usings.cshtml) - static global::System.Text.Encoding
|
UsingDirective - (123:6,1 [41] Usings.cshtml) - static global::System.Text.Encoding
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_DesignTime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_DesignTime - -
|
||||||
DesignTimeDirective -
|
DesignTimeDirective -
|
||||||
CSharpCode -
|
CSharpCode -
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
Document -
|
Document -
|
||||||
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
NamespaceDeclaration - - Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
|
||||||
UsingStatement - (1:0,1 [17] Usings.cshtml) - System.IO
|
UsingDirective - (1:0,1 [17] Usings.cshtml) - System.IO
|
||||||
UsingStatement - (19:1,1 [34] Usings.cshtml) - Foo = System.Text.Encoding
|
UsingDirective - (19:1,1 [34] Usings.cshtml) - Foo = System.Text.Encoding
|
||||||
UsingStatement - (54:2,1 [14] Usings.cshtml) - System
|
UsingDirective - (54:2,1 [14] Usings.cshtml) - System
|
||||||
UsingStatement - (71:4,1 [21] Usings.cshtml) - static System
|
UsingDirective - (71:4,1 [21] Usings.cshtml) - static System
|
||||||
UsingStatement - (93:5,1 [29] Usings.cshtml) - static System.Console
|
UsingDirective - (93:5,1 [29] Usings.cshtml) - static System.Console
|
||||||
UsingStatement - (123:6,1 [43] Usings.cshtml) - static global::System.Text.Encoding
|
UsingDirective - (123:6,1 [43] Usings.cshtml) - static global::System.Text.Encoding
|
||||||
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_Runtime - -
|
ClassDeclaration - - public - TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_Runtime - -
|
||||||
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
MethodDeclaration - - public async - System.Threading.Tasks.Task - ExecuteAsync
|
||||||
HtmlContent - (68:3,0 [2] Usings.cshtml)
|
HtmlContent - (68:3,0 [2] Usings.cshtml)
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests
|
||||||
WriteContentNode(node, string.Join(" ", node.Modifiers), node.ReturnType, node.Name);
|
WriteContentNode(node, string.Join(" ", node.Modifiers), node.ReturnType, node.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void VisitUsingStatement(UsingStatementIntermediateNode node)
|
public override void VisitUsingDirective(UsingDirectiveIntermediateNode node)
|
||||||
{
|
{
|
||||||
WriteContentNode(node, node.Content);
|
WriteContentNode(node, node.Content);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var @using = Assert.IsType<UsingStatementIntermediateNode>(node);
|
var @using = Assert.IsType<UsingDirectiveIntermediateNode>(node);
|
||||||
Assert.Equal(expected, @using.Content);
|
Assert.Equal(expected, @using.Content);
|
||||||
}
|
}
|
||||||
catch (XunitException e)
|
catch (XunitException e)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue