You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: XmlSchemaClassGenerator.Console/Program.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
158
158
{"dnfin|doNotForceIsNullable","do not force generator to emit IsNullable = true in XmlElement annotation for nillable elements when element is nullable (minOccurs < 1 or parent element is choice) (default is false)", v =>doNotForceIsNullable=v!=null},
159
159
{"cn|compactTypeNames","use type names without namespace qualifier for types in the using list (default is false)", v =>compactTypeNames=v!=null},
160
160
{"cl|commentLanguages=",$"comment languages to use (default is {string.Join(", ",commentLanguages)}; supported are {string.Join(", ",supportedCommentLanguages)})",
161
-
v =>commentLanguages=v.Split(',').Select(l =>l.Trim()).ToArray()},
161
+
v =>commentLanguages=[.. v.Split(',').Select(l =>l.Trim())]},
162
162
{"un|uniqueTypeNames","generate type names that are unique across namespaces (default is false)", v =>uniqueTypeNamesAcrossNamespaces=v!=null},
163
163
{"gc|generatedCodeAttribute","add version information to GeneratedCodeAttribute (default is true)", v =>createGeneratedCodeAttributeVersion=v!=null},
164
164
{"nc|netCore","generate .NET Core specific code that might not work with .NET Framework (default is false)", v =>netCoreSpecificCode=v!=null},
0 commit comments