Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8651
It is not legal to use nullable reference type '{0}?' in an as expression; use the underlying type '{0}' instead.