mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 11:39:43 +00:00
23 lines
663 B
C#
23 lines
663 B
C#
// ReSharper disable once CheckNamespace
|
|
|
|
namespace System.Runtime.CompilerServices;
|
|
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
|
|
internal sealed class InterpolatedStringHandlerAttribute : Attribute { }
|
|
|
|
[AttributeUsage(AttributeTargets.Parameter)]
|
|
internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
|
|
{
|
|
public InterpolatedStringHandlerArgumentAttribute(string argument)
|
|
{
|
|
Arguments = new[] { argument };
|
|
}
|
|
|
|
public InterpolatedStringHandlerArgumentAttribute(params string[] arguments)
|
|
{
|
|
Arguments = arguments;
|
|
}
|
|
|
|
public string[] Arguments { get; }
|
|
}
|