FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (7)
91Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.Action, addressingVersion.DictionaryNamespace), "");
219Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.From, addressingVersion.DictionaryNamespace), "");
311Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.FaultTo, version.DictionaryNamespace), "");
436Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.To, version.DictionaryNamespace), "");
615Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.ReplyTo, version.DictionaryNamespace), "");
692Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.MessageId, version.DictionaryNamespace), "");
823Fx.Assert(reader.IsStartElement(addressingDictionary.RelatesTo, version.DictionaryNamespace), "");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (15)
33Fx.Assert(channelFactory.WebSocketSettings != null, "channelFactory.WebSocketTransportSettings should not be null.");
49Fx.Assert(value != null, "value should not be null.");
50Fx.Assert(_webSocket == null, "webSocket should not be set before this set call.");
250Fx.Assert(callback != null, "callback should not be null.");
254Fx.Assert(_pendingWritingMessageException == null, "'pendingWritingMessageException' MUST be NULL at this point.");
268Fx.Assert(message != null, "message should not be null.");
338Fx.Assert(_cleanupStatus == WebSocketHelper.OperationFinished,
597Fx.Assert(newSize > 0, "buffer size should be larger than zero.");
625Fx.Assert(result != null, "Result should not be null");
723Fx.Assert(_receiveTask == null || _receiveTask.Task.IsCompleted, "this.receiveTask is not completed.");
726Fx.Assert(currentState == AsyncReceiveState.Finished, "currentState is not AsyncReceiveState.Finished: " + currentState);
867Fx.Assert(result.MessageType == WebSocketMessageType.Text, "result.MessageType must be WebSocketMessageType.Text.");
913Fx.Assert(messageSource != null, "messageSource should not be null.");
928Fx.Assert(webSocket != null, "webSocket should not be null.");
1295Fx.Assert(_messageSource != null, "messageSource should not be null.");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (13)
34Fx.Assert(channel != null, "caller must verify");
35Fx.Assert(correlator != null, "caller must verify");
556Fx.Assert(request != null, "request cannot be null");
563Fx.Assert(request != null, "request cannot be null");
752Fx.Assert(_requestCorrelatorKey == null, "RequestCorrelatorKey is already set for this request");
856Fx.Assert(_requestCorrelatorKey == null, "RequestCorrelatorKey is already set for this request");
1518Fx.Assert(_backgroundCloseData == null, "can't try twice");
1532Fx.Assert(_backgroundCloseData != null, "Only callable from background close");
1551Fx.Assert(_backgroundCloseData != null, "Need to check background close first");
1553Fx.Assert(dummy == null, "we should get an exception or null");
1558Fx.Assert(_backgroundCloseData != null, "Need to check background close first");
1564Fx.Assert(_backgroundCloseData != null, "Need to check background close first");
1566Fx.Assert(dummy == null, "we should get an exception or null");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
694Fx.Assert(