Code Generation (#2734)
I'm having a problem with C# code generation. The software seems to be struggling with "null!" or initializing a non-nullable to null usinging the "!" operator.
Proper Implementation of the code:
public string foo { get; set; } = null!;
SIMs generated code:
public string foo{ get; set; } = = null!;;
As you can see SIM adds an extra equals(=) and an extra semi-colon (;)
Created
8 February 2024 17:49:16
Closed
21 March 2024 11:49:15
Requested by
Caelan
State
Solved
Version
Trail v14.10
OperatingSystem
Windows 11
Solved in
14.30
Dusan Rodina - softwareideas.net 9 February 2024 10:00:53
Hello,
We cannot reproduce this issue. Could you please send us the example project file in which you observe this behavior to softwareideas@softwareideas.net ?