public void cleanUp() { foreach (var field in structFieldsToFix.getKeys()) { field.DeclaringType.Fields.Remove(field); } }