Skip to content

Commit

Permalink
Added IsAnonymous for enum types
Browse files Browse the repository at this point in the history
  • Loading branch information
bcallaghan-et committed Apr 22, 2020
1 parent e4c2400 commit 2c012b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions XmlSchemaClassGenerator/ModelBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ private TypeModel CreateTypeModel(XmlSchemaSimpleType simpleType, NamespaceModel
Namespace = namespaceModel,
XmlSchemaName = qualifiedName,
XmlSchemaType = simpleType,
IsAnonymous = string.IsNullOrEmpty(simpleType.QualifiedName.Name),
};

enumModel.Documentation.AddRange(docs);
Expand Down

0 comments on commit 2c012b5

Please sign in to comment.