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

NH-3700 - Remove CodeDom BytecodeProviderImpl #689

Merged
merged 2 commits into from
Sep 19, 2017

Conversation

ngbrown
Copy link
Contributor

@ngbrown ngbrown commented Sep 15, 2017

This is NH-3700.

The CodeDom BytecodeProviderImpl was intended for .Net 1.1 and has not been the default for many years. It doesn't actually work currently.

This was slated for v5.0. It's not really a breaking change as it hasn't been usable; see NH-2798.

The CodeDom BytecodeProviderImpl was intended for .Net 1.1 and has not
been the default for many years. It doesn't actually work currently.
@ngbrown
Copy link
Contributor Author

ngbrown commented Sep 15, 2017

There are currently zero tests that cover the results of the CodeDom code generation, and the code it generates is incorrect. The first error in the generated code is using NHibernate.Property; because there is no matching namespace.

@@ -15,7 +15,6 @@
<xs:documentation>
There are 3 default short-cut values
- lcg : default for .NET2.0 and higher.
- codedom : CodeDOM-based bytecode provider (mostly for .NET1.1).
- null : Disable the reflection optimization completely.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 3 should be changed to There are 2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@fredericDelaporte fredericDelaporte merged commit 83d438c into nhibernate:master Sep 19, 2017
@ngbrown ngbrown deleted the NH-3700 branch September 19, 2017 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants