6 references to Argument
System.ServiceModel.Primitives (6)
Internals\System\Runtime\AsyncResult.cs (1)
329throw Fx.Exception.Argument("result", InternalSR.InvalidAsyncResult);
Internals\System\Runtime\ExceptionTrace.cs (1)
247return Argument(paramName, InternalSR.ArgumentNullOrEmpty(paramName));
Internals\System\Runtime\InternalBufferManager.cs (1)
220throw Fx.Exception.Argument("buffer", InternalSR.BufferIsNotRightSizeForBufferManager);
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (2)
151throw Fx.Exception.Argument(propertyName, string.Format(SRP.SecurityTokenRequirementDoesNotContainProperty, propertyName)); 166throw Fx.Exception.Argument(propertyName, string.Format(SRP.SecurityTokenRequirementHasInvalidTypeForProperty, propertyName, dictionaryValue.GetType(), typeof(TValue)));
System\IdentityModel\Tokens\UserNameSecurityToken.cs (1)
31throw Fx.Exception.Argument(nameof(userName), SRP.UserNameCannotBeEmpty);