Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0662
Cannot specify only Out attribute on a ref parameter. Use both In and Out attributes, or neither.