public void RemoveNamespaceMapping(string path)
{
if (!NamespaceMappings.Remove(path))
{
return;
}
foreach (var item in (from key in cache.Keys
where key.StartsWith(path)
select key))
{
NestedVirtualFile value;
if (cache.TryRemove(item, out value) && value != null)
{
value.Dependency.Removed();
}
}
}