Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8518
An expression of type '{0}' can never match the provided pattern.