protected override bool IsSpecialCase (MethodReference method) { if ((method == null) || method.IsNamed ("System", "Activator", "CreateInstance")) return true; TypeReference type = method.DeclaringType; if (!type.IsNamed ("System.Resources", "ResourceManager")) return false; string name = method.Name; return (name == "GetObject" || name == "GetString"); }