4 references to AssertAndThrow
System.ServiceModel.Primitives (4)
Internals\System\Runtime\InputQueue.cs (3)
1030Fx.AssertAndThrow(ItemCount != _pendingCount, "ItemQueue does not contain any available items"); 1047Fx.AssertAndThrow(_pendingCount != 0, "ItemQueue does not contain any pending items"); 1053Fx.AssertAndThrow(ItemCount != 0, "ItemQueue does not contain any items");
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
99Fx.AssertAndThrow(!_tcs.Task.IsCompleted, "TCS should not have already been completed");