65 references to Assert
System.ServiceModel.Primitives (65)
Internals\System\Runtime\AsyncLock.cs (1)
140
Fx.
Assert
("Shouldn't be returning semaphore with a count != 1");
Internals\System\Runtime\Fx.cs (5)
101
Assert
(description);
122
Fx.
Assert
(description);
138
Fx.
Assert
(description);
159
Fx.
Assert
(description);
414
Fx.
Assert
("Null exception in HandleAtThreadBase.");
SMDiagnostics\DiagnosticUtility.cs (1)
104
Fx.
Assert
(message);
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
565
Fx.
Assert
("This channel type is not supported");
System\ServiceModel\Channels\CloseSequence.cs (1)
26
Fx.
Assert
("Argument reader cannot be null.");
System\ServiceModel\Channels\CloseSequenceResponse.cs (1)
24
Fx.
Assert
("Argument reader cannot be null.");
System\ServiceModel\Channels\CommunicationObject.cs (1)
115
Fx.
Assert
("Inconsistent usage of ThisLock and AsyncLock");
System\ServiceModel\Channels\CreateSequence.cs (1)
42
Fx.
Assert
("Argument reader cannot be null.");
System\ServiceModel\Channels\CreateSequenceResponse.cs (1)
41
Fx.
Assert
("Argument reader cannot be null.");
System\ServiceModel\Channels\EncoderHelpers.cs (1)
59
Fx.
Assert
("invalid quota type.");
System\ServiceModel\Channels\Message.cs (6)
105
Fx.
Assert
(SRP.InvalidMessageState);
372
Fx.
Assert
(SRP.InvalidMessageState);
605
Fx.
Assert
(SRP.InvalidMessageState);
758
Fx.
Assert
(SRP.InvalidMessageState);
852
Fx.
Assert
("Message.WriteSharedHeaderPrefixes: (prefixString.Length == 1) -- IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.");
859
Fx.
Assert
("Message.WriteSharedHeaderPrefixes: (prefixIndex >= 0 && prefixIndex < 26) -- IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.");
System\ServiceModel\Channels\MessageProperties.cs (1)
770
Fx.
Assert
("");
System\ServiceModel\Channels\MessageVersion.cs (2)
165
Fx.
Assert
("Invalid (null) messageVersion value");
170
Fx.
Assert
("Invalid (null) addressing value");
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
59
Fx.
Assert
("Invalid MessageVersion");
System\ServiceModel\Channels\ReliableChannelBinder.cs (1)
862
Fx.
Assert
("Argument binder cannot be null.");
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
329
Fx.
Assert
("Caller is attempting to retrieve an exception from a null communicationObject.");
System\ServiceModel\Channels\ServiceChannel.cs (1)
1973
Fx.
Assert
("non-MaxValue timeout for displaying interactive initialization UI");
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
156
Fx.
Assert
("Invalid proxy method type");
System\ServiceModel\Channels\TerminateSequence.cs (1)
34
Fx.
Assert
("Argument reader cannot be null.");
System\ServiceModel\Channels\TerminateSequenceResponse.cs (1)
29
Fx.
Assert
("Argument reader cannot be null.");
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
962
Fx.
Assert
("Cannot remove more messages than the window's Count.");
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
218
Fx.
Assert
("unknown authentication level");
System\ServiceModel\Description\ServiceReflector.cs (1)
150
Fx.
Assert
("Too Many Names");
System\ServiceModel\Description\TypeLoader.cs (2)
508
Fx.
Assert
("Invalid state. No exception for canHaveBehaviors = false");
694
Fx.
Assert
("bad contract inheritance");
System\ServiceModel\Dispatcher\ChannelHandler.cs (4)
244
Fx.
Assert
("System.ServiceModel.Dispatcher.ChannelHandler.Dispatch(): (channel == null || dispatchBehavior == null)");
254
Fx.
Assert
("ChannelHandler.Dispatch (operation == null)");
513
Fx.
Assert
(SRP.SFxNonExceptionThrown);
698
Fx.
Assert
("ChannelHandler.HandleRequest: this.requestInfo.RequestContext != null");
System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (1)
193
Fx.
Assert
("ConcurrencyBehavior resumed more than once for same call.");
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (3)
69
Fx.
Assert
("DuplexChannelBinder.ChannelHandler: (channelHandler != null)");
77
Fx.
Assert
("DuplexChannelBinder.ChannelHandler: (channelHandler == null)");
606
Fx.
Assert
("DuplexChannelBinder.RequestCallback: (duplexRequest != null)");
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
59
Fx.
Assert
("System.ServiceModel.Dispatcher.ErrorBehavior.ProvideMessageFaultCore(): (this.messageVersion != rpc.RequestVersion)");
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
890
Fx.
Assert
("Exceptions should be caught by callee");
System\ServiceModel\Dispatcher\InputChannelBinder.cs (1)
20
Fx.
Assert
("InputChannelBinder.InputChannelBinder: (channel != null)");
System\ServiceModel\Dispatcher\ListenerHandler.cs (2)
27
Fx.
Assert
("ListenerHandler.ctor: (this.listenerBinder != null)");
34
Fx.
Assert
("ListenerHandler.ctor: (this.channelDispatcher != null)");
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
522
Fx.
Assert
("MessageRpc.Wrapper.Wrapper: (rpc.NextProcessor != null)");
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (1)
20
Fx.
Assert
("OutputChannelBinder.OutputChannelBinder: (channel != null)");
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (1)
20
Fx.
Assert
("ReplyChannelBinder.ReplyChannelBinder: (channel != null)");
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (1)
19
Fx.
Assert
("RequestChannelBinder.RequestChannelBinder: (channel != null)");
System\ServiceModel\Dispatcher\ThreadBehavior.cs (1)
132
Fx.
Assert
("IOThreadScheduler called back twice");
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
265
Fx.
Assert
("Only body return values are supported currently");
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (1)
25
Fx.
Assert
("This protocol can only be used at the initiator.");
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
882
Fx.
Assert
("");
System\ServiceModel\Security\SecurityProtocol.cs (1)
580
Fx.
Assert
("Unknown token attachment mode " + supportingTokens[i].SecurityTokenAttachmentMode.ToString());
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
446
Fx.
Assert
("Security protocol must be IInitiatorSecuritySessionProtocol.");
System\ServiceModel\Security\SecurityUtils.cs (1)
109
Fx.
Assert
("unknown token impersonation level");
System\ServiceModel\Security\TimeBoundedCache.cs (3)
294
Fx.
Assert
("Cache write lock is not held.");
356
Fx.
Assert
("Cache write lock is not held.");
373
Fx.
Assert
("Cache write lock is not held.");
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (2)
280
Fx.
Assert
("Invalid MessagePartProtectionMode");
350
Fx.
Assert
("Invalid MessagePartProtectionMode");
System\ServiceModel\SynchronizedKeyedCollection.cs (1)
280
Fx.
Assert
("key shouldn't be null!");