public static CompilerError InvalidGeneratorReturnType(Node node, IType type) { return Instantiate("BCE0101", node, type, LanguageAmbiance.DefaultGeneratorTypeFor(type.DisplayName())); }