Must be able to write to argument argument because parameter was declared as OUT or INOUT

An argument that was declared as IN, a literal, a read‑only class field, a function, or a method return value (for example, a property/indexer) was passed to a parameter marked as OUT or INOUT. Because none of these are writable, they cannot be passed as OUT or INOUT.