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