Won't Fix
Details
Details
Assignee
Unassigned
UnassignedReporter
Stuart Carnie
Stuart CarnieLabels
Components
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created September 2, 2011 at 12:31 AM
Updated September 20, 2011 at 3:51 PM
Resolved September 20, 2011 at 3:51 PM
The DefineConstructor method in ProxyFactory.cs generates IL to call "baseConstructor", however this is always the default constructor of System.Object and no the parentType. Some POCOs may have basic initialization in the constructor that is now broken with this change. Our existing system, coming from NH 2.1 is unable to function with this new behavior.
Unit test will be forthcoming to demonstrate issue.