Methods with the attribute [Function]
inside a class with the attribute [FunctionContainer]
have to be static
.
You can also use the provided automatic Code Fix to add the static
modifier to the method. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Add the static
modifier to the method.