@@ -12,6 +12,7 @@ namespace NativeCodeGen.Core.Export;
1212/// </summary>
1313
1414[ ProtoContract ]
15+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
1516public partial class ExportDatabase
1617{
1718 [ ProtoMember ( 1 ) ]
@@ -31,6 +32,7 @@ public partial class ExportDatabase
3132}
3233
3334[ ProtoContract ]
35+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
3436public partial class ExportNamespace
3537{
3638 [ ProtoMember ( 1 ) ]
@@ -41,6 +43,7 @@ public partial class ExportNamespace
4143}
4244
4345[ ProtoContract ]
46+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
4447public partial class ExportNative
4548{
4649 [ ProtoMember ( 1 ) ]
@@ -70,6 +73,10 @@ public partial class ExportNative
7073 public List < string > ? Aliases { get ; set ; }
7174
7275
76+ [ ProtoMember ( 9 ) ]
77+ [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
78+ public List < string > ? UsedEnums { get ; set ; }
79+
7380 [ ProtoMember ( 10 ) ]
7481 [ JsonPropertyName ( "apiset" ) ]
7582 public string ApiSet { get ; set ; } = "client" ;
@@ -80,6 +87,7 @@ public partial class ExportNative
8087}
8188
8289[ ProtoContract ]
90+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
8391public partial class ExportParameter
8492{
8593 [ ProtoMember ( 1 ) ]
@@ -101,6 +109,7 @@ public partial class ExportParameter
101109}
102110
103111[ ProtoContract ]
112+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
104113public partial class ExportEnum
105114{
106115 [ ProtoMember ( 1 ) ]
@@ -119,6 +128,7 @@ public partial class ExportEnum
119128}
120129
121130[ ProtoContract ]
131+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
122132public partial class ExportEnumMember
123133{
124134 [ ProtoMember ( 1 ) ]
@@ -129,6 +139,7 @@ public partial class ExportEnumMember
129139}
130140
131141[ ProtoContract ]
142+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
132143public partial class ExportStruct
133144{
134145 [ ProtoMember ( 1 ) ]
@@ -147,6 +158,7 @@ public partial class ExportStruct
147158}
148159
149160[ ProtoContract ]
161+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
150162public partial class ExportStructField
151163{
152164 [ ProtoMember ( 1 ) ]
@@ -177,6 +189,7 @@ public partial class ExportStructField
177189}
178190
179191[ ProtoContract ]
192+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
180193public partial class ExportSharedExample
181194{
182195 [ ProtoMember ( 1 ) ]
@@ -191,6 +204,7 @@ public partial class ExportSharedExample
191204}
192205
193206[ ProtoContract ]
207+ [ CompatibilityLevel ( CompatibilityLevel . Level240 ) ]
194208public partial class ExportSharedExampleCode
195209{
196210 [ ProtoMember ( 1 ) ]
0 commit comments