16 lines
367 B
C#
16 lines
367 B
C#
|
|
||
|
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;
|
||
|
}
|
||
|
}
|