// Token: 0x0600223B RID: 8763 RVA: 0x000AA600 File Offset: 0x000A8800
 private static void EnsureLatestAssemblyLoadInformation()
 {
     Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
     if (assemblies.Length != RestrictiveXamlXmlReader._loadedAssembliesCount)
     {
         foreach (Assembly assembly in assemblies)
         {
             RestrictiveXamlXmlReader.RegisterAssembly(assembly);
         }
         RestrictiveXamlXmlReader._loadedAssembliesCount = assemblies.Length;
     }
 }
 // Token: 0x0600223A RID: 8762 RVA: 0x000AA56C File Offset: 0x000A876C
 private bool IsRestrictedType(Type type)
 {
     if (type != null)
     {
         if (this._safeTypesSet.Contains(type))
         {
             return(false);
         }
         RestrictiveXamlXmlReader.EnsureLatestAssemblyLoadInformation();
         foreach (RestrictiveXamlXmlReader.RestrictedType restrictedType in RestrictiveXamlXmlReader._restrictedTypes)
         {
             Type typeReference = restrictedType.TypeReference;
             if (typeReference != null && typeReference.IsAssignableFrom(type))
             {
                 return(true);
             }
         }
         this._safeTypesSet.Add(type);
         return(false);
     }
     return(false);
 }