Closed
Description
Describe the bug
It is impossible to set a negative value as the default value for UxmlAttribute
.
The following code generates: error UXMLG003: UxmlAttribute for 'MaxTextLength' property was not created. The default property and attribute value must be of the same type.
[UxmlAttribute(-1)]
private int MaxTextLength { get; set; }