using System;
namespace ComputeSharp.Tests.Attributes;
///
/// An attribute to use with targeting a specific resource type.
///
/// The resource type.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class ResourceAttribute(Type type) : Attribute
{
///
/// Gets the resource type for the current attribute.
///
public Type Type { get; } = type;
}