private IEntity NameNotType(SimpleTypeReference node) { string suggestion = GetMostSimilarTypeName(node.Name); _context.Errors.Add(CompilerErrorFactory.NameNotType(node, node.ToCodeString(), suggestion)); return TypeSystemServices.ErrorEntity; }