6 references to Requires
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (2)
760
Contract.
Requires
(false, "OnCloseAsync needs to be implemented on derived classes");
766
Contract.
Requires
(false, "OnOpenAsync needs to be implemented on derived classes");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (4)
552
Contract.
Requires
(callback != null, "Cannot call BeginWrite without a callback");
553
Contract.
Requires
(_writeCallback == null, "BeginWrite cannot be called twice");
609
Contract.
Requires
(_writeResult == null, "StreamConnection: OnWrite called twice.");
716
Contract.
Requires
(_readResult == null, "StreamConnection: OnRead called twice.");