The new operator was applied to a class member. This is allowed only when the class member is a method or property marked with the expando modifier, which allows it to be used a constructor.
To correct this error
Apply the expando modifier to the definition of the class member.
Do not use the new operator on non-expando class members.