in Managed/PseudoLoc/PseudoLocalizer.cs [187:210]
private static void OnCurrentDomainAssemblyLoad(object sender,
AssemblyLoadEventArgs args)
{
Assembly assembly = args.LoadedAssembly;
bool isThisMyAssembly;
if (!assembly.GlobalAssemblyCache)
{
isThisMyAssembly = true;
}
else if (assembly.FullName.StartsWith("Microsoft.Web",
StringComparison.OrdinalIgnoreCase))
{
isThisMyAssembly = true;
}
else
{
isThisMyAssembly = false;
}
if (isThisMyAssembly)
{
TryEnableAssembly(assembly);
}
}