Fields with the attribute [Output]
must not be of type Any
.
You can also use the provided automatic Code Fix to change the [Output]
attribute to [InOut]
. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Change the [Output]
attribute to [InOut]
.