55 references to ValueMustBeNonNegative
System.ServiceModel.Http (1)
System\ServiceModel\Channels\ConnectionUtilities.cs (1)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), offset, SRP.ValueMustBeNonNegative));
System.ServiceModel.Primitives (54)
Internals\System\Text\BinHexEncoding.cs (7)
49throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(charCount), SRP.ValueMustBeNonNegative)); 65throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(charIndex), SRP.ValueMustBeNonNegative)); 69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(charCount), SRP.ValueMustBeNonNegative)); 75throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(byteIndex), SRP.ValueMustBeNonNegative)); 131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(byteIndex), SRP.ValueMustBeNonNegative)); 135throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(byteCount), SRP.ValueMustBeNonNegative)); 142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(charIndex), SRP.ValueMustBeNonNegative));
Internals\System\Xml\XmlMtomReader.cs (12)
1213throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative)); 1217throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative)); 1260throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative)); 1264throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative)); 1305throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative)); 1309throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative)); 1363throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative)); 1367throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative)); 2188throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative)); 2192throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative)); 2926throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative)); 2930throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative));
Internals\System\Xml\XmlMtomWriter.cs (3)
71throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(maxSizeInBytes), SRP.ValueMustBeNonNegative)); 317throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(index), SRP.ValueMustBeNonNegative)); 320throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(count), SRP.ValueMustBeNonNegative));
System\IdentityModel\Psha1DerivedKeyGenerator.cs (1)
68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(derivedKeySize), SRP.ValueMustBeNonNegative));
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (1)
123throw Fx.Exception.ArgumentOutOfRange("value", value, SRP.ValueMustBeNonNegative);
System\IdentityModel\Tokens\BinaryKeyIdentifierClause.cs (1)
66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(offset), SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
624SRP.ValueMustBeNonNegative)); 649SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
147SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\BodyWriter.cs (1)
43SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\BufferManager.cs (3)
21maxBufferPoolSize, SRP.ValueMustBeNonNegative)); 27maxBufferSize, SRP.ValueMustBeNonNegative)); 59SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\IntEncoder.cs (1)
28SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\LocalClientSecuritySettings.cs (1)
51SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\Message.cs (1)
88SRP.ValueMustBeNonNegative), this);
System\ServiceModel\Channels\MessageHeaders.cs (2)
53SRP.ValueMustBeNonNegative)); 1295SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
463SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\RequestContextBase.cs (1)
113throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(timeout), timeout, SRP.ValueMustBeNonNegative));
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
506SRP.ValueMustBeNonNegative), message);
System\ServiceModel\Channels\TransportBindingElement.cs (1)
61SRP.ValueMustBeNonNegative));
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
160SRP.ValueMustBeNonNegative));
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
337SRP.Format(SRP.ValueMustBeNonNegative)), _message); 343SRP.Format(SRP.ValueMustBeNonNegative)), _message);
System\ServiceModel\MessageBodyMemberAttribute.cs (1)
21SRP.ValueMustBeNonNegative));
System\ServiceModel\Security\NonceCache.cs (1)
56SRP.ValueMustBeNonNegative));
System\ServiceModel\Security\RequestSecurityToken.cs (1)
203throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), SRP.ValueMustBeNonNegative));
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
265throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), SRP.ValueMustBeNonNegative));
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
118throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), SRP.ValueMustBeNonNegative));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
76throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(maximumKeyDerivationOffset), SRP.ValueMustBeNonNegative)); 80throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(maximumKeyDerivationLabelLength), SRP.ValueMustBeNonNegative));
System\ServiceModel\Security\WSTrust.cs (1)
602throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(defaultKeySize), SRP.ValueMustBeNonNegative));
System\ServiceModel\SpnEndpointIdentity.cs (1)
50new ArgumentOutOfRangeException(nameof(value), value.Ticks, SRP.Format(SRP.ValueMustBeNonNegative)));
System\ServiceModel\XmlBuffer.cs (1)
55SRP.ValueMustBeNonNegative));