FAAAAT
FAAAAT
CC#
Created by FAAAAT on 7/23/2024 in #help
Type <class name> appears to be immutable, but no constructor found to accept values.
Hi guys, after some debug, I found it is not related with the feature "Immutable Class". It caused by CommandLine.Core.InstanceBuilder.BuildImmutable in package CommandLineParser. It simply check the ScriptVerb.IsMutable to decide which build method should be call BuildImmutable or BuildMutable. Need further investigation. Will take another time to finish it. PS: I checked the repo of CommandLineParser, it seems stop update about 2 years.... The bugs user reported leaves there for a long time.
13 replies
CC#
Created by FAAAAT on 7/23/2024 in #help
Type <class name> appears to be immutable, but no constructor found to accept values.
Yeah, I also wonder about it. Since I am not using keyworkd "record", and I can run the debug output successfully, I think maybe the compiler do the magic for me by default.... Thanks anyway. I will try delete all the output and try again.
13 replies
CC#
Created by FAAAAT on 7/23/2024 in #help
Type <class name> appears to be immutable, but no constructor found to accept values.
No description
13 replies
CC#
Created by FAAAAT on 7/23/2024 in #help
Type <class name> appears to be immutable, but no constructor found to accept values.
HI Pobiega, thanks for your helping here. Actually I tried it. Doesn't work 🥲
13 replies