Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0138
A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider a 'using static' directive instead