Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8116
It is not legal to use nullable type '{0}' in a pattern; use the underlying type '{1}' instead.