59 references to ArgumentOutOfRangeException
mscorlib (37)
system\console.cs (21)
664throw new ArgumentOutOfRangeException("frequency", frequency, Environment.GetResourceString("ArgumentOutOfRange_BeepFrequency", MinBeepFrequency, MaxBeepFrequency)); 666throw new ArgumentOutOfRangeException("duration", duration, Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 870throw new ArgumentOutOfRangeException("sourceLeft", sourceLeft, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 872throw new ArgumentOutOfRangeException("sourceTop", sourceTop, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 874throw new ArgumentOutOfRangeException("sourceWidth", sourceWidth, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 876throw new ArgumentOutOfRangeException("sourceHeight", sourceHeight, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 881throw new ArgumentOutOfRangeException("targetLeft", targetLeft, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 883throw new ArgumentOutOfRangeException("targetTop", targetTop, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1045throw new ArgumentOutOfRangeException("width", width, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferLessThanWindowSize")); 1047throw new ArgumentOutOfRangeException("height", height, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferLessThanWindowSize")); 1094throw new ArgumentOutOfRangeException("width", width, Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 1096throw new ArgumentOutOfRangeException("height", height, Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 1146throw new ArgumentOutOfRangeException("width", width, Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowSize_Size", bounds.X)); 1148throw new ArgumentOutOfRangeException("height", height, Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowSize_Size", bounds.Y)); 1223throw new ArgumentOutOfRangeException("left", left, Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowPos")); 1226throw new ArgumentOutOfRangeException("top", top, Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowPos")); 1278throw new ArgumentOutOfRangeException("left", left, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1280throw new ArgumentOutOfRangeException("top", top, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1295throw new ArgumentOutOfRangeException("left", left, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1297throw new ArgumentOutOfRangeException("top", top, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1322throw new ArgumentOutOfRangeException("value", value, Environment.GetResourceString("ArgumentOutOfRange_CursorSize"));
system\security\principal\sid.cs (3)
207throw new ArgumentOutOfRangeException( 220throw new ArgumentOutOfRangeException( 295throw new ArgumentOutOfRangeException(
system\threading\SemaphoreSlim.cs (8)
184throw new ArgumentOutOfRangeException( 191throw new ArgumentOutOfRangeException("maxCount", maxCount, GetResourceString("SemaphoreSlim_ctor_MaxCountWrong")); 247throw new System.ArgumentOutOfRangeException( 277throw new System.ArgumentOutOfRangeException( 320throw new ArgumentOutOfRangeException( 574throw new System.ArgumentOutOfRangeException( 607throw new ArgumentOutOfRangeException( 766throw new ArgumentOutOfRangeException(
system\threading\SpinLock.cs (2)
230throw new System.ArgumentOutOfRangeException( 296throw new ArgumentOutOfRangeException(
system\threading\SpinWait.cs (2)
229throw new System.ArgumentOutOfRangeException( 251throw new ArgumentOutOfRangeException(
system\timezoneinfo.cs (1)
3182throw new ArgumentOutOfRangeException("daylightDelta", daylightDelta,
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (2)
145throw new ArgumentOutOfRangeException("value", value, string.Empty); 258throw new ArgumentOutOfRangeException("offset", offset, string.Empty);
System (2)
sys\system\collections\concurrent\BlockingCollection.cs (2)
1783throw new ArgumentOutOfRangeException("timeout", timeout, 1797throw new ArgumentOutOfRangeException("millisecondsTimeout", millisecondsTimeout,
System.Data (1)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
164ArgumentOutOfRangeException e = new ArgumentOutOfRangeException(parameterName, value, message);
System.IdentityModel (1)
System\IdentityModel\DiagnosticUtilityExtensions.cs (1)
34return ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(arg, actualValue, message));
System.ServiceModel (5)
System\ServiceModel\CallbackBehaviorAttribute.cs (1)
110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, message));
System\ServiceModel\Channels\PeerHelpers.cs (2)
536throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, message)); 545throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, message));
System\ServiceModel\Channels\ServiceChannel.cs (1)
333throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, message));
System\ServiceModel\ServiceBehaviorAttribute.cs (1)
252throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, message));
System.ServiceModel.Internals (1)
System\Runtime\ExceptionTrace.cs (1)
196return TraceException<ArgumentOutOfRangeException>(new ArgumentOutOfRangeException(paramName, actualValue, message));
System.ServiceModel.Web (8)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (2)
244throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxMessageSize", maxMessageSize, 249throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageOffset", messageOffset,
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (2)
252throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxMessageSize", maxMessageSize, 257throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageOffset", messageOffset,
System\ServiceModel\Channels\WebMessageEncodingBindingElement.cs (2)
75throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 92throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (2)
92throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxMessageSize", maxMessageSize, 97throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageOffset", messageOffset,
System.Workflow.Runtime (2)
Hosting\DefaultWorkflowSchedulerService.cs (2)
54throw new ArgumentOutOfRangeException(MAX_SIMULTANEOUS_WORKFLOWS_KEY, maxSimultaneousWorkflows, String.Empty); 78throw new ArgumentOutOfRangeException(MAX_SIMULTANEOUS_WORKFLOWS_KEY, maxSimultaneousWorkflows, String.Empty);