int c2 = log4net.LogicalThreadContext.Stacks["LDC"].Count;
Type t = Type.GetType(@namespace + entity) ?? Type.GetType(@namespace + entity + postfix);
int c3 = log4net.LogicalThreadContext.Stacks["LDC"].Count;
if (c2 != 0 && c3 == 0) // true
{
// bp
}
LogicalThreadContext
指向CallContext.LogicalSetData
。
为什么会这样?