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