I've written an add-in (VS2010, C#) that finds specific invalid feature layers in ArcMap and fixes them. After the layer is fixed, the red invalid symbol still appears in the TOC. An activeview.refresh doesn't take care of it. How does one programatically get that layer entry to appear as valid without manual intervention?
I think you just need to refresh the Table of Contents. Try something like this: