Skip to content

Commit b7b0784

Browse files
committed
"namingScheme" argument is ignored when "typeNameSubstitute" argument is provided in console
1 parent 0f45608 commit b7b0784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XmlSchemaClassGenerator.Console/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
279279

280280
if (nameSubstituteMap.Any())
281281
{
282-
generator.NamingProvider = new SubstituteNamingProvider(nameSubstituteMap);
282+
generator.NamingProvider = new SubstituteNamingProvider(generator.NamingScheme, nameSubstituteMap);
283283
}
284284

285285
generator.CommentLanguages.UnionWith(commentLanguages);

0 commit comments

Comments
 (0)