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