public TypeProvidersContext(TypeProvidersConnection connection)
 {
     Connection = connection;
     ProvidedCustomAttributeProvider = new ProvidedCustomAttributeProvider(connection);
     ProvidedTypesCache      = new ProvidedTypesCache(this);
     ProvidedAssembliesCache = new ProvidedAssembliesCache(this);
 }
 public string Dump() =>
 string.Join("\n\n", ProvidedTypesCache.Dump(), ProvidedAssembliesCache.Dump());
 public void Dispose(int typeProviderId)
 {
     ProvidedTypesCache.Remove(typeProviderId);
     ProvidedAssembliesCache.Remove(typeProviderId);
 }