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