7 references to Count
System.ServiceModel.Internals (7)
System\Runtime\IOThreadScheduler.cs (7)
156bool wasIdle = Bits.Count(slot) == 0; 160Fx.Assert(Bits.Count(slot) != 0, "IOTS went idle when it shouldn't have."); 164if (Bits.Count(slot) == -1) 209if (Bits.Count(ht) == -1) 258Fx.Assert(Bits.Count(slot) != -1, "CompletionCallback called on idle IOTS!"); 260bool wasEmpty = Bits.Count(slot) == 0; 331if (Bits.Count(slot) > 0)