Innovenergy_trunk/csharp/Lib/SrcGen/Attributes/Generate.cs

16 lines
367 B
C#
Raw Normal View History

2023-06-13 11:03:09 +00:00
using System.Diagnostics.CodeAnalysis;
namespace InnovEnergy.Lib.SrcGen.Attributes;
[SuppressMessage("ReSharper", "UnusedTypeParameter")]
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
public class Generate<T> : Attribute
{
public String[] Defines { get; }
public Generate(params String[] defines)
{
Defines = defines;
}
}