Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1918
Members of property '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type