CacheManager
CacheManager copied to clipboard
Fix infinite loop in CheckExtends
Pretty self-explanatory - intention is to traverse base type hierarchy, not to check the same one over and over again.
As a side-note, this whole function should probably be replaced with
typeof(TValid).IsAssignableFrom(type)