<PackageReference Include="NJsonSchema" Version="11.0.0" />

CompilerFeatureRequiredAttribute

Indicates that compiler support for a particular feature is required for the location where this attribute is applied.
public const string RefStructs = "RefStructs"

The FeatureName used for the ref structs C# feature.

public const string RequiredMembers = "RequiredMembers"

The FeatureName used for the required members C# feature.

public string FeatureName { get; }

The name of the compiler feature.

public bool IsOptional { get; set; }

If true, the compiler can choose to allow access to the location where this attribute is applied if it does not understand FeatureName.

public CompilerFeatureRequiredAttribute(string featureName)