Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[regression in v3.4.3+] error CS0108: OneField of ParentType hides inherited member OneField of ChildType #63

Closed
hieu-informatics opened this issue Feb 2, 2024 · 1 comment · Fixed by #65

Comments

@hieu-informatics
Copy link

In v3.4.4, I find the generated code is generating duplicated fields in ParentType. This causes CS0108: OneField of ParentType hides inherited member OneField of ChildType.

Sample XSD file:

<xs:complexType name="ParentType">
<xs:complexContent mixed="false">
<xs:extension base="lsr:ChildType">
xs:sequence
<xs:element minOccurs="1" maxOccurs="1" name="OneField" type="xs:long"/>
....

@hieu-informatics hieu-informatics changed the title [regression in v3.4.4] error CS0108: OneField of ParentType hides inherited member OneField of ChildType [regression in v3.4.3+] error CS0108: OneField of ParentType hides inherited member OneField of ChildType Feb 2, 2024
@mamift
Copy link
Owner

mamift commented Feb 2, 2024

Could you post more of the XSD file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants