79 references to Assert
dotnet-svcutil-lib (79)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataReader.cs (10)
343
Fx.
Assert
("ExtensionDataReader in invalid state");
358
Fx.
Assert
("ExtensionDataReader Name property should only be called for IXmlSerializable");
371
Fx.
Assert
("ExtensionDataReader HasValue property should only be called for IXmlSerializable");
384
Fx.
Assert
("ExtensionDataReader BaseURI property should only be called for IXmlSerializable");
397
Fx.
Assert
("ExtensionDataReader NameTable property should only be called for IXmlSerializable");
408
Fx.
Assert
("ExtensionDataReader GetAttribute method should only be called for IXmlSerializable");
418
Fx.
Assert
("ExtensionDataReader GetAttribute method should only be called for IXmlSerializable");
428
Fx.
Assert
("ExtensionDataReader MoveToAttribute method should only be called for IXmlSerializable");
440
Fx.
Assert
("ExtensionDataReader ResolveEntity method should only be called for IXmlSerializable");
450
Fx.
Assert
("ExtensionDataReader ReadAttributeValue method should only be called for IXmlSerializable");
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (5)
99
Assert
(description);
120
Fx.
Assert
(description);
136
Fx.
Assert
(description);
157
Fx.
Assert
(description);
398
Fx.
Assert
("Null exception in HandleAtThreadBase.");
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpMessageSecurity.cs (1)
69
Fx.
Assert
("Unsupported basic http message credential type");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\EncoderHelpers.cs (1)
58
Fx.
Assert
("invalid quota type.");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (6)
102
Fx.
Assert
(SRServiceModel.InvalidMessageState);
303
Fx.
Assert
(SRServiceModel.InvalidMessageState);
530
Fx.
Assert
(SRServiceModel.InvalidMessageState);
674
Fx.
Assert
(SRServiceModel.InvalidMessageState);
759
Fx.
Assert
("Message.WriteSharedHeaderPrefixes: (prefixString.Length == 1) -- IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.");
766
Fx.
Assert
("Message.WriteSharedHeaderPrefixes: (prefixIndex >= 0 && prefixIndex < 26) -- IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
682
Fx.
Assert
("");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageVersion.cs (2)
166
Fx.
Assert
("Invalid (null) messageVersion value");
171
Fx.
Assert
("Invalid (null) addressing value");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
1936
Fx.
Assert
("non-MaxValue timeout for displaying interactive initialization UI");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
152
Fx.
Assert
("Invalid proxy method type");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
456
Fx.
Assert
("unknown authentication level");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
176
Fx.
Assert
("Invalid client generation constructor table initialization");
184
Fx.
Assert
("Invalid client generation constructor table initialization");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
198
Fx.
Assert
(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
264
Fx.
Assert
("each set must have at least one item in it");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
1030
Fx.
Assert
(String.Format(System.Globalization.CultureInfo.InvariantCulture, "Attribute generation is not supported for argument type {0}", type));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
149
Fx.
Assert
("Too Many Names");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (2)
495
Fx.
Assert
("Invalid state. No exception for canHaveBehaviors = false");
681
Fx.
Assert
("bad contract inheritance");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
973
Fx.
Assert
("You must pass at least one namespaceScope");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (6)
230
Fx.
Assert
("WsdlImporter.ImportEndpoints(ContractDescription contract): !this.KnownContracts.ContainsKey(WsdlExporter.WsdlNamingHelper.GetPortTypeQName(contract))");
1231
Fx.
Assert
("Unsupported WSDL OM (More than 2 OperationMessages encountered in an Operation or WsdlOM is invalid)");
1752
Fx.
Assert
("GetElementName Method should be updated to support " + item.GetType());
1850
Fx.
Assert
("Unsupported WSDL OM: unknown WsdlNS.MessageBinding: " + item.GetType());
1860
Fx.
Assert
("GetXPathParameters Method should be updated to support " + item.GetType());
2466
Fx.
Assert
("CreateIdXPath always called with a valid key");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (4)
257
Fx.
Assert
("System.ServiceModel.Dispatcher.ChannelHandler.Dispatch(): (channel == null || dispatchBehavior == null)");
267
Fx.
Assert
("ChannelHandler.Dispatch (operation == null)");
521
Fx.
Assert
(SRServiceModel.SFxNonExceptionThrown);
698
Fx.
Assert
("ChannelHandler.HandleRequest: this.requestInfo.RequestContext != null");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (1)
194
Fx.
Assert
("ConcurrencyBehavior resumed more than once for same call.");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (3)
75
Fx.
Assert
("DuplexChannelBinder.ChannelHandler: (channelHandler != null)");
83
Fx.
Assert
("DuplexChannelBinder.ChannelHandler: (channelHandler == null)");
606
Fx.
Assert
("DuplexChannelBinder.RequestCallback: (duplexRequest != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
53
Fx.
Assert
("System.ServiceModel.Dispatcher.ErrorBehavior.ProvideMessageFaultCore(): (this.messageVersion != rpc.RequestVersion)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
822
Fx.
Assert
("Exceptions should be caught by callee");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InputChannelBinder.cs (1)
22
Fx.
Assert
("InputChannelBinder.InputChannelBinder: (channel != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ListenerHandler.cs (2)
33
Fx.
Assert
("ListenerHandler.ctor: (this.listenerBinder != null)");
40
Fx.
Assert
("ListenerHandler.ctor: (this.channelDispatcher != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (1)
541
Fx.
Assert
("MessageRpc.Wrapper.Wrapper: (rpc.NextProcessor != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OutputChannelBinder.cs (1)
21
Fx.
Assert
("OutputChannelBinder.OutputChannelBinder: (channel != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (1)
22
Fx.
Assert
("ReplyChannelBinder.ReplyChannelBinder: (channel != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\RequestChannelBinder.cs (1)
18
Fx.
Assert
("RequestChannelBinder.RequestChannelBinder: (channel != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ThreadBehavior.cs (1)
133
Fx.
Assert
("IOThreadScheduler called back twice");
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (1)
273
Fx.
Assert
("FaultException.FaultCodeData.GetObjectData: (code != null)");
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpClientCredentialType.cs (2)
60
Fx.
Assert
("unsupported client credential type");
87
Fx.
Assert
("unsupported client AuthenticationScheme");
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverHttp.cs (3)
107
Fx.
Assert
("unknown ClientCredentialType");
142
Fx.
Assert
("unknown ClientCredentialType");
168
Fx.
Assert
("unknown ClientCredentialType");
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverTcp.cs (2)
89
Fx.
Assert
("unknown ClientCredentialType");
116
Fx.
Assert
("unknown ClientCredentialType");
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
271
Fx.
Assert
("Only body return values are supported currently");
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
158
Fx.
Assert
("unknown token impersonation level");
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (3)
307
Fx.
Assert
("Cache write lock is not held.");
369
Fx.
Assert
("Cache write lock is not held.");
386
Fx.
Assert
("Cache write lock is not held.");
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (3)
137
Fx.
Assert
("ServiceChannelManager.BeginCloseInput: (this.activityWaiter == null)");
174
Fx.
Assert
("ServiceChannelManager.CloseInput: (this.activityWaiter == null)");
209
Fx.
Assert
("ServiceChannelManager.DecrementActivityCount: (this.activityCount > 0)");
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedKeyedCollection.cs (1)
239
Fx.
Assert
("key shouldn't be null!");