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