public TypeCache(ISolution solution) { AbstractClasses = new Dictionary <string, IAbstractClass>(); Classes = new Dictionary <string, IClass>(); SealedClasses = new Dictionary <string, ISealedClass>(); StaticClasses = new Dictionary <string, IStaticClass>(); Structs = new Dictionary <string, IStruct>(); solution.AcceptChildrenAsync(this).Wait(); }