16 references to Argument
dotnet-svcutil-lib (16)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AsyncResult.cs (1)
354throw Fx.Exception.Argument("result", InternalSR.InvalidAsyncResult);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (1)
188return this.Argument(paramName, InternalSR.ArgumentNullOrEmpty(paramName));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InternalBufferManager.cs (1)
222throw Fx.Exception.Argument("buffer", InternalSR.BufferIsNotRightSizeForBufferManager);
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenRequirement.cs (2)
151throw Fx.Exception.Argument(propertyName, string.Format(SRServiceModel.SecurityTokenRequirementDoesNotContainProperty, propertyName)); 166throw Fx.Exception.Argument(propertyName, string.Format(SRServiceModel.SecurityTokenRequirementHasInvalidTypeForProperty, propertyName, dictionaryValue.GetType(), typeof(TValue)));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\UserNameSecurityToken.cs (1)
28throw Fx.Exception.Argument("userName", SRServiceModel.UserNameCannotBeEmpty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ApplicationContainerSettings.cs (1)
46throw FxTrace.Exception.Argument("value", string.Format(SRServiceModel.SessionValueInvalid, value));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (6)
48throw FxTrace.Exception.Argument("handlers", SRServiceModel.InputTypeListEmptyError); 57throw FxTrace.Exception.Argument( 64throw FxTrace.Exception.Argument( 72throw FxTrace.Exception.Argument( 154throw FxTrace.Exception.Argument("handlers", string.Format(SRServiceModel.DelegatingHandlerArrayFromFuncContainsNullItem, s_delegatingHandlerType.Name, GetFuncDetails(_handlerFunc))); 183throw FxTrace.Exception.Argument("handlers", string.Format(SRServiceModel.DelegatingHandlerArrayHasNonNullInnerHandler, s_delegatingHandlerType.Name, "InnerHandler", handler.GetType().Name));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (3)
100throw FxTrace.Exception.Argument("value", SRServiceModel.WebSocketInvalidProtocolEmptySubprotocolString); 105throw FxTrace.Exception.Argument("value", string.Format(SRServiceModel.WebSocketInvalidProtocolContainsMultipleSubProtocolString, value)); 111throw FxTrace.Exception.Argument("value", string.Format(SRServiceModel.WebSocketInvalidProtocolInvalidCharInProtocolString, value, invalidChar));