The parameter must have the same name as the class
.
It applies for first parameters when:
- the method is named
__Process()
, has the[Execution]
attribute and is inside aclass
marked with[Function]
and:- the parameter has the attribute
[Output]
- or the parameter has the keyword
ref
- or the parameter has the keyword
out
- or the class has the
[Eno]
attribute and the method a return value of type bool
- the parameter has the attribute
You can also use the provided automatic Code Fix to rename the parameter. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Rename the parameter to match the class name (or the other way round).