This bug was first recorded here:
daryllabar/DLaB.Xrm.XrmToolBoxTools#502
Apparently the Code Dom will automatically append "__Member" to the property name if it matches the class name, but it doesn't update it when it's used in the constructor.
Technically the naming service can check for the collision and give a different name, but the Model builder can guarantee code that will compile if it will append "__Member" to the name to the property assignment in the constructor if it matches the class name.
This bug was first recorded here:
daryllabar/DLaB.Xrm.XrmToolBoxTools#502
Apparently the Code Dom will automatically append "__Member" to the property name if it matches the class name, but it doesn't update it when it's used in the constructor.
Technically the naming service can check for the collision and give a different name, but the Model builder can guarantee code that will compile if it will append "__Member" to the name to the property assignment in the constructor if it matches the class name.