// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System.Runtime.CompilerServices
{
    // Custom attribute to indicating a TypeDef is a discardable attribute.

    public class DiscardableAttribute : Attribute
    {
        public DiscardableAttribute() { }
    }
}

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System.Runtime.CompilerServices
{
    // Custom attribute to indicating a TypeDef is a discardable attribute.
    [AttributeUsage(AttributeTargets.All)]
    public class DiscardableAttribute : Attribute
    {
        public DiscardableAttribute() { }
    }
}

Fix FxCop warning CA1018 (attributes should have AttributeUsage)
Fix FxCop warning CA1018 (attributes should have AttributeUsage)

Signed-off-by: dotnet-bot <03c4cb6107ae99956a7681f2c97ff7104809a2bd@microsoft.com>
