private int RetrieveStoreSizeOfBaseClass(Type baseType) { BindingFlags bindingFlags = BindingFlags.DeclaredOnly | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.GetField; TransitionChainStore store = (TransitionChainStore)baseType.InvokeMember( "s_TransitionChainStore", bindingFlags, null, null, null); return(store.Size); }