61 references to ThrowHelperArgument
dotnet-svcutil-lib (61)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (2)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claimType", SRServiceModel.ArgumentCannotBeEmptyString); 60throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("right", SRServiceModel.ArgumentCannotBeEmptyString);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Binding.cs (2)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("name", SRServiceModel.SFXBindingNameCannotBeNullOrEmpty); 76throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("value", SRServiceModel.SFXBindingNameCannotBeNullOrEmpty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
58throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("TChannel",
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (5)
353throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("state", SRServiceModel.SPS_InvalidAsyncResult); 359throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("state", SRServiceModel.SPS_InvalidAsyncResult); 402throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("state", SRServiceModel.SPS_InvalidAsyncResult); 408throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("state", SRServiceModel.SPS_InvalidAsyncResult); 863throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("state", SRServiceModel.SPS_InvalidAsyncResult);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (4)
67throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("bindingElement", 75throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("bindingElement", 83throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("bindingElement", 96throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("value", string.Format(SRServiceModel.HttpRequiresSingleAuthScheme,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
103throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("TChannel", string.Format(SRServiceModel.ChannelTypeNotSupported, typeof(TChannel)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (3)
474throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("TChannel", string.Format(SRServiceModel.CouldnTCreateChannelForChannelType2, context.Binding.Name, typeof(TChannel))); 479throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("value", string.Format(SRServiceModel.HttpAuthSchemeCannotBeNone, 484throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("value", string.Format(SRServiceModel.HttpRequiresSingleAuthScheme,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageVersion.cs (4)
65throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", 81throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", 93throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", 99throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("envelopeVersion",
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
802throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("result", SRServiceModel.AsyncEndCalledOnWrongChannel); 805throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("result", SRServiceModel.AsyncEndCalledWithAnIAsyncResult);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (4)
170throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("upgradeInitiator", string.Format(SRServiceModel.UnsupportedUpgradeInitiator, upgradeInitiator.GetType())); 175throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("kind", string.Format(SRServiceModel.StreamUpgradeUnsupportedChannelBindingKind, this.GetType(), kind)); 192throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("upgradeAcceptor", string.Format(SRServiceModel.UnsupportedUpgradeAcceptor, upgradeAcceptor.GetType())); 197throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("kind", string.Format(SRServiceModel.StreamUpgradeUnsupportedChannelBindingKind, this.GetType(), kind));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
66throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("TChannel", string.Format(SRServiceModel.ChannelTypeNotSupported, typeof(TChannel)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TimeoutStream.cs (1)
25throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("stream", SRServiceModel.StreamDoesNotSupportTimeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportChannelFactory.cs (1)
175throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("via", string.Format(SRServiceModel.InvalidUriScheme,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
600throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("state", SRServiceModel.SPS_InvalidAsyncResult);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (4)
203throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("scheme", string.Format(SRServiceModel.SFxMetadataExchangeClientCouldNotCreateChannelFactoryBadScheme, scheme)); 217throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("address", string.Format(SRServiceModel.SFxCannotGetMetadataFromRelativeAddress, address)); 222throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("address", string.Format(SRServiceModel.SFxCannotHttpGetMetadataFromAddress, address)); 728throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("location", string.Format(SRServiceModel.SFxCannotGetMetadataFromLocation, location.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (1)
94throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("policy",
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (1)
142throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("value", SRServiceModel.UriMustBeAbsolute);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
164throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(paramName, string.Format(SRServiceModel.SFXUnvalidNamespaceParam, ns));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
403throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("version",
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (8)
188throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("uri", SRServiceModel.UriMustBeAbsolute); 561throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument( 566throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument( 599throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument( 604throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument( 679throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", 1030throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", 1050throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", string.Format(SRServiceModel.SFxNone2004));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultReason.cs (1)
55throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("translations", SRServiceModel.NoNullTranslations);
FrameworkFork\System.ServiceModel\System\ServiceModel\KeyedByTypeCollection.cs (1)
107throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", string.Format(SRServiceModel.DuplicateBehavior1, item.GetType().FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (1)
67throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("authScheme", string.Format(SRServiceModel.HttpRequiresSingleAuthScheme, authScheme));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
1019throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("DetectReplays", string.Format(SRServiceModel.SecurityProtocolCannotDoReplayDetection, this));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\ClaimTypeRequirement.cs (1)
26throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claimType", SRServiceModel.ClaimTypeCannotBeEmpty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (2)
255throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("validFrom", SRServiceModel.EffectiveGreaterThanExpiration); 264throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("keyEffectiveTime", SRServiceModel.EffectiveGreaterThanExpiration);
FrameworkFork\System.ServiceModel\System\ServiceModel\UriSchemeKeyedCollection.cs (6)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", string.Format(SRServiceModel.BaseAddressDuplicateScheme, item.Scheme)); 47throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", string.Format(SRServiceModel.BaseAddressDuplicateScheme, item.Scheme)); 61throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(argumentName, SRServiceModel.BaseAddressMustBeAbsolute); 66throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(argumentName, SRServiceModel.BaseAddressCannotHaveUserInfo); 71throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(argumentName, SRServiceModel.BaseAddressCannotHaveQuery); 76throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(argumentName, SRServiceModel.BaseAddressCannotHaveFragment);