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