Skip to content

Commit a663325

Browse files
author
Michael Ganss
committed
Improve fix for #12
1 parent f72c936 commit a663325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XmlSchemaClassGenerator/NamespaceProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public string FindNamespace(NamespaceKey key, string defaultNamespace = null)
170170
}
171171

172172
string ns;
173-
if (TryGenerateNamespace(key, out ns))
173+
if (TryGetValue(key, out ns))
174174
return ns;
175175

176176
return defaultNamespace;

0 commit comments

Comments
 (0)