Skip to content

Commit a1729c5

Browse files
committed
Fix CliCommandAliasAttribute for inherited classes
1 parent 0558bd6 commit a1729c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CLU/Microsoft.CLU/System.Management.Automation/CliCommandAliasAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace System.Management.Automation
22
{
3-
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
3+
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
44
public sealed class CliCommandAliasAttribute : System.Attribute
55
{
66
/// <summary>

0 commit comments

Comments
 (0)