private static void ReportReflectionLoad( AssemblyName assmName, Assembly assembly, Assembly requesting) { if (PluginsFactory <T> .log.get_IsWarnEnabled() && !StringComparer.Ordinal.Equals(assmName.FullName, assembly.FullName)) { PluginsFactory <T> .log.WarnFormat("inspecting [{0}] as [{1}]{2}{3}", new object[4] { (object)assmName, (object)assembly, (object)PluginsFactory <T> .FormatCodeBase(assembly), (object)PluginsFactory <T> .FormatRequest(requesting) }); } else { if (!PluginsFactory <T> .log.get_IsDebugEnabled()) { return; } PluginsFactory <T> .log.DebugFormat("inspecting [{0}] as [{1}]{2}{3}", new object[4] { (object)assmName, (object)assembly, (object)PluginsFactory <T> .FormatCodeBase(assembly), (object)PluginsFactory <T> .FormatRequest(requesting) }); } }
private static string FormatRequest(Assembly requesting) { if (!(requesting != (Assembly)null)) { return(string.Empty); } return(" requested by [" + (object)requesting + "]" + PluginsFactory <T> .FormatCodeBase(requesting)); }
// Token: 0x060008F9 RID: 2297 RVA: 0x00040A20 File Offset: 0x0003EC20 private static string FormatRequest(Assembly requesting) { if (!(requesting != null)) { return(string.Empty); } return(string.Concat(new object[] { " requested by [", requesting, "]", PluginsFactory <T> .FormatCodeBase(requesting) })); }