Skip to content

Commit 237a7a6

Browse files
author
NTaylorMullen
committed
Seal RestrictChildrenAttribute.
Addresses #5041
1 parent ae9b399 commit 237a7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/Razor/src/TagHelpers/RestrictChildrenAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers
1313
/// <see cref="HtmlTargetElementAttribute.TagStructure"/> as <see cref="TagStructure.WithoutEndTag"/> will result
1414
/// in this attribute being ignored.</remarks>
1515
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
16-
public class RestrictChildrenAttribute : Attribute
16+
public sealed class RestrictChildrenAttribute : Attribute
1717
{
1818
/// <summary>
1919
/// Instantiates a new instance of the <see cref="RestrictChildrenAttribute"/> class.

0 commit comments

Comments
 (0)