Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8781
Relational patterns may not be used for a value of type '{0}'.