Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1922
Cannot initialize type '{0}' with a collection initializer because it does not implement 'System.Collections.IEnumerable'