[Issue #1320] Make preallocated IR nodes internal

This commit is contained in:
Ajay Bhargav Baaskaran 2017-05-12 15:37:51 -07:00
parent 86d045c667
commit 2274aaeead
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Razor.Language.CodeGeneration;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{ {
public sealed class AddPreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode internal sealed class AddPreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode
{ {
public override IList<RazorIRNode> Children { get; } = EmptyArray; public override IList<RazorIRNode> Children { get; } = EmptyArray;

View File

@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Razor.Language.Legacy;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{ {
public sealed class DeclarePreallocatedTagHelperAttributeIRNode : ExtensionIRNode internal sealed class DeclarePreallocatedTagHelperAttributeIRNode : ExtensionIRNode
{ {
public override IList<RazorIRNode> Children { get; } = EmptyArray; public override IList<RazorIRNode> Children { get; } = EmptyArray;

View File

@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Razor.Language.Legacy;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{ {
public sealed class DeclarePreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode internal sealed class DeclarePreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode
{ {
public override IList<RazorIRNode> Children { get; } = EmptyArray; public override IList<RazorIRNode> Children { get; } = EmptyArray;

View File

@ -17,6 +17,6 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
public abstract SourceSpan? Source { get; set; } public abstract SourceSpan? Source { get; set; }
public abstract void Accept(RazorIRNodeVisitor visitor); public abstract void Accept(RazorIRNodeVisitor visitor);
} }
} }

View File

@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Razor.Language.Legacy;
namespace Microsoft.AspNetCore.Razor.Language.Intermediate namespace Microsoft.AspNetCore.Razor.Language.Intermediate
{ {
public sealed class SetPreallocatedTagHelperPropertyIRNode : ExtensionIRNode internal sealed class SetPreallocatedTagHelperPropertyIRNode : ExtensionIRNode
{ {
public override IList<RazorIRNode> Children { get; } = EmptyArray; public override IList<RazorIRNode> Children { get; } = EmptyArray;