We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa4900 commit e44ebbdCopy full SHA for e44ebbd
XmlSchemaClassGenerator/TypeModel.cs
@@ -263,7 +263,7 @@ public override CodeTypeDeclaration Generate()
263
foreach (var property in Properties)
264
property.AddMembersTo(classDeclaration, EnableDataBinding);
265
266
- if (IsMixed)
+ if (IsMixed && (BaseClass == null || BaseClass is ClassModel))
267
{
268
var text = new CodeMemberField(typeof(string), "Text");
269
// hack to generate automatic property
0 commit comments