I converted the following from VB.NET code (when Option Strict=On) and am getting red underlined errors from Intellisense on two lines. I need to spend more time on this, which will take a while, but if you can see why these errors are occurring, then please advise on what's wrong.

Code:
        public Dictionary<string, object> GetMyResourcesDictionary()
        {
            Dictionary<string, object> ItemDictionary = new Dictionary<string, object>();
            System.Collections.IDictionaryEnumerator ItemEnumerator = null;
            var ItemResourceSet = Properties.Resources.ResourceManager.GetResourceSet(new System.Globalization.CultureInfo("en"), true, true);
            List<string> ResourceNameList = new List<string>();

            //Get the enumerator for My.Resources
            ItemEnumerator = ItemResourceSet.GetEnumerator;  //******GetEnumerator is underlined in red (Intellisense)

            while (ItemEnumerator.MoveNext=true) //******ItemEnumerator.MoveNext is underlined in red (Intellisense)
            {
                ResourceNameList.Add(ItemEnumerator.Key.ToString());
            }

            foreach (string resourceName in ResourceNameList)
            {
                ItemDictionary.Add(resourceName, GetItem(resourceName));
                ImageList1.Images.Add((Icon)(GetItem(resourceName)));
            }

            ResourceNameList = null;

            return ItemDictionary;
        }
       
	public object GetItem(string resourceName)
	{
		return Properties.Resources.ResourceManager.GetObject(resourceName);
	}