protected void AssertEntriesAreValid(IDictionary types)
{
foreach(DictionaryEntry entry in types)
{
DefinitionBase type = entry.Value as DefinitionBase;
AssertNotEmpty( type, entry.Key as String, "A key must be specified to identify the type in the map" );
}
}