using System; using System.Diagnostics; namespace JetBrains.Annotations; [AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Delegate)] [Conditional("JETBRAINS_ANNOTATIONS")] internal sealed class StringFormatMethodAttribute : Attribute { public string FormatParameterName { get; private set; } public StringFormatMethodAttribute(string formatParameterName) { FormatParameterName = formatParameterName; } }