Orace
Orace
@michael-buschbeck should be set as author.
Maybe it's PSTR that should be improved
@andrerav, the last one available on NuGet: 7.3.0, the demo code run on .Net7
> Could you try the latest prerelease please? @andrerav, It fails with 7.4.0 too.
Using [sharplab.io](https://sharplab.io/#v2:CYLg1APgAgDABFAjAFgNwFgBQWoGYEBMCiA7APIAOALgJYD2AdgM5YDeWcnC+ATgKYBHAK41+wODQZU4ANQCGAGyF84rOAHM+VVBIY1tcAL5ZDQA), it appears that a [RequiredMemberAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.requiredmemberattribute?view=net-7.0) is added to the `required` properties. Search for this attribute is a trivia.
Has mentioned by [DoctorKrolic](https://github.com/DoctorKrolic) [here ](https://github.com/commandlineparser/commandline/pull/863#discussion_r1046227510) > What if you have a required modifier and [Option(Required = false)]? I would say, it should throw because of conflicting settings. Please add...
A quick [look to the IL](https://sharplab.io/#v2:C4LglgNgNAJiDUAfAAgJgIwFgBQyDMABGgQMIEDeOB1RhyALAQLIAUAlBVTdwELsDcOLt2oA5PgDMAhhADOAUzaDsImsJHiB6gL7r1+Ioz4AjAPamIBYwQC8BaXMWcVNXS+r66jTWYsB+K1sCADsAVwgIDkp3AjdtIA=) shows it unfortunately is 😒