This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride/Generators/WithPropertiesAttribute.cs

14 lines
375 B
C#

using System;
namespace MfGames.Nitride.Generators;
/// <summary>
/// A marker attribute that indicates that the source generator should
/// automatically add `Set*` methods for every public property in the class.
/// The class must be `partial` for this to work.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class WithPropertiesAttribute : Attribute
{
}