<PackageReference Include="NJsonSchema.Annotations" Version="11.3.0" />

ConstantExpectedAttribute

Indicates that the specified method parameter expects a constant.
using System.Runtime.CompilerServices; namespace System.Diagnostics.CodeAnalysis { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] [ExcludeFromCodeCoverage] internal sealed class ConstantExpectedAttribute : Attribute { public object Min { get; set; } public object Max { get; set; } } }