Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8816
Module initializer method '{0}' must not be generic and must not be contained in a generic type