public static void AssertGenericDictionary(Type t) { if (!GenericExtensions.IsMapped(t)) { throw new IllegalStateException("type is not a mapped value"); } }