-
refandref readonlyparameters require the arguments are an lvalue and ...- Use
refas a call site annotation for either - Use
inas a call site forref readonly - Using no annotation is allowed for
ref readonlybut leads to a warning, forrefit leads to an error - Using
outat the call site leads to an error
- Use
-
inparameters require the arguments ...- Use
inor no annotation at the call site - Using
refat the call site is allowed but leads to a warning - Using
outat the call site leads to an error
- Use
Other Items:
ref readonlywill not be allowed on operators