internal void SetReadOnly()
{
foreach (var type in this.resourceTypes.Values)
{
type.SetReadOnly();
}
foreach (var set in this.resourceSets.Values)
{
set.SetReadOnly();
}
}