protected override void FreezeInternal() { // Deep Freeze: freeze lists and their contents classes = FreezeList(classes); attributes = FreezeList(attributes); foldingRegions = FreezeList(foldingRegions); tagComments = FreezeList(tagComments); usingScope.Freeze(); base.FreezeInternal(); }