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