1778 references to ArgumentException
mscorlib (957)
microsoft\win32\registry.cs (1)
132throw new ArgumentException(Environment.GetResourceString("Arg_RegInvalidKeyName", "keyName"));
microsoft\win32\registrykey.cs (5)
687throw new ArgumentException(Environment.GetResourceString("Arg_RegKeyOutOfRange")); 698throw new ArgumentException(Environment.GetResourceString("Arg_DllInitFailure")); 705throw new ArgumentException(Environment.GetResourceString("Arg_RegKeyNoRemoteConnect", machineName)); 1463throw new ArgumentException(Environment.GetResourceString("Arg_RegValStrLenBug")); 1617throw new ArgumentException(Environment.GetResourceString("Arg_RegSetBadArrType", value.GetType().Name));
system\_localdatastoremgr.cs (1)
323throw new ArgumentException(Environment.GetResourceString("Argument_ALSInvalidSlot"));
system\activationcontext.cs (4)
98throw new ArgumentException(Environment.GetResourceString("Argument_InvalidAppId")); 151throw new ArgumentException(Environment.GetResourceString("Argument_IllegalAppIdMismatch")); 161throw new ArgumentException(Environment.GetResourceString("Argument_IllegalAppId")); 170throw new ArgumentException(Environment.GetResourceString("Argument_InvalidAppId"));
system\AggregateException.cs (2)
168throw new ArgumentException(Environment.GetResourceString("AggregateException_ctor_InnerExceptionNull")); 247throw new ArgumentException(Environment.GetResourceString("AggregateException_ctor_InnerExceptionNull"));
system\appdomain.cs (3)
3761throw new ArgumentException( Environment.GetResourceString( "Argument_AbsolutePathRequired" ) ); 3937throw new ArgumentException(Environment.GetResourceString("ArgumentException_NotAllCustomSortingFuncsDefined")); 4775throw new ArgumentException(Environment.GetResourceString("Arg_MustBeTrue"));
system\AppDomainSetup.cs (2)
356throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 655throw new ArgumentException(Environment.GetResourceString("ArgumentException_MinSortingVersion", 1, functionName));
system\applicationactivator.cs (2)
52throw new ArgumentException(Environment.GetResourceString("Argument_NoMain")); 153throw new ArgumentException(Environment.GetResourceString("Arg_MissingActivationArguments"));
system\applicationid.cs (1)
40throw new ArgumentException(Environment.GetResourceString("Argument_EmptyApplicationName"));
system\argumentnullexception.cs (1)
32: base(Environment.GetResourceString("ArgumentNull_Generic")) {
system\argumentoutofrangeexception.cs (1)
45: base(RangeMessage) {
system\array.cs (27)
145throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 172throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 201throw new ArgumentException(Environment.GetResourceString("Arg_RanksAndBounds")); 203throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 358throw new ArgumentException(Environment.GetResourceString("Arg_RankIndices")); 371throw new ArgumentException(Environment.GetResourceString("Arg_Need1DArray")); 383throw new ArgumentException(Environment.GetResourceString("Arg_Need2DArray")); 399throw new ArgumentException(Environment.GetResourceString("Arg_Need3DArray")); 454throw new ArgumentException(Environment.GetResourceString("Arg_RankIndices")); 475throw new ArgumentException(Environment.GetResourceString("Arg_Need1DArray")); 487throw new ArgumentException(Environment.GetResourceString("Arg_Need2DArray")); 503throw new ArgumentException(Environment.GetResourceString("Arg_Need3DArray")); 522throw new ArgumentException(Environment.GetResourceString("Arg_RankIndices")); 573throw new ArgumentException(Environment.GetResourceString("Arg_RankIndices")); 919throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1017throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1061throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 1600throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1741throw new ArgumentException(Environment.GetResourceString("Arg_LowerBoundsMustMatch")); 1745throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1828throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1861throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2017throw new ArgumentException(Environment.GetResourceString("Arg_BogusIComparer", comparer)); 2057throw new ArgumentException(Environment.GetResourceString("Arg_BogusIComparer", comparer)); 2336throw new ArgumentException(Environment.GetResourceString("Arg_BogusIComparer", comparer)); 2374throw new ArgumentException(Environment.GetResourceString("Arg_BogusIComparer", comparer)); 2762throw new ArgumentException(Environment.GetResourceString("Rank_MultiDimNotSupported"));
system\arraysegment.cs (1)
57throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\attribute.cs (9)
464throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 519throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 576throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 622throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 640throw new ArgumentException(Environment.GetResourceString("Argument_InvalidParamInfo")); 698throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 719throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 762throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 797throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass"));
system\bitconverter.cs (1)
375throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall"));
system\boolean.cs (1)
132throw new ArgumentException (Environment.GetResourceString("Arg_MustBeBoolean"));
system\byte.cs (1)
61throw new ArgumentException(Environment.GetResourceString("Arg_MustBeByte"));
system\char.cs (1)
137throw new ArgumentException (Environment.GetResourceString("Arg_MustBeChar"));
system\collections\arraylist.cs (31)
245throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 321throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 333throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 335throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 399throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 617throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 666throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 691throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 725throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 861throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 917throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 919throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 923throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 938throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1047throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1063throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1100throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1109throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1813throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2069throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2214throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2272throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 2276throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2287throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 2291throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2293throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2327throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2338throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2456throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2473throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2495throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\collections\bitarray.cs (7)
247throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer")); 269throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer")); 291throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer")); 364throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 376throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 385throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 392throw new ArgumentException(Environment.GetResourceString("Arg_BitArrayTypeUnsupported"));
system\collections\collectionbase.cs (1)
150if (index < 0) throw new ArgumentException(Environment.GetResourceString("Arg_RemoveArgNotFound"));
system\collections\comparer.cs (1)
85throw new ArgumentException(Environment.GetResourceString("Argument_ImplementIComparable"));
system\collections\compatiblecomparer.cs (1)
35throw new ArgumentException(Environment.GetResourceString("Argument_ImplementIComparable"));
system\Collections\Concurrent\ConcurrentDictionary.cs (8)
288throw new ArgumentException(GetResource("ConcurrentDictionary_SourceContainsDuplicateKeys")); 673throw new ArgumentException(GetResource("ConcurrentDictionary_ArrayNotLargeEnough")); 1322throw new ArgumentException(GetResource("ConcurrentDictionary_KeyAlreadyExisted")); 1503if (!(key is TKey)) throw new ArgumentException(GetResource("ConcurrentDictionary_TypeOfKeyIncorrect")); 1512throw new ArgumentException(GetResource("ConcurrentDictionary_TypeOfValueIncorrect")); 1646if (!(key is TKey)) throw new ArgumentException(GetResource("ConcurrentDictionary_TypeOfKeyIncorrect")); 1647if (!(value is TValue)) throw new ArgumentException(GetResource("ConcurrentDictionary_TypeOfValueIncorrect")); 1696throw new ArgumentException(GetResource("ConcurrentDictionary_ArrayNotLargeEnough"));
system\Collections\Concurrent\ConcurrentStack.cs (1)
490throw new ArgumentException(Environment.GetResourceString("ConcurrentStack_PushPopRange_InvalidCount"));
system\collections\emptyreadonlydictionaryinternal.cs (1)
44throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported"));
system\collections\generic\arraysorthelper.cs (1)
88throw new ArgumentException(Environment.GetResourceString("Arg_BogusIComparer", comparer));
system\collections\generic\equalitycomparer.cs (1)
356throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\collections\hashtable.cs (13)
183throw new ArgumentException(Environment.GetResourceString("Arg_CannotMixComparisonInfrastructure")); 196throw new ArgumentException(Environment.GetResourceString("Arg_CannotMixComparisonInfrastructure")); 214throw new ArgumentException(Environment.GetResourceString("Arg_CannotMixComparisonInfrastructure")); 227throw new ArgumentException(Environment.GetResourceString("Arg_CannotMixComparisonInfrastructure")); 284throw new ArgumentException(Environment.GetResourceString("Arg_HTCapacityOverflow")); 595throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 599throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 959throw new ArgumentException(Environment.GetResourceString("Argument_AddingDuplicate__", buckets[bucketNumber].key, key)); 1311throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 1316throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 1352throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 1357throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 1720throw new ArgumentException(Environment.GetResourceString("Arg_HTCapacityOverflow"));
system\collections\listdictionaryinternal.cs (3)
156throw new ArgumentException(Environment.GetResourceString("Argument_AddingDuplicate__", node.key, key)); 202throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 337throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported"));
system\collections\queue.cs (2)
141throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 147throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\collections\sortedlist.cs (5)
185throw new ArgumentException(Environment.GetResourceString("Argument_AddingDuplicate__", GetKey(i), key)); 332throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 336throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 867throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 954throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported"));
system\collections\stack.cs (2)
128throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 132throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\console.cs (1)
721throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor"));
system\convert.cs (15)
257throw new ArgumentException(Environment.GetResourceString("Arg_UnknownTypeCode")); 1979throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 1995throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2013throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2032throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2047throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2060throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2072throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2085throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2095throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2105throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2115throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2125throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2165throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)options)); 2217throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)options));
system\datetime.cs (9)
274throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 299throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 324throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 358throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 582throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDateTime")); 643throw new ArgumentException(Environment.GetResourceString("Arg_OleAutDateInvalid")); 656if (millis < 0 || millis >= MaxMillis) throw new ArgumentException(Environment.GetResourceString("Arg_OleAutDateScale")); 1408throw new ArgumentException(Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 1415throw new ArgumentException(Environment.GetResourceString("Arg_ArgumentOutOfRangeException"));
system\datetimeoffset.cs (1)
458throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDateTimeOffset"));
system\decimal.cs (3)
293throw new ArgumentException(Environment.GetResourceString("Arg_DecBitCtor")); 341throw new ArgumentException(Environment.GetResourceString("Arg_DecBitCtor")); 409throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDecimal"));
system\delegate.cs (8)
65throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 306throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTypeMis")); 412throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 474throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 521throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 569throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 635throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 671throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth"));
system\deployment\cmsutils.cs (1)
27throw new ArgumentException(Environment.GetResourceString("Argument_NoMain"));
system\deployment\isolationinterop.cs (1)
1768throw new ArgumentException("operations");
system\diagnostics\contracts\contracts.cs (2)
657throw new ArgumentException(Environment.GetResourceString("Argument_ToExclusiveLessThanFromExclusive")); 719throw new ArgumentException(Environment.GetResourceString("Argument_ToExclusiveLessThanFromExclusive"));
system\diagnostics\eventing\eventprovider.cs (1)
158throw new ArgumentException(Win32Native.GetMessage(unchecked((int)status)));
system\diagnostics\eventing\eventsource.cs (8)
1483throw new ArgumentException(Environment.GetResourceString("EventSource_NeedGuid")); 1486throw new ArgumentException(Environment.GetResourceString("EventSource_NeedName")); 1913throw new ArgumentException(Environment.GetResourceString("EventSource_NoRelatedActivityId")); 2624throw new ArgumentException(Environment.GetResourceString("EventSource_ListenerNotFound")); 2702throw new ArgumentException(Environment.GetResourceString("EventSource_SessionIdError", 3032throw new ArgumentException(Environment.GetResourceString("EventSource_EventSourceGuidInUse", m_guid)); 3478throw new ArgumentException(Environment.GetResourceString("EventSource_StopsFollowStarts")); 6322throw new ArgumentException(msg);
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
818throw new ArgumentException(Environment.GetResourceString("EventSource_NonCompliantTypeError", dataType.Name));
system\double.cs (1)
130throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDouble"));
system\duplicatewaitobjectexception.cs (1)
42: base(DuplicateWaitObjectMessage) {
system\enum.cs (7)
315return new ArgumentException(Environment.GetResourceString(m_failureMessageID)); 321return new ArgumentException(Environment.GetResourceString(m_failureMessageID, m_failureMessageFormatArgument)); 328return new ArgumentException(Environment.GetResourceString("Arg_EnumValueNotFound")); 635throw new ArgumentException(Environment.GetResourceString("Arg_EnumAndObjectMustBeSameType", valueType.ToString(), enumType.ToString())); 642throw new ArgumentException(Environment.GetResourceString("Arg_EnumFormatUnderlyingTypeAndObjectMustBeSameType", valueType.ToString(), underlyingType.ToString())); 837throw new ArgumentException(Environment.GetResourceString("Arg_EnumAndObjectMustBeSameType", 883throw new ArgumentException(Environment.GetResourceString("Argument_EnumTypeDoesNotMatch", flag.GetType(), this.GetType()));
system\environment.cs (13)
698throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)target)); 883throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)target)); 903throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarValue")); 924throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarValue")); 927throw new ArgumentException(Win32Native.GetMessage(errorCode)); 948throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarValue")); 952throw new ArgumentException(Environment.GetResourceString("Argument_IllegalEnvVarName")); 972throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarName")); 998throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarValue")); 1013throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)target)); 1447throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)folder)); 1458throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)folder)); 1460throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)option));
system\exception.cs (1)
412throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject"));
system\globalization\calendar.cs (1)
248throw new ArgumentException(
system\globalization\compareinfo.cs (3)
149throw new ArgumentException(Environment.GetResourceString("Argument_OnlyMscorlib")); 177throw new ArgumentException(Environment.GetResourceString("Argument_OnlyMscorlib")); 200throw new ArgumentException(Environment.GetResourceString("Argument_CustomCultureCannotBePassedByNumber", "culture"));
system\globalization\cultureinfo.cs (1)
680throw new ArgumentException(Environment.GetResourceString("Argument_InvalidResourceCultureName", cultureName));
system\globalization\culturenotfoundexception.cs (2)
24: base(DefaultMessage) 29: base(message)
system\globalization\encodingdataitem.cs (1)
66throw new ArgumentException("pStrings");
system\globalization\gregoriancalendarhelper.cs (2)
544throw new ArgumentException(Environment.GetResourceString("Argument_NoEra")); 558throw new ArgumentException(Environment.GetResourceString("Argument_NoEra"));
system\globalization\numberformatinfo.cs (3)
169throw new ArgumentException(Environment.GetResourceString("Argument_EmptyDecString")); 826throw new ArgumentException(Environment.GetResourceString("Arg_InvalidHexStyle")); 838throw new ArgumentException(Environment.GetResourceString("Arg_HexStyleNotSupported"));
system\globalization\regioninfo.cs (2)
72throw new ArgumentException(Environment.GetResourceString("Argument_NoRegionInvariantCulture")); 107throw new ArgumentException(Environment.GetResourceString("Argument_NoRegionInvariantCulture"));
system\guid.cs (3)
55throw new ArgumentException(Environment.GetResourceString("Arg_GuidArrayCtor", "16")); 96throw new ArgumentException(Environment.GetResourceString("Arg_GuidArrayCtor", "8")); 1006throw new ArgumentException(Environment.GetResourceString("Arg_MustBeGuid"));
system\int16.cs (1)
58throw new ArgumentException(Environment.GetResourceString("Arg_MustBeInt16"));
system\int32.cs (1)
61throw new ArgumentException (Environment.GetResourceString("Arg_MustBeInt32"));
system\int64.cs (1)
60throw new ArgumentException (Environment.GetResourceString("Arg_MustBeInt64"));
system\intptr.cs (1)
83throw new ArgumentException(Environment.GetResourceString("Serialization_InvalidPtrValue"));
system\io\__consolestream.cs (2)
129throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 156throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\__error.cs (3)
62throw new ArgumentException(Environment.GetResourceString("Arg_WrongAsyncResult")); 67throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EndReadCalledMultiple")); 72throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EndWriteCalledMultiple"));
system\io\binaryreader.cs (3)
59throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable")); 311throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 512throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\binarywriter.cs (2)
82throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable")); 193throw new ArgumentException(Environment.GetResourceString("Arg_SurrogatesNotAllowedAsSingleChar"));
system\io\bufferedstream.cs (6)
509throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 575throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 674throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 864throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1004throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1086throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\directory.cs (5)
67throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty")); 96throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty")); 165throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty")); 1177throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty")); 1502throw new ArgumentException(Environment.GetResourceString("Arg_PathIsVolume"));
system\io\directoryinfo.cs (1)
246throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSubPath", path, displayPath));
system\io\driveinfo.cs (2)
69throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDriveLetterOrRootDir")); 83throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDriveLetterOrRootDir"));
system\io\file.cs (19)
713throw new ArgumentException(Environment.GetResourceString("Arg_InvalidFileAttrs")); 788throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 804throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 818throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 845throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 861throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 875throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 945throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 961throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 992throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1007throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1068throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1085throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1100throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1117throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1146throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1161throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1188throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 1205throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"));
system\io\filestream.cs (16)
625throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 676throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFileMode&AccessCombo", mode, access)); 679throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFileMode&RightsCombo", mode, fileSystemRights)); 693throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFileModeTruncate&RightsCombo", mode, fileSystemRights)); 729throw new ArgumentException(Environment.GetResourceString("Arg_DevicesNotSupported")); 740throw new ArgumentException(Environment.GetResourceString("Argument_InvalidAppendMode")); 1055throw new ArgumentException(Environment.GetResourceString("Arg_HandleNotAsync")); 1149throw new ArgumentException(Environment.GetResourceString("Arg_HandleNotSync")); 1505throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1597throw new ArgumentException(Environment.GetResourceString("Arg_HandleNotSync")); 1611throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSeekOrigin")); 1759throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1879throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2191throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2612throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2664throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\filesysteminfo.cs (2)
319throw new ArgumentException(Environment.GetResourceString("Arg_InvalidFileAttrs")); 325throw new ArgumentException(Environment.GetResourceString("UnauthorizedAccess_IODenied_NoPathName"));
system\io\isolatedstorage\isolatedstorage.cs (1)
1168throw new ArgumentException(
system\io\isolatedstorage\isolatedstoragefile.cs (2)
412throw new ArgumentException(Environment.GetResourceString("IsolatedStorage_OldQuotaLarger")); 2359throw new ArgumentException(
system\io\isolatedstorage\isolatedstoragefilestream.cs (3)
129throw new ArgumentException( 157throw new ArgumentException(Environment.GetResourceString("IsolatedStorage_FileOpenMode")); 585throw new ArgumentException(
system\io\memorystream.cs (6)
116throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 347throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 384throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 510throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSeekOrigin")); 565throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 611throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\path.cs (20)
431throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 494throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 500throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 522throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 599throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 607throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 614throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 621throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 701throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 756throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 763throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 770throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 777throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 792throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 803throw new ArgumentException(Environment.GetResourceString("Argument_PathUriFormatNotSupported")); 896throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegalUNC")); 904throw new ArgumentException(Environment.GetResourceString("Arg_PathGlobalRoot")); 1378throw new ArgumentException(Environment.GetResourceString("Arg_InvalidSearchPattern")); 1382throw new ArgumentException(Environment.GetResourceString("Arg_InvalidSearchPattern")); 1394throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars"));
system\io\stream.cs (4)
383throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndReadCalledMultiple")); 391throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndReadCalledMultiple")); 570throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndWriteCalledMultiple")); 578throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndWriteCalledMultiple"));
system\io\streamreader.cs (6)
168throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable")); 235throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 391throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 452throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 911throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1099throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\streamwriter.cs (5)
146throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable")); 188throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 401throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 607throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 764throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\stringreader.cs (3)
93throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 170throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 185throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\stringwriter.cs (1)
117throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\textreader.cs (5)
126throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 226throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 252throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 400throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 416throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\textwriter.cs (1)
216throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\unmanagedmemoryaccessor.cs (4)
76throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndCapacityOutOfBounds")); 93throw new ArgumentException(Environment.GetResourceString("Argument_UnmanagedMemAccessorWrapAround")); 590throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndLengthOutOfBounds")); 1071throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndLengthOutOfBounds"));
system\io\unmanagedmemorystream.cs (8)
156throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSafeBufferOffLen")); 179throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_UnmanagedMemStreamWrapAround")); 400throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 456throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 536throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSeekOrigin")); 579throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 615throw new ArgumentException(Environment.GetResourceString("Arg_BufferTooSmall")); 653throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\multicastdelegate.cs (2)
274throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTypeMis")); 608throw new ArgumentException(Environment.GetResourceString("Arg_DlgtNullInst"));
system\reflection\assembly.cs (1)
1763throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength"));
system\reflection\assemblyname.cs (1)
392throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength"));
system\reflection\customattribute.cs (2)
622throw new ArgumentException(Environment.GetResourceString("Argument_InvalidMemberForNamedArgument")); 852throw new ArgumentException("encodedArg");
system\reflection\emit\assemblybuilder.cs (7)
252throw new ArgumentException("module"); 978throw new ArgumentException(Environment.GetResourceString("Argument_TypeNotValid")); 1447throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1474throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1497throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1526throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1838throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectory",
system\reflection\emit\assemblybuilderdata.cs (12)
157throw new ArgumentException(Environment.GetResourceString( 173throw new ArgumentException(Environment.GetResourceString( 196throw new ArgumentException(Environment.GetResourceString( 212throw new ArgumentException(Environment.GetResourceString( 222throw new ArgumentException(Environment.GetResourceString( 232throw new ArgumentException(Environment.GetResourceString( 246throw new ArgumentException(Environment.GetResourceString( 260throw new ArgumentException(Environment.GetResourceString( 284throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateResourceName")); 303throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateModuleName")); 356throw new ArgumentException(Environment.GetResourceString("Argument_DuplicatedFileName")); 369throw new ArgumentException(Environment.GetResourceString("Argument_DuplicatedFileName"));
system\reflection\emit\customattributebuilder.cs (15)
127throw new ArgumentException(Environment.GetResourceString("Argument_BadConstructor")); 130throw new ArgumentException(Environment.GetResourceString("Argument_BadConstructorCallConv")); 145throw new ArgumentException(Environment.GetResourceString("Argument_BadParameterCountsForConstructor")); 150throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeInCustomAttribute")); 160throw new ArgumentException(Environment.GetResourceString("Argument_BadParameterTypeForConstructor", i)); 191throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeInCustomAttribute")); 195throw new ArgumentException(Environment.GetResourceString("Argument_NotAWritableProperty")); 213throw new ArgumentException(Environment.GetResourceString("Argument_BadPropertyForConstructorBuilder")); 222throw new ArgumentException(Environment.GetResourceString("Argument_ConstantDoesntMatch")); 247throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeInCustomAttribute")); 265throw new ArgumentException(Environment.GetResourceString("Argument_BadFieldForConstructorBuilder")); 274throw new ArgumentException(Environment.GetResourceString("Argument_ConstantDoesntMatch")); 435throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeForCA", 509throw new ArgumentException(Environment.GetResourceString("Argument_BadParameterTypeForCAB", ot.ToString())); 521throw new ArgumentException(Environment.GetResourceString("Argument_BadParameterTypeForCAB", typename));
system\reflection\emit\dynamicilgenerator.cs (6)
73throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 119throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOpCodeOnDynamicMethod")); 187throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 417throw new ArgumentException(Environment.GetResourceString("Argument_ShouldNotSpecifyExceptionType")); 429throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 1242throw new ArgumentException(String.Format(
system\reflection\emit\dynamicmethod.cs (3)
362throw new ArgumentException(Environment.GetResourceString("Arg_InvalidTypeInSignature")); 365throw new ArgumentException(Environment.GetResourceString("Arg_InvalidTypeInSignature")); 408throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeForDynamicMethod"));
system\reflection\emit\fieldbuilder.cs (1)
51throw new ArgumentException(Environment.GetResourceString("Argument_BadFieldType"));
system\reflection\emit\ilgenerator.cs (12)
253throw new ArgumentException(Environment.GetResourceString("Argument_UnclosedExceptionBlock")); 363throw new ArgumentException(Environment.GetResourceString("Argument_BadLabel")); 366throw new ArgumentException(Environment.GetResourceString("Argument_BadLabelContent")); 1057throw new ArgumentException(Environment.GetResourceString("Argument_ShouldNotSpecifyExceptionType")); 1148throw new ArgumentException (Environment.GetResourceString("Argument_InvalidLabel")); 1152throw new ArgumentException (Environment.GetResourceString("Argument_RedefinedLabel")); 1170throw new ArgumentException(Environment.GetResourceString("Argument_NotExceptionType")); 1175throw new ArgumentException(Environment.GetResourceString("Argument_MissingDefaultConstructor")); 1202throw new ArgumentException(Environment.GetResourceString("InvalidOperation_BadILGeneratorUsage")); 1211throw new ArgumentException(Environment.GetResourceString("NotSupported_OutputStreamUsingTypeBuilder")); 1531throw new ArgumentException(Environment.GetResourceString("Argument_TooManyFinallyClause")); 1717throw new ArgumentException(Environment.GetResourceString("Argument_UnmatchingSymScope"));
system\reflection\emit\methodbuilder.cs (2)
138throw new ArgumentException(Environment.GetResourceString("Arg_NoStaticVirtual")); 149throw new ArgumentException(Environment.GetResourceString("Argument_BadAttributeOnInterfaceMethod"));
system\reflection\emit\modulebuilder.cs (9)
134throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateTypeName")); 559throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorInfo")); 569throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorInfo")); 1406throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1437throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1503throw new ArgumentException(Environment.GetResourceString("Argument_GlobalFunctionHasToBeStatic")); 1557throw new ArgumentException(Environment.GetResourceString("Argument_GlobalFunctionHasToBeStatic")); 1710throw new ArgumentException(Environment.GetResourceString("Argument_CannotGetTypeTokenForByRef")); 2059throw new ArgumentException(Environment.GetResourceString("Argument_HasToBeArrayClass"));
system\reflection\emit\modulebuilderdata.cs (1)
56throw new ArgumentException(Environment.GetResourceString("Argument_NoModuleFileExtension", strFileName));
system\reflection\emit\signaturehelper.cs (8)
234throw new ArgumentException(Environment.GetResourceString("Argument_BadFieldSig")); 264throw new ArgumentException(Environment.GetResourceString("NotSupported_MustBeModuleBuilder")); 533throw new ArgumentException(Environment.GetResourceString("Argument_LargeInteger")); 589throw new ArgumentException(Environment.GetResourceString("Argument_LargeInteger")); 810throw new ArgumentException(Environment.GetResourceString("Argument_LargeInteger")); 840throw new ArgumentException(Environment.GetResourceString("Argument_MismatchedArrays", "requiredCustomModifiers", "arguments")); 843throw new ArgumentException(Environment.GetResourceString("Argument_MismatchedArrays", "optionalCustomModifiers", "arguments")); 860throw new ArgumentException(Environment.GetResourceString("Argument_SigIsFinalized"));
system\reflection\emit\symboltype.cs (4)
70throw new ArgumentException(Environment.GetResourceString("Argument_BadSigFormat")); 133throw new ArgumentException(Environment.GetResourceString("Argument_BadSigFormat")); 163throw new ArgumentException(Environment.GetResourceString("Argument_BadSigFormat")); 181throw new ArgumentException(Environment.GetResourceString("Argument_BadSigFormat"));
system\reflection\emit\typebuilder.cs (22)
100throw new ArgumentException(Environment.GetResourceString("Argument_MustBeTypeBuilder")); 133throw new ArgumentException(Environment.GetResourceString("Argument_MustBeTypeBuilder")); 154throw new ArgumentException(Environment.GetResourceString("Argument_MustBeTypeBuilder")); 445throw new ArgumentException(Environment.GetResourceString("Argument_ConstantDoesntMatch")); 454throw new ArgumentException(Environment.GetResourceString("Argument_ConstantDoesntMatch")); 464throw new ArgumentException(Environment.GetResourceString("Argument_ConstantDoesntMatch")); 473throw new ArgumentException(Environment.GetResourceString("Argument_ConstantDoesntMatch")); 510throw new ArgumentException(Environment.GetResourceString("Argument_ConstantNotSupported", type.ToString())); 521throw new ArgumentException(Environment.GetResourceString("Argument_ConstantNull")); 784throw new ArgumentException(Environment.GetResourceString("Argument_BadPInvokeMethod")); 788throw new ArgumentException(Environment.GetResourceString("Argument_BadPInvokeOnInterface")); 805throw new ArgumentException(Environment.GetResourceString("Argument_MethodRedefined")); 871throw new ArgumentException(Environment.GetResourceString("Argument_BadSizeForData")); 907throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeAttrNestedVisibilityOnNonNestedType")); 915throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeAttrNonNestedVisibilityNestedType")); 922throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeAttrInvalidLayout")); 928throw new ArgumentException(Environment.GetResourceString("Argument_BadTypeAttrReservedBitsSet")); 1640throw new ArgumentException(Environment.GetResourceString("ArgumentException_BadMethodImplBody")); 1714throw new ArgumentException(Environment.GetResourceString("Argument_MismatchedArrays", "parameterTypeOptionalCustomModifiers", "parameterTypes")); 1717throw new ArgumentException(Environment.GetResourceString("Argument_MismatchedArrays", "parameterTypeRequiredCustomModifiers", "parameterTypes")); 1726throw new ArgumentException(Environment.GetResourceString("Argument_BadAttributeOnInterfaceMethod")); 2493throw new ArgumentException(Environment.GetResourceString("Argument_CannotSetParentToInterface"));
system\reflection\emit\unmanagedmarshal.cs (4)
34throw new ArgumentException(Environment.GetResourceString("Argument_NotASimpleNativeType")); 77throw new ArgumentException(Environment.GetResourceString("Argument_NotACustomMarshaler")); 88throw new ArgumentException(Environment.GetResourceString("Argument_NoUnmanagedElementCount")); 100throw new ArgumentException(Environment.GetResourceString("Argument_NoNestedMarshal"));
system\reflection\fieldinfo.cs (6)
41throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 47throw new ArgumentException(String.Format( 58throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 532throw new ArgumentException( 748throw new ArgumentException(Environment.GetResourceString("Arg_TypedReference_Null")); 773throw new ArgumentException(Environment.GetResourceString("Arg_TypedReference_Null"));
system\reflection\memberinfoserializationholder.cs (1)
282throw new ArgumentException(Environment.GetResourceString("Serialization_MemberTypeNotRecognized"));
system\reflection\methodbase.cs (3)
65throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 71throw new ArgumentException(String.Format( 82throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle"));
system\reflection\methodinfo.cs (1)
907throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth"));
system\reflection\module.cs (7)
654throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 657throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 659throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 869throw new ArgumentException(Environment.GetResourceString("InvalidOperation_PropertyInfoNotAvailable")); 872throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EventInfoNotAvailable")); 913throw new ArgumentException( 923throw new ArgumentException(
system\reflection\parametermodifier.cs (1)
26throw new ArgumentException(Environment.GetResourceString("Arg_ParmArraySize"));
system\reflection\propertyinfo.cs (2)
629throw new ArgumentException(System.Environment.GetResourceString("Arg_GetMethNotFnd")); 653throw new ArgumentException(System.Environment.GetResourceString("Arg_SetMethNotFnd"));
system\reflection\RuntimeReflectionExtensions.cs (3)
13if (!(t is RuntimeType)) throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 19if (!(m is RuntimeMethodInfo)) throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo")); 73if (!(typeInfo is RuntimeType)) throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\reflection\strongnamekeypair.cs (1)
162throw new ArgumentException(Environment.GetResourceString("Argument_StrongNameGetPublicKey"));
system\resources\manifestbasedresourcegroveler.cs (1)
243throw new ArgumentException(Environment.GetResourceString("Arg_InvalidNeutralResourcesLanguage_FallbackLoc", fallback));
system\resources\neutralresourceslanguageattribute.cs (1)
52throw new ArgumentException(Environment.GetResourceString("Arg_InvalidNeutralResourcesLanguage_FallbackLoc", location));
system\resources\resourcemanager.cs (3)
363throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 400throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 427throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\resources\resourcereader.cs (4)
185throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable")); 889throw new ArgumentException(Environment.GetResourceString("Resources_StreamNotValid")); 923throw new ArgumentException(Environment.GetResourceString("Arg_ResourceFileUnsupportedVersion", RuntimeResourceSet.Version, version)); 1199throw new ArgumentException(Environment.GetResourceString("Arg_ResourceNameNotExist", resourceName));
system\resources\resourcewriter.cs (4)
119throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable")); 208throw new ArgumentException(Environment.GetResourceString("NotSupported_UnseekableStream")); 688throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 700throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_StreamLength"));
system\rttype.cs (16)
2049throw new ArgumentException(String.Format( 2077throw new ArgumentException(String.Format( 2099throw new ArgumentException(String.Format( 2169throw new ArgumentException(String.Format( 2203throw new ArgumentException( 2223throw new ArgumentException( 3172throw new ArgumentException(Environment.GetResourceString("Argument_ArrayGetInterfaceMap")); 4047throw new ArgumentException(Environment.GetResourceString("Argument_HasToBeArrayClass")); 4119throw new ArgumentException(Environment.GetResourceString("Arg_EnumAndObjectMustBeSameType", valueType.ToString(), this.ToString())); 4140throw new ArgumentException(Environment.GetResourceString("Arg_EnumUnderlyingTypeAndObjectMustBeSameType", valueType.ToString(), underlyingType.ToString())); 4151throw new ArgumentException(Environment.GetResourceString("Arg_EnumUnderlyingTypeAndObjectMustBeSameType", valueType.ToString(), GetEnumUnderlyingType())); 4443throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4485throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4729throw new ArgumentException(Environment.GetResourceString("Arg_IndexMustBeInt")); 5162throw new ArgumentException(Environment.GetResourceString("Arg_ReflectionOnlyInvoke")); 5165throw new ArgumentException(
system\runtime\designerservices\windowsruntimedesignercontext.cs (1)
42throw new ArgumentException(Environment.GetResourceString("Argument_AbsolutePathRequired"));
system\runtime\interopservices\marshal.cs (4)
149throw new ArgumentException("len"); 160throw new ArgumentException("len"); 867throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo")); 906throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"));
system\runtime\interopservices\registrationservices.cs (2)
111throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 174throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"));
system\runtime\interopservices\safebuffer.cs (3)
255throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 327throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 384throw new ArgumentException(Environment.GetResourceString("Arg_BufferTooSmall"));
system\runtime\interopservices\typelibconverter.cs (2)
321throw new ArgumentException(Environment.GetResourceString("Arg_InvalidFileExtension")); 537throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"));
system\Runtime\InteropServices\Variant.cs (1)
244throw new ArgumentException("invalid argument type");
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (3)
77throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 97throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection")); 100throw new ArgumentException(Environment.GetResourceString("Argument_IndexOutOfArrayBounds"));
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (2)
112throw new ArgumentException(System.Environment.GetResourceString(getValue ? "Arg_GetMethNotFnd" : "Arg_SetMethNotFnd")); 124throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"));
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (2)
37throw new ArgumentException(Environment.GetResourceString("Arg_IndexOutOfRangeException")); 39throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection"));
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (2)
40throw new ArgumentException(Environment.GetResourceString("Arg_IndexOutOfRangeException")); 42throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection"));
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (2)
151throw new ArgumentException(Environment.GetResourceString("Argument_IndexOutOfArrayBounds")); 154throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection"));
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (1)
99throw new ArgumentException(Environment.GetResourceString("Argument_AddingDuplicate"));
system\runtime\interopservices\windowsruntime\vectortocollectionadapter.cs (2)
94throw new ArgumentException(Environment.GetResourceString("Argument_IndexOutOfArrayBounds")); 97throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection"));
system\runtime\remoting\activationservices.cs (1)
1143throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\remoting\context.cs (2)
878throw new ArgumentException(Environment.GetResourceString("Argument_NonNullObjAndCtx")); 907throw new ArgumentException(Environment.GetResourceString("Argument_NonNullObjAndCtx"));
system\runtime\remoting\message.cs (3)
2036throw new ArgumentException( 2068throw new ArgumentException( 2097throw new ArgumentException(
system\runtime\remoting\objref.cs (1)
459throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\remoting\proxyattribute.cs (1)
46throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\remoting\realproxy.cs (2)
117throw new ArgumentException( 471throw new ArgumentException(
system\runtime\remoting\remotingconfiguration.cs (7)
253throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 280throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 303throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 372throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 431throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 495throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 565throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\remoting\remotingproxy.cs (2)
260throw new ArgumentException( 646throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\remoting\remotingservices.cs (8)
213throw new ArgumentException( 252throw new ArgumentException( 280throw new ArgumentException( 1011throw new ArgumentException( 1184throw new ArgumentException( 1255throw new ArgumentException( 2808throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject")); 2832throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject"));
system\runtime\remoting\serveridentity.cs (1)
415throw new ArgumentException(Environment.GetResourceString("Arg_PropNotFound") );
system\runtime\remoting\soap.cs (3)
176throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 485throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject")); 531throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject"));
system\runtime\remoting\terminatorsinks.cs (1)
85throw new ArgumentException(Environment.GetResourceString("Remoting_ServerObjectNotFound", objURI));
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
461throw new ArgumentException(Environment.GetResourceString("Serialization_MBRAsMBV", t.FullName));
system\runtime\serialization\formatterservices.cs (2)
319throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFieldInfo")); 340throw new ArgumentException(Environment.GetResourceString("Argument_DataLengthDifferent"));
system\runtime\serialization\objectclonehelper.cs (1)
96throw new ArgumentException(Environment.GetResourceString("Arg_SerializationException"));
system\runtime\serialization\objectmanager.cs (1)
863throw new ArgumentException(Environment.GetResourceString("Serialization_NotISer"));
system\runtime\serialization\safeserializationmanager.cs (1)
230throw new ArgumentException(Environment.GetResourceString("Serialization_NonSerType", serializedState.GetType(), serializedState.GetType().Assembly.FullName));
system\runtime\serialization\serializationattributes.cs (1)
35throw new ArgumentException(Environment.GetResourceString("Serialization_OptionalFieldVersionValue"));
system\runtime\serialization\serializationinfo.cs (1)
527throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\serialization\valuetypefixupinfo.cs (3)
41throw new ArgumentException(Environment.GetResourceString("Argument_MustSupplyParent")); 57throw new ArgumentException(Environment.GetResourceString("Argument_MemberAndArray")); 61throw new ArgumentException(Environment.GetResourceString("Argument_MustSupplyContainer"));
system\runtimehandles.cs (1)
648throw new ArgumentException("name");
system\sbyte.cs (1)
56throw new ArgumentException (Environment.GetResourceString("Arg_MustBeSByte"));
system\security\accesscontrol\filesecurity.cs (1)
354exception = new ArgumentException(Environment.GetResourceString("AccessControl_InvalidHandle"));
system\security\accesscontrol\privilege.cs (1)
133throw new ArgumentException(
system\security\accesscontrol\registrysecurity.cs (2)
169exception = new ArgumentException(Environment.GetResourceString("Arg_RegInvalidKeyName", "name")); 173exception = new ArgumentException(Environment.GetResourceString("AccessControl_InvalidHandle"));
system\security\codeaccesspermission.cs (2)
186throw new ArgumentException( Environment.GetResourceString( "Argument_NotAPermissionElement")); 191throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidXMLBadVersion") );
system\security\cryptography\base64transforms.cs (8)
52if (inputCount < 0 || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 53if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 69if (inputCount < 0 || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 70if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 147if (inputCount < 0 || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 148if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 191if (inputCount < 0 || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 192if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\cryptoapitransform.cs (4)
205if ((inputCount <= 0) || (inputCount % InputBlockSize != 0) || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 206if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 245if ((inputCount < 0) || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 246if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\cryptoconfig.cs (2)
558throw new ArgumentException(Environment.GetResourceString("Cryptography_AddNullOrEmptyName")); 703throw new ArgumentException(Environment.GetResourceString("Cryptography_AddNullOrEmptyName"));
system\security\cryptography\cryptostream.cs (5)
70throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 188throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 316throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 500throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 580throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\des.cs (1)
57throw new ArgumentException(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\hashalgorithm.cs (6)
98throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 100throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 140throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 142throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 163throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 165throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\randomnumbergenerator.cs (1)
57if (offset + count > data.Length) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\rfc2898derivebytes.cs (1)
141throw new ArgumentException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_FewBytesSalt"));
system\security\cryptography\rijndaelmanagedtransform.cs (4)
245if (inputCount <= 0 || (inputCount % InputBlockSize != 0) || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 246if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 313if (inputCount < 0 || (inputCount > inputBuffer.Length)) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 314if ((inputBuffer.Length - inputCount) < inputOffset) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\tripledes.cs (2)
97if ((start1+count) > rgbKey.Length) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 98if ((start2+count) > rgbKey.Length) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue"));
system\security\cryptography\utils.cs (3)
479throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag")); 594throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 621throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue"));
system\security\hostsecuritymanager.cs (2)
111throw new ArgumentException(Environment.GetResourceString("Policy_MissingActivationContextInAppEvidence")); 115throw new ArgumentException(Environment.GetResourceString("Policy_MissingActivationContextInAppEvidence"));
system\security\namedpermissionset.cs (1)
100throw new ArgumentException( Environment.GetResourceString( "Argument_NPMSInvalidName" ));
system\security\permissions\environmentpermission.cs (7)
89throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 165throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)flag)); 173throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") ); 178throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") ); 235ArgumentException( 251ArgumentException( 294ArgumentException(
system\security\permissions\filedialogpermission.cs (5)
51throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 105throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 142throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 181throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 190throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)access));
system\security\permissions\fileiopermission.cs (10)
66throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 211throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 534throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)access)); 542throw new ArgumentException(Environment.GetResourceString("Arg_EnumNotSingleFlag")); 547throw new ArgumentException(Environment.GetResourceString("Arg_EnumNotSingleFlag")); 560throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 643throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 669throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 721throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 1105throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars"));
system\security\permissions\gacidentitypermission.cs (4)
54throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 79throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 88throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 97throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName));
system\security\permissions\hostprotectionpermission.cs (6)
76throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag")); 176throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 204throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)value)); 225throw new ArgumentException( Environment.GetResourceString("Argument_WrongType", this.GetType().FullName) ); 234throw new ArgumentException( Environment.GetResourceString("Argument_WrongType", this.GetType().FullName) ); 244throw new ArgumentException( Environment.GetResourceString("Argument_WrongType", this.GetType().FullName) );
system\security\permissions\isolatedstoragefilepermission.cs (3)
43ArgumentException( 94ArgumentException( 108ArgumentException(
system\security\permissions\isolatedstoragepermission.cs (1)
88throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\keycontainerpermission.cs (12)
91throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 110throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 126throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 139throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 155throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 303throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 307throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 382throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 449throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 484throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 506throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 656throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)flags));
system\security\permissions\permissionattributes.cs (1)
827throw new ArgumentException( Environment.GetResourceString("ArgumentNull_Key"));
system\security\permissions\principalpermission.cs (4)
145throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 259ArgumentException( 276ArgumentException( 378ArgumentException(
system\security\permissions\publisheridentitypermission.cs (5)
53throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 103throw new ArgumentException(Environment.GetResourceString("Argument_UninitializedCertificate")); 148throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 182throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 221throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName));
system\security\permissions\reflectionpermission.cs (5)
71throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 176ArgumentException( 216ArgumentException( 230ArgumentException( 265throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)type));
system\security\permissions\registrypermission.cs (7)
61throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 201throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)access)); 208throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") ); 213throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") ); 254throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 278ArgumentException( 330ArgumentException(
system\security\permissions\securitypermission.cs (5)
81throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 164ArgumentException( 175ArgumentException( 196ArgumentException( 259throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)type));
system\security\permissions\siteidentitypermission.cs (4)
106throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 187throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 221throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 261throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName));
system\security\permissions\strongnameidentitypermission.cs (6)
138throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 147throw new ArgumentException( Environment.GetResourceString( "Argument_EmptyStrongName" ) ); 193throw new ArgumentException( Environment.GetResourceString("Argument_EmptyName" )); 286throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 322throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 362throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName));
system\security\permissions\uipermission.cs (6)
90throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 164throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)flag)); 173throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)flag)); 261ArgumentException( 277ArgumentException( 300ArgumentException(
system\security\permissions\urlidentitypermission.cs (4)
109throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 218throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 252throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 292throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName));
system\security\permissions\zoneidentitypermission.cs (5)
115throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 191throw new ArgumentException( Environment.GetResourceString("Argument_IllegalZone") ); 222throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 233throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName)); 247throw new ArgumentException(Environment.GetResourceString("Argument_WrongType", this.GetType().FullName));
system\security\permissionset.cs (5)
212throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 1761throw new ArgumentException(String.Format( null, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PermissionSet", this.GetType().FullName) ); 1863throw new ArgumentException(String.Format( null, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PermissionSet", this.GetType().FullName) ); 2123throw new ArgumentException( Environment.GetResourceString( "Argument_UnableToGeneratePermissionSet")); 2437throw new ArgumentException( Environment.GetResourceString( "Argument_UnableToGeneratePermissionSet" ) );
system\security\policy\allmembershipcondition.cs (1)
82throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) );
system\security\policy\applicationdirectorymembershipcondition.cs (1)
121throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) );
system\security\policy\applicationtrust.cs (8)
97throw new ArgumentException(Environment.GetResourceString("Argument_NullFullTrustAssembly")); 231throw new ArgumentException(Environment.GetResourceString("Argument_InvalidXML")); 294throw new ArgumentException(Environment.GetResourceString("Argument_InvalidXML")); 465throw new ArgumentException(Environment.GetResourceString("Argument_ApplicationTrustShouldHaveIdentity")); 537throw new ArgumentException(Environment.GetResourceString("Argument_ApplicationTrustShouldHaveIdentity")); 594throw new ArgumentException(Environment.GetResourceString("Argument_ApplicationTrustShouldHaveIdentity")); 620throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 624throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\policy\codegroup.cs (3)
163throw new ArgumentException( Environment.GetResourceString( "Argument_CodeGroupChildrenMustBeCodeGroups" ) ); 450throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "IMembershipCondition", this.GetType().FullName ) ); 612throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_FailedCodeGroup" ), marker.element.Attribute( "class" ) ) );
system\security\policy\gacmembershipcondition.cs (1)
86throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) );
system\security\policy\hashmembershipcondition.cs (2)
188throw new ArgumentException(Environment.GetResourceString("Argument_MembershipConditionElement")); 257throw new ArgumentException(Environment.GetResourceString("Argument_InvalidXMLElement", s_tagHashValue, this.GetType().FullName));
system\security\policy\policylevel.cs (13)
110throw new ArgumentException(Environment.GetResourceString("Policy_Default")); 124throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)m_type)); 283throw new ArgumentException(Environment.GetResourceString("Argument_AssemblyAlreadyFullTrust")); 320throw new ArgumentException(Environment.GetResourceString("Argument_AssemblyNotFullTrust")); 349throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateName")); 380throw new ArgumentException(Environment.GetResourceString("Argument_ReservedNPMS", name)); 396throw new ArgumentException(Environment.GetResourceString("Argument_NoNPMS")); 409throw new ArgumentException(Environment.GetResourceString("Argument_NPMSInUse", name)); 437throw new ArgumentException(Environment.GetResourceString("Argument_ReservedNPMS", name)); 445throw new ArgumentException(Environment.GetResourceString("Argument_NoNPMS")); 638throw new ArgumentException(Environment.GetResourceString("Argument_InvalidXMLElement", "CodeGroup", this.GetType().FullName)); 642throw new ArgumentException(Environment.GetResourceString("Argument_InvalidXMLElement", "CodeGroup", this.GetType().FullName)); 906return new ArgumentException(message);
system\security\policy\policystatement.cs (5)
198throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidFlag" ) ); 368throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) ); 428throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidXML" ) ); 446throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) ); 504throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidXML" ) );
system\security\policy\publishermembershipcondition.cs (1)
185throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) );
system\security\policy\site.cs (1)
54throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidSite" ) );
system\security\policy\sitemembershipcondition.cs (2)
169throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 189throw new ArgumentException( Environment.GetResourceString( "Argument_SiteCannotBeNull" ) );
system\security\policy\strongname.cs (2)
50throw new ArgumentException(Environment.GetResourceString("Argument_EmptyStrongName")); 162throw new ArgumentException(Environment.GetResourceString("Argument_InvalidXML"));
system\security\policy\strongnamemembershipcondition.cs (4)
59throw new ArgumentException( Environment.GetResourceString( "Argument_EmptyStrongName" ) ); 108throw new ArgumentException( Environment.GetResourceString("Argument_EmptyName" )); 246throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 289throw new ArgumentException( Environment.GetResourceString( "Argument_BlobCannotBeNull" ) );
system\security\policy\urlmembershipcondition.cs (3)
172throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 193throw new ArgumentException(Environment.GetResourceString("Argument_UrlCannotBeNull")); 199throw new ArgumentException(Environment.GetResourceString("Argument_RelativeUrlMembershipCondition"));
system\security\policy\zone.cs (1)
40throw new ArgumentException( Environment.GetResourceString( "Argument_IllegalZone" ) );
system\security\policy\zonemembershipcondition.cs (3)
98throw new ArgumentException( Environment.GetResourceString( "Argument_IllegalZone" ) ); 184throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 211throw new ArgumentException( Environment.GetResourceString( "Argument_ZoneCannotBeNull" ) );
system\security\principal\windowsidentity.cs (3)
171throw new ArgumentException(Environment.GetResourceString("Argument_TokenZero")); 179throw new ArgumentException(Environment.GetResourceString("Argument_InvalidImpersonationToken")); 968throw new ArgumentException(Environment.GetResourceString("Argument_InvalidImpersonationToken"));
system\security\principal\windowsimpersonationcontext.cs (1)
44throw new ArgumentException(Environment.GetResourceString("Argument_InvalidImpersonationToken"));
system\security\securityelement.cs (11)
117throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) ); 130throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) ); 133throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementText" ), text ) ); 156throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) ); 205throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), (String)enumerator.Current ) ); 208throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), (String)enumerator.Value ) ); 235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) ); 259throw new ArgumentException( Environment.GetResourceString( "ArgumentNull_Child" ) ); 308throw new ArgumentException( Environment.GetResourceString( "Argument_AttributeNamesMustBeUnique" ) ); 325throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), name ) ); 328throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), value ) );
system\security\securitymanager.cs (6)
178throw new ArgumentException( Environment.GetResourceString("Argument_PolicyFileDoesNotExist")); 217throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "configuration" ) ); 221throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "mscorlib" ) ); 225throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "security" ) ); 229throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "policy" ) ); 235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "PolicyLevel" ) );
system\security\util\hex.cs (2)
73throw new ArgumentException( Environment.GetResourceString( "ArgumentOutOfRange_Index" ) ); 100throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidHexFormat" ) );
system\security\util\sitestring.cs (5)
46throw new ArgumentException( Environment.GetResourceString("Argument_InvalidSite" )); 73throw new ArgumentException( Environment.GetResourceString("Argument_InvalidSite" )); 79throw new ArgumentException( Environment.GetResourceString("Argument_InvalidSite" )); 86throw new ArgumentException( Environment.GetResourceString("Argument_InvalidSite" )); 92throw new ArgumentException( Environment.GetResourceString("Argument_InvalidSite" ));
system\security\util\stringexpressionset.cs (3)
174throw new ArgumentException( Environment.GetResourceString( "Argument_AbsolutePathRequired" ) ); 246throw new ArgumentException(Environment.GetResourceString("Argument_AbsolutePathRequired")); 339throw new ArgumentException( Environment.GetResourceString( "Argument_AbsolutePathRequired" ) );
system\security\util\tokenizer.cs (1)
186throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)encoding));
system\security\util\urlstring.cs (20)
152throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 157throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 172throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 182throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 193throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 214throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 257throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 264throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 275throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 325throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 335throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 338throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 513throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 1095throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl")); 1112throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl")); 1118throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl")); 1165throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl")); 1174throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl")); 1192throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl")); 1199throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDirectoryOnUrl"));
system\security\util\xmlutil.cs (8)
135throw new ArgumentException( Environment.GetResourceString( "Argument_NoClass" ) ); 209throw new ArgumentException( String.Format( null, Environment.GetResourceString( "Argument_WrongElementType" ), "<Permission>" ) ) ; 420throw new ArgumentException( Environment.GetResourceString("Argument_NotAPermissionType") ); 434throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<CodeGroup>" ) ) ; 492throw new ArgumentException( Environment.GetResourceString("Argument_NotACodeGroupType") ); 508throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<IMembershipCondition>" ) ) ; 626throw new ArgumentException( Environment.GetResourceString("Argument_NotAMembershipCondition") ); 643throw new ArgumentException( String.Format( null, Environment.GetResourceString("Argument_InvalidXMLMissingAttr"), "class") );
system\single.cs (1)
101throw new ArgumentException (Environment.GetResourceString("Arg_MustBeSingle"));
system\string.cs (6)
1017throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", options)); 1062throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)options)); 1466throw new ArgumentException(Environment.GetResourceString("Interop_Marshal_Unmappable_Char")); 1705throw new ArgumentException(Environment.GetResourceString("Arg_MustBeStringPtrNotAtom")); 2090throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison")); 2109throw new ArgumentException(Environment.GetResourceString("Arg_MustBeString"));
system\stringcomparer.cs (1)
94throw new ArgumentException(Environment.GetResourceString("Argument_ImplementIComparable"));
system\stubhelpers.cs (5)
1061throw new ArgumentException(Environment.GetResourceString("Arg_NDirectBadObject")); 1244throw new ArgumentException(Environment.GetResourceString("Arg_MarshalAsAnyRestriction")); 1276throw new ArgumentException(Environment.GetResourceString("Arg_NDirectBadObject")); 1419throw new ArgumentException(Environment.GetResourceString("Argument_WinRTSystemRuntimeType", managedType.GetType().ToString())); 1476throw new ArgumentException(Environment.GetResourceString("Argument_Unexpected_TypeSource"));
system\text\asciiencoding.cs (2)
436throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 574throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\text\codepageencoding.cs (2)
103throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException")); 139throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\dbcscodepageencoding.cs (2)
558throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 667throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\text\decoder.cs (2)
300throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow")); 348throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow"));
system\text\decoderexceptionfallback.cs (3)
114: base(Environment.GetResourceString("Arg_ArgumentException")) 120: base(message) 136String message, byte[] bytesUnknown, int index) : base(message)
system\text\decoderfallback.cs (6)
175throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 182throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 198throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 236throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 243throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 253throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex"));
system\text\decoderreplacementfallback.cs (1)
64throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex", "replacement"));
system\text\encoder.cs (2)
294throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow")); 340throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow"));
system\text\encoderexceptionfallback.cs (4)
117: base(Environment.GetResourceString("Arg_ArgumentException")) 123: base(message) 139String message, char charUnknown, int index) : base(message) 146String message, char charUnknownHigh, char charUnknownLow, int index) : base(message)
system\text\encoderreplacementfallback.cs (1)
66throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex", "replacement"));
system\text\encoding.cs (1)
2138throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\text\isciiencoding.cs (1)
92throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\iso2022encoding.cs (1)
78throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\mlangcodepageencoding.cs (3)
105throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException")); 141throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException")); 179throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\normalization.cs (2)
90throw new ArgumentException( 101throw new ArgumentException(
system\text\stringbuilder.cs (2)
771throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_OffsetOut")); 779throw new ArgumentException(Environment.GetResourceString("Arg_LongerThanSrcString"));
system\text\surrogateencoder.cs (1)
56throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\unicodeencoding.cs (2)
479throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 763throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\text\utf32encoding.cs (2)
457throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 587throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\text\utf7encoding.cs (1)
1144throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex"));
system\text\utf8encoding.cs (2)
494throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 882throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\threading\CancellationTokenSource.cs (1)
914throw new ArgumentException(Environment.GetResourceString("CancellationToken_CreateLinkedToken_TokensIsEmpty"));
system\threading\eventwaithandle.cs (5)
61throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name)); 76throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag",name)); 107throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name)); 136throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag",name)); 235throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name));
system\threading\mutex.cs (3)
65throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name)); 94throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong", name)); 365throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name));
system\threading\SpinLock.cs (1)
291throw new System.ArgumentException(Environment.GetResourceString("SpinLock_TryReliableEnter_ArgumentException"));
system\threading\Tasks\Parallel.cs (1)
244throw new ArgumentException(Environment.GetResourceString("Parallel_Invoke_ActionNull"));
system\threading\thread.cs (1)
1178throw new ArgumentException(Environment.GetResourceString("Argument_InvalidResourceCultureName", value.Name));
system\threading\waithandle.cs (1)
424throw new ArgumentException(Environment.GetResourceString("Argument_EmptyWaithandleArray"));
system\throwhelper.cs (1)
72throw new ArgumentException(Environment.GetResourceString(GetResourceName(resource)));
system\timespan.cs (2)
177throw new ArgumentException(Environment.GetResourceString("Arg_MustBeTimeSpan")); 230throw new ArgumentException(Environment.GetResourceString("Arg_CannotBeNaN"));
system\tuple.cs (1)
969throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleLastArgumentNotATuple"));
system\type.cs (3)
1497throw new ArgumentException(Environment.GetResourceString("Arg_EnumAndObjectMustBeSameType", valueType.ToString(), this.ToString())); 1518throw new ArgumentException(Environment.GetResourceString("Arg_EnumUnderlyingTypeAndObjectMustBeSameType", valueType.ToString(), underlyingType.ToString())); 1527throw new ArgumentException(Environment.GetResourceString("Arg_EnumUnderlyingTypeAndObjectMustBeSameType", valueType.ToString(), GetEnumUnderlyingType()));
system\typedreference.cs (4)
36throw new ArgumentException(Environment.GetResourceString("Arg_ArrayZeroError")); 46throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeFieldInfo")); 49throw new ArgumentException(Environment.GetResourceString("Argument_TypedReferenceInvalidField")); 56throw new ArgumentException(Environment.GetResourceString("Arg_TypeRefPrimitve"));
system\typenameparser.cs (1)
88throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength"));
system\uint16.cs (1)
55throw new ArgumentException(Environment.GetResourceString("Arg_MustBeUInt16"));
system\uint32.cs (1)
62throw new ArgumentException(Environment.GetResourceString("Arg_MustBeUInt32"));
system\uint64.cs (1)
59throw new ArgumentException (Environment.GetResourceString("Arg_MustBeUInt64"));
system\uintptr.cs (1)
66throw new ArgumentException(Environment.GetResourceString("Serialization_InvalidPtrValue"));
system\unityserializationholder.cs (1)
319throw new ArgumentException(Environment.GetResourceString("Argument_InvalidUnity"));
system\version.cs (3)
166throw new ArgumentException(Environment.GetResourceString("Arg_MustBeVersion")); 508return new ArgumentException(Environment.GetResourceString("Arg_VersionString")); 524return new ArgumentException(Environment.GetResourceString("Arg_VersionString"));
PresentationCore (52)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\AlgoModule.cs (7)
168throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Input buffer passed was shorter than expected")); 176throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("output buffer length was zero")); 216throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Input buffer was too short (must be at least 3 bytes)")); 256throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid decompression algo byte")); 285throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid compression specified or computed by FindPropAlgoByte")); 335throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("input.Length must be at least 2")); 345throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus isf, we don't decompress property data with lz"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (5)
155throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("ISF size is larger than maximum stream size")); 164throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Drawing Attribute tag embedded in ISF stream does not match guid table")); 175throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid PenTip value found in ISF stream")); 239throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("ISF size if greater then maximum stream size")); 246throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (3)
464throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus GorillaEncodingType passed to compress")); 504throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus GorillaEncodingType passed to GetDataFromReader")); 673throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus GorillaEncodingType passed to Uncompress"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GuidTagList.cs (2)
114throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Tag is outside of the known guid tag range")); 138throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Tag is outside of the known guid tag range"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
253throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("invalid huffman encoded data"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\HuffModule.cs (1)
76throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("invalid codec computed"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (11)
385throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 496throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 530throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 593throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 606throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 628throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 642throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 691throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 789throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 804throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 1236throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid argument passed to ReliableRead"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (2)
296throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("MetricEntryType was persisted with Never flag which should never happen")); 443throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("MetricEntry cannot be null"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\MultiByteCodec.cs (1)
100throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("invalid input in MultiByteCodec.Decode"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (18)
93throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Stroke size (" + 183throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Packet buffer overflowed the ISF stream")); 209throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Stroke Custom Attribute tag embedded in ISF stream does not match guid table")); 222throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 257throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 271throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 280throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 289throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 297throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 306throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 313throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected")); 333throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Stroke Custom Attribute tag embedded in ISF stream does not match guid table")); 357throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 400throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 426throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 447throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 522throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Buffer range is smaller than expected expected size")); 554throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Button data length not equal to expected length"));
Shared\MS\Internal\SafeSecurityHelper.cs (1)
375throw(new System.ArgumentException(key.ToString()));
PresentationFramework (5)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
459throw new ArgumentException("segmentNumber");
src\Framework\System\Windows\Documents\TextElementCollection.cs (2)
635throw new ArgumentException("array"); 645throw new ArgumentException("arrayIndex");
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
51throw new ArgumentException("can’t seek on baseStream");
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
375throw(new System.ArgumentException(key.ToString()));
SMDiagnostics (1)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
160return (ArgumentException)this.ThrowHelperError(new ArgumentException(message));
SMSvcHost (2)
System\ServiceModel\Activation\ListenerAdapterBase.cs (2)
120throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException("numberOfBindings")); 131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException("bindingsMultiSz"));
System (41)
compmod\system\collections\generic\sortedset.cs (1)
1701throw new ArgumentException("lowerBound is greater than upperBound");
compmod\system\componentmodel\InvalidAsynchronousStateException.cs (1)
33: base(message) {
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
33: base(message) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (4)
482throw new ArgumentException("value"); 534throw new ArgumentException("value"); 555throw new ArgumentException("key"); 678throw new ArgumentException("value");
compmod\system\componentmodel\TypeDescriptor.cs (4)
1654throw new ArgumentException("component"); 1679throw new ArgumentException("component"); 3485throw new ArgumentException("instance"); 4033throw new ArgumentException("instance");
compmod\system\diagnostics\TraceSource.cs (1)
37throw new ArgumentException("name");
compmod\system\security\permissions\AspNetHostingPermission.cs (1)
78throw new ArgumentException(arg);
net\System\URI.cs (2)
1454throw new ArgumentException("part"); 1619throw new ArgumentException("digit");
net\System\uribuilder.cs (3)
139throw new ArgumentException("extraValue"); 164throw new ArgumentException("value"); 305throw new ArgumentException("value");
regex\system\text\regularexpressions\RegexCode.cs (1)
235return new ArgumentException(message);
regex\system\text\regularexpressions\RegexWriter.cs (1)
188return new ArgumentException(message);
security\system\security\cryptography\x509\x500Name.cs (1)
169throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "flag"));
security\system\security\cryptography\x509\x509certificate2.cs (1)
826throw new ArgumentException("CspKeyContainerInfo");
security\system\security\cryptography\x509\x509chainpolicy.cs (3)
76throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value")); 87throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value")); 98throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value"));
security\system\security\cryptography\x509\x509extension.cs (2)
458throw new ArgumentException("subjectKeyIdentifier"); 561throw new ArgumentException("algorithm");
security\system\security\cryptography\x509\x509store.cs (4)
65throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeLocation")); 93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeName")); 104throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeLocation")); 149throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "m_location"));
security\system\security\cryptography\x509\x509utils.cs (1)
554throw new ArgumentException("pCertContext");
security\system\security\permissions\storepermission.cs (4)
67throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 82throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 144throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)flags));
security\system\security\permissions\typedescriptorpermission.cs (5)
123throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 141throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 161throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 173throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)type)); 219throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)flags));
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
293throw FxTrace.Exception.AsError(new ArgumentException(reason));
System.Activities.Presentation (38)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (6)
237throw FxTrace.Exception.AsError(new ArgumentException( 271throw FxTrace.Exception.AsError(new ArgumentException(string.Format( 302throw FxTrace.Exception.AsError(new ArgumentException( 364throw FxTrace.Exception.AsError(new ArgumentException( 407throw FxTrace.Exception.AsError(new ArgumentException( 688throw FxTrace.Exception.AsError(new ArgumentException(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
223throw FxTrace.Exception.AsError(new ArgumentException(ExceptionStringTable.CanOnlySetFocusScopePriorityOnAnElementThatIsAFocusScope));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
411throw FxTrace.Exception.AsError(new ArgumentException("Cannot set the underlying ModelProperty to an empty set."));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
74throw FxTrace.Exception.AsError(new ArgumentException(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemtypesattribute.cs (1)
95throw FxTrace.Exception.AsError(new ArgumentException(Resources.Error_InvalidFactoryType));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (1)
75throw FxTrace.Exception.AsError(new ArgumentException(
System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
39throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
139throw FxTrace.Exception.AsError(new ArgumentException(
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (3)
188throw FxTrace.Exception.AsError(new ArgumentException( 350throw FxTrace.Exception.AsError(new ArgumentException( 413throw FxTrace.Exception.AsError(new ArgumentException(
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
388throw FxTrace.Exception.AsError(new ArgumentException("GetDynamicPropertyValueEditorType() returned null for propertyName."));
System.Activities.Presentation\System\Activities\Presentation\DictionaryItemsCollection.cs (2)
42throw FxTrace.Exception.AsError(new ArgumentException(SR.DuplicateKey)); 80throw FxTrace.Exception.AsError(new ArgumentException(SR.DuplicateKey));
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index)));
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
735throw FxTrace.Exception.AsError(new ArgumentException("Error"));
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertiesService.cs (1)
30throw FxTrace.Exception.AsError(new ArgumentException(SR.AttachedPropertyNameShouldNotBeEmpty));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
189throw FxTrace.Exception.AsError(new ArgumentException(SR.ModelItemPathArrayShouldNotBeEmpty)); 226throw FxTrace.Exception.AsError(new ArgumentException(SR.ModelItemPathArrayShouldNotBeEmpty));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (3)
418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor,
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (4)
54throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero)); 58throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero)); 280throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero)); 313throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero));
System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (1)
29throw FxTrace.Exception.AsError(new ArgumentException(SR.TypeResolvingOptionsArgumentExceptionMessage));
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
905throw FxTrace.Exception.AsError(new ArgumentException("non variable collection")); 921throw FxTrace.Exception.AsError(new ArgumentException("non variable collection"));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
596throw FxTrace.Exception.AsError(new ArgumentException(SR.Error_CantFindItemInWIsP));
System.AddIn (1)
System\Addin\Hosting\AddInStore.cs (1)
614throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, Res.TypeNotFound, addInTypeName, addInFilePath));
System.ComponentModel.DataAnnotations (7)
DataAnnotations\CompareAttribute.cs (1)
58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DataAnnotations\Schema\ColumnAttribute.cs (2)
28throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 62throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
26throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name"));
DataAnnotations\Schema\InversePropertyAttribute.cs (1)
20throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "property"));
DataAnnotations\Schema\TableAttribute.cs (2)
21throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 40throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
System.Configuration (1)
System\Configuration\ValidatorUtils.cs (1)
83throw new ArgumentException( String.Format( CultureInfo.InvariantCulture,
System.Data (43)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (6)
237throw FxTrace.Exception.AsError(new ArgumentException( 271throw FxTrace.Exception.AsError(new ArgumentException(string.Format( 302throw FxTrace.Exception.AsError(new ArgumentException( 364throw FxTrace.Exception.AsError(new ArgumentException( 407throw FxTrace.Exception.AsError(new ArgumentException( 688throw FxTrace.Exception.AsError(new ArgumentException(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
223throw FxTrace.Exception.AsError(new ArgumentException(ExceptionStringTable.CanOnlySetFocusScopePriorityOnAnElementThatIsAFocusScope));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
411throw FxTrace.Exception.AsError(new ArgumentException("Cannot set the underlying ModelProperty to an empty set."));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
74throw FxTrace.Exception.AsError(new ArgumentException(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemtypesattribute.cs (1)
95throw FxTrace.Exception.AsError(new ArgumentException(Resources.Error_InvalidFactoryType));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (1)
75throw FxTrace.Exception.AsError(new ArgumentException(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
39throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
139throw FxTrace.Exception.AsError(new ArgumentException(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (3)
188throw FxTrace.Exception.AsError(new ArgumentException( 350throw FxTrace.Exception.AsError(new ArgumentException( 413throw FxTrace.Exception.AsError(new ArgumentException(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
388throw FxTrace.Exception.AsError(new ArgumentException("GetDynamicPropertyValueEditorType() returned null for propertyName."));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DictionaryItemsCollection.cs (2)
42throw FxTrace.Exception.AsError(new ArgumentException(SR.DuplicateKey)); 80throw FxTrace.Exception.AsError(new ArgumentException(SR.DuplicateKey));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
735throw FxTrace.Exception.AsError(new ArgumentException("Error"));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertiesService.cs (1)
30throw FxTrace.Exception.AsError(new ArgumentException(SR.AttachedPropertyNameShouldNotBeEmpty));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
189throw FxTrace.Exception.AsError(new ArgumentException(SR.ModelItemPathArrayShouldNotBeEmpty)); 226throw FxTrace.Exception.AsError(new ArgumentException(SR.ModelItemPathArrayShouldNotBeEmpty));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (3)
418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (4)
54throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero)); 58throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero)); 280throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero)); 313throw FxTrace.Exception.AsError(new ArgumentException(SR.BoundsMustBeNonZero));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeResolvingOptions.cs (1)
29throw FxTrace.Exception.AsError(new ArgumentException(SR.TypeResolvingOptionsArgumentExceptionMessage));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
905throw FxTrace.Exception.AsError(new ArgumentException("non variable collection")); 921throw FxTrace.Exception.AsError(new ArgumentException("non variable collection"));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
596throw FxTrace.Exception.AsError(new ArgumentException(SR.Error_CantFindItemInWIsP));
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
124ArgumentException e = new ArgumentException(error);
fx\src\data\System\Data\DataException.cs (2)
275ArgumentException e = new ArgumentException(error); 280ArgumentException e = new ArgumentException(error);
fx\src\data\System\Data\SQLTypes\SQLGuid.cs (2)
63throw new ArgumentException(SQLResource.InvalidArraySizeMessage); 74throw new ArgumentException(SQLResource.InvalidArraySizeMessage);
System.Data.DataSetExtensions (1)
System\Data\DataSetUtil.cs (1)
46return TraceExceptionAsReturnValue(new ArgumentException(message));
System.Data.Entity (1)
System\Data\Common\EntityUtil.cs (1)
262return new ArgumentException(error);
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\EDesignUtil.cs (1)
96ArgumentException e = new ArgumentException(parameter);
System.IO.Log (1)
System\IO\Log\ReservationNotFoundException.cs (1)
18: base(message)
System.Management (21)
managementquery.cs (21)
121 throw new ArgumentException (RC.GetString("INVALID_QUERY_DUP_TOKEN")); // Invalid query - duplicate token 130 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 137 throw new ArgumentException (RC.GetString("INVALID_QUERY_NULL_TOKEN")); // Invalid query - token has no value 152 throw new ArgumentException (RC.GetString("INVALID_QUERY_DUP_TOKEN")); // Invalid query - duplicate token 1007 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 1015 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 1022 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 1081 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1655 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1668 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1675 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1691 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1733 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Unrecognized token 1738 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 2170 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2183 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2190 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2206 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2239 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Unrecognized token 2244 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 3031 throw new ArgumentException(RC.GetString("INVALID_QUERY"));
System.Runtime.Caching (6)
System\Caching\HostFileChangeMonitor.cs (2)
136throw new ArgumentException(RH.Format(R.Empty_collection, "filePaths")); 152throw new ArgumentException(RH.Format(R.Collection_contains_null_or_empty_string, "filePaths"));
System\Caching\MemoryCache.cs (4)
377throw new ArgumentException(RH.Format(R.Empty_collection, "keys")); 382throw new ArgumentException(RH.Format(R.Collection_contains_null_element, "keys")); 612throw new ArgumentException(R.Invalid_argument_combination); 717throw new ArgumentException(RH.Format(R.Collection_contains_null_element, "keys"));
System.Security (23)
system\security\cryptography\cryptographicattribute.cs (2)
211throw new ArgumentException(SecurityResources.GetResourceString("Arg_RankMultiDimNotSupported")); 215throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\dataprotection.cs (1)
243throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int) scope));
system\security\cryptography\pkcs\pkcs7recipient.cs (2)
146throw new ArgumentException(SecurityResources.GetResourceString("Arg_RankMultiDimNotSupported")); 150throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\pkcs\pkcs7signer.cs (3)
89throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 92throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 139throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value"));
system\security\cryptography\pkcs\pkcs9attribute.cs (1)
61throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Pkcs9_AttributeMismatch"));
system\security\cryptography\pkcs\recipientinfo.cs (2)
493throw new ArgumentException(SecurityResources.GetResourceString("Arg_RankMultiDimNotSupported")); 497throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\pkcs\signerinfo.cs (2)
819throw new ArgumentException(SecurityResources.GetResourceString("Arg_RankMultiDimNotSupported")); 823throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\x509\x509ui.cs (1)
93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "selectionFlag"));
system\security\cryptography\x509\x509utils.cs (1)
375throw new ArgumentException("pCertContext");
system\security\cryptography\xml\canonicalxml.cs (1)
55throw new ArgumentException("nodeList");
system\security\cryptography\xml\exccanonicalxml.cs (1)
49throw new ArgumentException("nodeList");
system\security\cryptography\xml\transform.cs (1)
598if (inputStream == null) throw new ArgumentException("obj");
system\security\permissions\dataprotectionpermission.cs (5)
26throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidPermissionState")); 68throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 83throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 100throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 150throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int)flags));
System.ServiceModel (2)
System\ServiceModel\MessageHeaderT.cs (1)
167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException("typedHeaderInstance"));
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
271throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(message));
System.ServiceModel.Web (6)
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (1)
19throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.DefaultContentFormatNotAllowedInProperty)));
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
440throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.UnknownWebEncodingFormat, contentType, format)));
System\ServiceModel\Description\WebHttpBehavior.cs (3)
1001throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.AtMostOneRequestBodyParameterAllowedForStream, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1012throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.NoOutOrRefStreamParametersAllowed, message.Body.Parts[i].Name, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1020throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.NoOutOrRefParametersAllowedWithStreamResult, declaringOperation.Name, declaringOperation.DeclaringContract.Name)));
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (1)
85throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.ParameterIsNotStreamType, data.GetType(), this.operationName, this.contractName, this.contractNs)));
System.Transactions (1)
System\Transactions\Transaction.cs (1)
1393throw new ArgumentException("distributedTransactionIdentifier");
System.Web (7)
ModelBinding\AssociatedMetadataProvider.cs (1)
51throw new ArgumentException(
State\OutOfProcStateClientManager.cs (4)
154throw new ArgumentException("stateConnectionString"); 197throw new ArgumentException("stateConnectionString"); 207throw new ArgumentException("stateConnectionString"); 219throw new ArgumentException("stateConnectionString");
UI\TargetFrameworkUtil.cs (2)
370throw new ArgumentException("At least one argument should be non-null"); 425throw new ArgumentException("At least one argument should be non-null");
System.Web.DataVisualization (195)
Common\Annotation\AnnotationBase.cs (2)
627throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture))); 679throw new ArgumentException(SR.ExceptionValueMustBeInRange("Height", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture)));
Common\Borders3D\Borders3D.cs (4)
624 throw (new ArgumentException( SR.ExceptionBorderTypeRegistryUnsupportedType( serviceType.ToString()) )); 648throw (new ArgumentException(SR.ExceptionBorderTypeNameIsNotUnique( name ) ) ); 664throw (new ArgumentException(SR.ExceptionBorderTypeHasNoInterface )); 681 throw( new ArgumentException( SR.ExceptionBorderTypeUnknown( name ) ) );
Common\ChartTypes\BoxPlotChart.cs (1)
1044 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.BoxPlot, "6")));
Common\ChartTypes\BubbleChart.cs (4)
239 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMaxSize"))); 249 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMinSize"))); 378 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMaxSize"))); 486 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMaxSize")));
Common\ChartTypes\ChartTypeRegistry.cs (4)
154throw (new ArgumentException(SR.ExceptionChartTypeRegistryUnsupportedType( serviceType.ToString() ) ) ); 178 throw( new ArgumentException( SR.ExceptionChartTypeNameIsNotUnique( name ) ) ); 194throw (new ArgumentException(SR.ExceptionChartTypeHasNoInterface )); 221 throw( new ArgumentException( SR.ExceptionChartTypeUnknown( name ) ) );
Common\ChartTypes\ErrorBarChart.cs (1)
1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture))));
Common\ChartTypes\PieChart.cs (4)
627throw (new ArgumentException(SR.ExceptionPieMinimumRelativePieSizeInvalid)); 753throw (new ArgumentException(SR.ExceptionPieRadiusInvalid)); 2451throw (new ArgumentException(SR.ExceptionPieRadiusInvalid)); 2463throw (new ArgumentException(SR.ExceptionPie3DLabelLineSizeInvalid));
Common\ChartTypes\PointChart.cs (1)
766throw (new ArgumentException(SR.ExceptionCustomAttributeValueInvalid(attrib, "LabelStyle")));
Common\ChartTypes\RadarChart.cs (1)
1133throw (new ArgumentException(SR.ExceptionCustomAttributeValueInvalid(attrib, "LabelStyle")));
Common\ChartTypes\StackedAreaChart.cs (1)
484throw (new ArgumentException(SR.ExceptionStackedAreaChartSeriesDataPointsNumberMismatch));
Common\ChartTypes\StockChart.cs (2)
345 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues("StockChart", "4"))); 1149 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues("StockChart", "4" )));
Common\Converters\ElementPositionConverter.cs (1)
130 throw(new ArgumentException( SR.ExceptionElementPositionConverter ));
Common\DataManager\DataManager.cs (1)
102 throw (new ArgumentException( SR.ExceptionDataManagerUnsupportedType(serviceType.ToString())));
Common\DataManager\DataPoint.cs (8)
1190 throw(new ArgumentException( SR.ExceptionColumnNameNotFound( fieldName) ) ); 1227 throw(new ArgumentException( SR.ExceptionColumnNameNotFound(fieldName))); 1284 throw(new ArgumentException( SR.ExceptionColumnNameNotFound(fieldName))); 1405 throw(new ArgumentException( SR.ExceptionColumnNameNotFound(field))); 1446 throw(new ArgumentException(SR.ExceptionColumnNameNotFound(field))); 1483 throw(new ArgumentException(SR.ExceptionColumnNameNotFound(field))); 2239throw (new ArgumentException( SR.ExceptionDataPointYValueStringFormat)); 2929 throw(new ArgumentException( SR.ExceptionAttributeUnableToDelete));
Common\DataManager\DataSeries.cs (1)
944 throw(new ArgumentException(SR.ExceptionDataSeriesPointTypeUnsupported( type.ToString() ) ));
Common\Formulas\FormulaHelpers.cs (3)
410throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1109throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1417throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(seriesField));
Common\Formulas\FormulaRegistry.cs (4)
79 throw( new ArgumentException( SR.ExceptionFormulaModuleNameIsNotUnique( name ) ) ); 98 throw( new ArgumentException( SR.ExceptionFormulaModuleHasNoInterface)); 117 throw (new ArgumentException( SR.ExceptionFormulaModuleRegistryUnsupportedType( serviceType.ToString()))); 130 throw( new ArgumentException( SR.ExceptionFormulaModuleNameUnknown( name ) ) );
Common\Formulas\GeneralFormulas.cs (2)
65throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 106throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray);
Common\Formulas\Oscillator.cs (8)
75 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresFourArrays); 99throw new ArgumentException(SR.ExceptionOscillatorObjectInvalidPeriod); 178throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 257 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 348throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 371throw new ArgumentException(SR.ExceptionOscillatorObjectInvalidPeriod); 456 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 568 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays);
Common\Formulas\PriceIndicators.cs (22)
159throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 163throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 167throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 337throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 341throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 345throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 478throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 482throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 486throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 561throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 565throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 569throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 711throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 715throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 719throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 816 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 858 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 905 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 984throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 988throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 1094throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 1102 throw new ArgumentException( SR.ExceptionPriceIndicatorsSameYNumber );
Common\Formulas\StatisticalAnalysis.cs (45)
172throw new ArgumentException(SR.ExceptionStatisticalAnalysesNotEnoughInputSeries); 179throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAnovaTest); 190throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 349 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 397 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 441 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 457throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 576 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 595throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanDifference); 610throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariance); 620throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariance); 630throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 734 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 750throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanDifference); 765throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 907 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 910throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariableRanges); 926throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanDifference); 941throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 1053throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidTValue); 1064throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1075throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidTailedParameter); 1123throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidTValue); 1134throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1145throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1184throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidZValue); 1227throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidProbabilityValue); 1238throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1286throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidProbabilityValue); 1297throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1308throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1352throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 1390throw new ArgumentException(SR.ExceptionStatisticalAnalysesNotEnoughDataPoints); 1397throw new ArgumentException(SR.ExceptionStatisticalAnalysesNotEnoughDataPoints); 1417throw new ArgumentException(SR.ExceptionStatisticalAnalysesCovariance); 1614throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidSeriesNumber); 1655throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariance); 1662throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidSeriesNumber); 1700throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidSeriesNumber); 1739throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1750throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1792throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidInputParameter); 1856throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMedianConditions); 1885throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanConditions); 1911throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVarianceConditions);
Common\Formulas\TechGeneralIndicators.cs (12)
99throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 103throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 107throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 148 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 225 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 280 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 370throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 419throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 475throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 559throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 637throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 727 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays);
Common\Formulas\VolumeIndicator.cs (7)
140 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresFourArrays); 162throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 246throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 303 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 355 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 425 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 489 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresFourArrays);
Common\General\BaseClasses.cs (1)
289throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(value, nameController.GetType().Name));
Common\General\BaseCollections.cs (6)
308throw new ArgumentException(SR.ExceptionNameNotFound(name, this.GetType().Name)); 324throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(name, this.GetType().Name)); 327throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(name, this.GetType().Name)); 412throw new ArgumentException(SR.ExceptionNameNotFound(name, this.GetType().Name)); 451throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(item.Name, this.GetType().Name)); 475throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(item.Name, this.GetType().Name));
Common\General\Chart.cs (5)
1590 throw (new ArgumentException( SR.ExceptionChartPictureUnsupportedType( serviceType.ToString() ) ) ); 2904 throw (new ArgumentException( SR.ExceptionBackSecondaryColorIsTransparent)); 3429throw new ArgumentException(SR.ExceptionChartOutOfLimits); 3433throw new ArgumentException(SR.ExceptionValueMustBeGreaterThan("Width", "0px")); 3437throw new ArgumentException(SR.ExceptionValueMustBeGreaterThan("Height", "0px"));
Common\General\ChartAreaAxes.cs (1)
1505throw (new ArgumentException(SR.ExceptionAxisSeriesNotAligned + e.Message));
Common\General\ChartSerializer.cs (1)
174 throw (new ArgumentException( SR.ExceptionChartSerializerUnsupportedType( serviceType.ToString())));
Common\General\DataManipulator.cs (10)
3036throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaUndefined)); 3060 throw(new ArgumentException(SR.ExceptionDataManipulatorYValuesIndexExceeded( formulaString ))); 3066throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaAlreadyDefined(formulaString))); 3111throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaUnsupported)); 3135 throw(new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaFormatInvalid( formulaString ))); 3162throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaFormatInvalid( formulaString ))); 3168throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaFormatInvalid( formulaString ))); 3201throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaNameInvalid(formulaString))); 3215throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingInputSeriesUndefined)); 3221throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingInputOutputSeriesNumberMismatch));
Common\General\FormulaData.cs (12)
395throw new ArgumentException(SR.ExceptionFormulaNotFound(formulaName)); 503throw new ArgumentException(SR.ExceptionFormulaDataItemsNumberMismatch); 509throw new ArgumentException(SR.ExceptionFormulaDataOutputSeriesNumberYValuesIncorrect); 612throw (new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(str))); 638throw (new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(str))); 644throw (new ArgumentException(SR.ExceptionFormulaDataSeriesNameNotFound(str))); 666throw (new ArgumentException(SR.ExceptionFormulaDataSeriesNameNotFoundInCollection(str))); 705throw new ArgumentException(SR.ExceptionFormulaDataItemsNumberMismatch2); 787throw new ArgumentException(SR.ExceptionFormulaYIndexInvalid); 826throw new ArgumentException(SR.ExceptionFormulaInputOutputSeriesMismatch); 1126throw new ArgumentException(SR.ExceptionFormulaDataSeriesAreNotAlignedDifferentDataPoints(series[seriesIndex].Name, series[seriesIndex + 1].Name)); 1134throw new ArgumentException(SR.ExceptionFormulaDataSeriesAreNotAlignedDifferentXValues(series[seriesIndex].Name, series[seriesIndex + 1].Name));
Common\General\ImageMap.cs (1)
237throw new ArgumentException(SR.ExceptionImageMapPolygonShapeInvalid);
Common\General\Label.cs (1)
323throw (new ArgumentException(SR.ExceptionAxisLabelsIntervalTypeUnsupported(intervalType.ToString())));
Common\General\Legend.cs (3)
4934throw (new ArgumentException(SR.ExceptionLegendDockedChartAreaIsMissing((string)legend.DockedToChartArea))); 5011 throw(new ArgumentException( SR.ExceptionLegendDockedChartAreaIsMissing( (string)legend.DockedToChartArea ) ) ); 5543throw (new ArgumentException(SR.ExceptionBackSecondaryColorIsTransparent));
Common\General\Title.cs (2)
2079throw (new ArgumentException(SR.ExceptionChartTitleDockedChartAreaIsMissing((string)title.DockedToChartArea))); 2181 throw(new ArgumentException( SR.ExceptionChartTitleDockedChartAreaIsMissing( (string)title.DockedToChartArea ) ) );
Common\Utilities\ColorPalette.cs (1)
364throw (new ArgumentException(SR.ExceptionPaletteIsEmpty));
Common\Utilities\CustomAttributesRegistry.cs (1)
435throw (new ArgumentException(SR.ExceptionCustomAttributesRegistryUnsupportedType( serviceType.ToString()) ));
Common\Utilities\ImageLoader.cs (2)
107 throw (new ArgumentException( SR.ExceptionImageLoaderUnsupportedType( serviceType.ToString()))); 326 throw(new ArgumentException( SR.ExceptionImageLoaderIncorrectImageUrl( imageURL ) ) );
Common\Utilities\KeywordsRegistry.cs (1)
143 throw (new ArgumentException( SR.ExceptionKeywordsRegistryUnsupportedType(serviceType.ToString())));
Common\Utilities\XmlSerializer.cs (4)
1231throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid)); 1237throw (new ArgumentException(SR.ExceptionChartSerializerClassNameUndefined)); 1241throw (new ArgumentException(SR.ExceptionChartSerializerPropertyNameUndefined)); 1247throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid));
WebForm\ChartWebControl.cs (3)
1703throw new ArgumentException(SR.ExceptionEnumInvalid(value.ToString())); 2361throw (new ArgumentException(SR.ExceptionChartWidthIsNotInPixels)); 2459throw (new ArgumentException(SR.ExceptionChartHeightIsNotInPixels));
WebForm\General\ChartHttpHandler.cs (1)
1210throw new ArgumentException(SR.ExceptionHttpHandlerUrlMissing);
System.Web.DynamicData (7)
DynamicData\MetaModel.cs (7)
181throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextTypeNotSupported, contextType.FullName)); 342throw new ArgumentException(String.Format( 351throw new ArgumentException(String.Format( 412throw new ArgumentException(String.Format( 454throw new ArgumentException(String.Format( 499throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 504throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
System.Web.Extensions (39)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (2)
149throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 243throw new ArgumentException(AtlasWeb.ServiceUriNotFound);
ClientServices\Providers\ClientRoleProvider.cs (2)
93throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 369throw new ArgumentException(AtlasWeb.ServiceUriNotFound);
ClientServices\Providers\ClientSettingsProvider.cs (2)
192throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 345throw new ArgumentException(AtlasWeb.ServiceUriNotFound);
Compilation\WCFModel\MetadataFile.cs (1)
362throw new ArgumentException(WCFModelStrings.ReferenceGroup_InvalidSourceId);
Compilation\WCFModel\MetadataSource.cs (4)
72throw new ArgumentException(WCFModelStrings.ReferenceGroup_EmptyProtocol); 76throw new ArgumentException(WCFModelStrings.ReferenceGroup_EmptyAddress); 84throw new ArgumentException(WCFModelStrings.ReferenceGroup_InvalidSourceId); 150throw new ArgumentException(WCFModelStrings.ReferenceGroup_InvalidSourceId);
Configuration\ConvertersCollection.cs (2)
83throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_UnknownType, converter.Type)); 87throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_NotJavaScriptConverter, t.Name));
Script\Serialization\JavaScriptObjectDeserializer.cs (15)
36throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, jsod._s.ToString())); 49throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_DepthLimitExceeded)); 87throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidArrayStart)); 105throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidArrayExpectComma)); 109throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidArrayExtraComma)); 112throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidArrayEnd)); 121throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_ExpectedOpenBrace)); 129throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidMemberName)); 138throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidObject)); 165throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidObject)); 170throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_InvalidObject)); 267throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, input)); 322throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_UnterminatedString)); 348throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_BadEscape)); 359throw new ArgumentException(_s.GetDebugString(AtlasWeb.JSON_StringNotQuoted));
Script\Serialization\JavaScriptSerializer.cs (2)
322throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, o.GetType().FullName)); 368throw new ArgumentException(AtlasWeb.JSON_DepthLimitExceeded);
Script\Services\ProxyGenerator.cs (2)
55throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 60throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
UI\ApplicationServiceManager.cs (1)
30throw new ArgumentException(AtlasWeb.AppService_MultiplePaths);
UI\PageRequestManager.cs (3)
226return new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_InvalidControlRegistration, control.ID)); 580throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 627throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID));
UI\ProfileServiceManager.cs (1)
204throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_UnknownProfileProperty, fullPropertyName));
UI\ServiceReference.cs (1)
73throw new ArgumentException(
UI\WebControls\DataPagerFieldCollection.cs (1)
181throw new ArgumentException(AtlasWeb.PagerFieldCollection_InvalidType);
System.Web.Services (4)
System\Web\Services\Configuration\ProtocolElementCollection.cs (1)
156throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Configuration\SoapExtensionTypeElementCollection.cs (1)
142throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Configuration\TypeElementCollection.cs (1)
143throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Configuration\WsiProfilesElementCollection.cs (1)
149throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System.Windows.Forms (22)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (2)
1784throw new ArgumentException("operations"); 1798throw new ArgumentException("operations");
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (2)
1246throw new ArgumentException("value"); 1260throw new ArgumentException("value");
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
2135throw new ArgumentException("value"); 2153throw new ArgumentException("value");
winforms\Managed\System\Resources\ResXDataNode.cs (3)
126throw (new ArgumentException("name")); 162throw (new ArgumentException("name")); 239throw (new ArgumentException("Name"));
winforms\Managed\System\Resources\ResXFileRef.cs (4)
249throw new ArgumentException("value"); 252throw new ArgumentException("value"); 257throw new ArgumentException("value"); 260throw new ArgumentException("value");
winforms\Managed\System\WinForms\Control.cs (1)
6159throw new ArgumentException("targetBounds");
winforms\Managed\System\WinForms\ListBox.cs (4)
3561throw new ArgumentException("item"); 3600throw new ArgumentException("item"); 3652throw new ArgumentException("value"); 3735throw new ArgumentException("value");
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
487throw new ArgumentException("value");
winforms\Managed\System\WinForms\TabControl.cs (3)
2272throw new ArgumentException("value"); 2374throw new ArgumentException("value"); 2567throw new ArgumentException("tabPage");
System.Windows.Forms.DataVisualization (191)
Common\Annotation\AnnotationBase.cs (2)
627throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture))); 679throw new ArgumentException(SR.ExceptionValueMustBeInRange("Height", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture)));
Common\Borders3D\Borders3D.cs (4)
624 throw (new ArgumentException( SR.ExceptionBorderTypeRegistryUnsupportedType( serviceType.ToString()) )); 648throw (new ArgumentException(SR.ExceptionBorderTypeNameIsNotUnique( name ) ) ); 664throw (new ArgumentException(SR.ExceptionBorderTypeHasNoInterface )); 681 throw( new ArgumentException( SR.ExceptionBorderTypeUnknown( name ) ) );
Common\ChartTypes\BoxPlotChart.cs (1)
1044 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.BoxPlot, "6")));
Common\ChartTypes\BubbleChart.cs (4)
239 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMaxSize"))); 249 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMinSize"))); 378 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMaxSize"))); 486 throw(new ArgumentException(SR.ExceptionCustomAttributeIsNotInRange0to100("BubbleMaxSize")));
Common\ChartTypes\ChartTypeRegistry.cs (4)
154throw (new ArgumentException(SR.ExceptionChartTypeRegistryUnsupportedType( serviceType.ToString() ) ) ); 178 throw( new ArgumentException( SR.ExceptionChartTypeNameIsNotUnique( name ) ) ); 194throw (new ArgumentException(SR.ExceptionChartTypeHasNoInterface )); 221 throw( new ArgumentException( SR.ExceptionChartTypeUnknown( name ) ) );
Common\ChartTypes\ErrorBarChart.cs (1)
1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture))));
Common\ChartTypes\PieChart.cs (4)
627throw (new ArgumentException(SR.ExceptionPieMinimumRelativePieSizeInvalid)); 753throw (new ArgumentException(SR.ExceptionPieRadiusInvalid)); 2451throw (new ArgumentException(SR.ExceptionPieRadiusInvalid)); 2463throw (new ArgumentException(SR.ExceptionPie3DLabelLineSizeInvalid));
Common\ChartTypes\PointChart.cs (1)
766throw (new ArgumentException(SR.ExceptionCustomAttributeValueInvalid(attrib, "LabelStyle")));
Common\ChartTypes\RadarChart.cs (1)
1133throw (new ArgumentException(SR.ExceptionCustomAttributeValueInvalid(attrib, "LabelStyle")));
Common\ChartTypes\StackedAreaChart.cs (1)
484throw (new ArgumentException(SR.ExceptionStackedAreaChartSeriesDataPointsNumberMismatch));
Common\ChartTypes\StockChart.cs (2)
345 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues("StockChart", "4"))); 1149 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues("StockChart", "4" )));
Common\Converters\ElementPositionConverter.cs (1)
130 throw(new ArgumentException( SR.ExceptionElementPositionConverter ));
Common\DataManager\DataManager.cs (1)
102 throw (new ArgumentException( SR.ExceptionDataManagerUnsupportedType(serviceType.ToString())));
Common\DataManager\DataPoint.cs (8)
1190 throw(new ArgumentException( SR.ExceptionColumnNameNotFound( fieldName) ) ); 1227 throw(new ArgumentException( SR.ExceptionColumnNameNotFound(fieldName))); 1284 throw(new ArgumentException( SR.ExceptionColumnNameNotFound(fieldName))); 1405 throw(new ArgumentException( SR.ExceptionColumnNameNotFound(field))); 1446 throw(new ArgumentException(SR.ExceptionColumnNameNotFound(field))); 1483 throw(new ArgumentException(SR.ExceptionColumnNameNotFound(field))); 2239throw (new ArgumentException( SR.ExceptionDataPointYValueStringFormat)); 2929 throw(new ArgumentException( SR.ExceptionAttributeUnableToDelete));
Common\DataManager\DataSeries.cs (1)
944 throw(new ArgumentException(SR.ExceptionDataSeriesPointTypeUnsupported( type.ToString() ) ));
Common\Formulas\FormulaHelpers.cs (3)
410throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1109throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1417throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(seriesField));
Common\Formulas\FormulaRegistry.cs (4)
79 throw( new ArgumentException( SR.ExceptionFormulaModuleNameIsNotUnique( name ) ) ); 98 throw( new ArgumentException( SR.ExceptionFormulaModuleHasNoInterface)); 117 throw (new ArgumentException( SR.ExceptionFormulaModuleRegistryUnsupportedType( serviceType.ToString()))); 130 throw( new ArgumentException( SR.ExceptionFormulaModuleNameUnknown( name ) ) );
Common\Formulas\GeneralFormulas.cs (2)
65throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 106throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray);
Common\Formulas\Oscillator.cs (8)
75 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresFourArrays); 99throw new ArgumentException(SR.ExceptionOscillatorObjectInvalidPeriod); 178throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 257 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 348throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 371throw new ArgumentException(SR.ExceptionOscillatorObjectInvalidPeriod); 456 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 568 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays);
Common\Formulas\PriceIndicators.cs (22)
159throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 163throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 167throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 337throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 341throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 345throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 478throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 482throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 486throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 561throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 565throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 569throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 711throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 715throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 719throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 816 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 858 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 905 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 984throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 988throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 1094throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 1102 throw new ArgumentException( SR.ExceptionPriceIndicatorsSameYNumber );
Common\Formulas\StatisticalAnalysis.cs (45)
172throw new ArgumentException(SR.ExceptionStatisticalAnalysesNotEnoughInputSeries); 179throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAnovaTest); 190throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 349 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 397 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 441 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 457throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 576 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 595throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanDifference); 610throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariance); 620throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariance); 630throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 734 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 750throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanDifference); 765throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 907 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 910throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariableRanges); 926throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanDifference); 941throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 1053throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidTValue); 1064throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1075throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidTailedParameter); 1123throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidTValue); 1134throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1145throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1184throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidZValue); 1227throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidProbabilityValue); 1238throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1286throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidProbabilityValue); 1297throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1308throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1352throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidAlphaValue); 1390throw new ArgumentException(SR.ExceptionStatisticalAnalysesNotEnoughDataPoints); 1397throw new ArgumentException(SR.ExceptionStatisticalAnalysesNotEnoughDataPoints); 1417throw new ArgumentException(SR.ExceptionStatisticalAnalysesCovariance); 1614throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidSeriesNumber); 1655throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVariance); 1662throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidSeriesNumber); 1700throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidSeriesNumber); 1739throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1750throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidDegreeOfFreedom); 1792throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidInputParameter); 1856throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMedianConditions); 1885throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidMeanConditions); 1911throw new ArgumentException(SR.ExceptionStatisticalAnalysesInvalidVarianceConditions);
Common\Formulas\TechGeneralIndicators.cs (12)
99throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 103throw new ArgumentException(SR.ExceptionPriceIndicatorsSameXYNumber); 107throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 148 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 225 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays); 280 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 370throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 419throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 475throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 559throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 637throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresOneArray); 727 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresThreeArrays);
Common\Formulas\VolumeIndicator.cs (7)
140 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresFourArrays); 162throw new ArgumentException(SR.ExceptionPriceIndicatorsNotEnoughPoints); 246throw new ArgumentException(SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 303 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 355 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 425 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresTwoArrays); 489 throw new ArgumentException( SR.ExceptionPriceIndicatorsFormulaRequiresFourArrays);
Common\General\BaseClasses.cs (1)
289throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(value, nameController.GetType().Name));
Common\General\BaseCollections.cs (6)
308throw new ArgumentException(SR.ExceptionNameNotFound(name, this.GetType().Name)); 324throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(name, this.GetType().Name)); 327throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(name, this.GetType().Name)); 412throw new ArgumentException(SR.ExceptionNameNotFound(name, this.GetType().Name)); 451throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(item.Name, this.GetType().Name)); 475throw new ArgumentException(SR.ExceptionNameAlreadyExistsInCollection(item.Name, this.GetType().Name));
Common\General\Chart.cs (5)
1590 throw (new ArgumentException( SR.ExceptionChartPictureUnsupportedType( serviceType.ToString() ) ) ); 2904 throw (new ArgumentException( SR.ExceptionBackSecondaryColorIsTransparent)); 3429throw new ArgumentException(SR.ExceptionChartOutOfLimits); 3433throw new ArgumentException(SR.ExceptionValueMustBeGreaterThan("Width", "0px")); 3437throw new ArgumentException(SR.ExceptionValueMustBeGreaterThan("Height", "0px"));
Common\General\ChartAreaAxes.cs (1)
1505throw (new ArgumentException(SR.ExceptionAxisSeriesNotAligned + e.Message));
Common\General\ChartSerializer.cs (1)
174 throw (new ArgumentException( SR.ExceptionChartSerializerUnsupportedType( serviceType.ToString())));
Common\General\DataManipulator.cs (10)
3036throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaUndefined)); 3060 throw(new ArgumentException(SR.ExceptionDataManipulatorYValuesIndexExceeded( formulaString ))); 3066throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaAlreadyDefined(formulaString))); 3111throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaUnsupported)); 3135 throw(new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaFormatInvalid( formulaString ))); 3162throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaFormatInvalid( formulaString ))); 3168throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaFormatInvalid( formulaString ))); 3201throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingFormulaNameInvalid(formulaString))); 3215throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingInputSeriesUndefined)); 3221throw (new ArgumentException(SR.ExceptionDataManipulatorGroupingInputOutputSeriesNumberMismatch));
Common\General\FormulaData.cs (12)
395throw new ArgumentException(SR.ExceptionFormulaNotFound(formulaName)); 503throw new ArgumentException(SR.ExceptionFormulaDataItemsNumberMismatch); 509throw new ArgumentException(SR.ExceptionFormulaDataOutputSeriesNumberYValuesIncorrect); 612throw (new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(str))); 638throw (new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(str))); 644throw (new ArgumentException(SR.ExceptionFormulaDataSeriesNameNotFound(str))); 666throw (new ArgumentException(SR.ExceptionFormulaDataSeriesNameNotFoundInCollection(str))); 705throw new ArgumentException(SR.ExceptionFormulaDataItemsNumberMismatch2); 787throw new ArgumentException(SR.ExceptionFormulaYIndexInvalid); 826throw new ArgumentException(SR.ExceptionFormulaInputOutputSeriesMismatch); 1126throw new ArgumentException(SR.ExceptionFormulaDataSeriesAreNotAlignedDifferentDataPoints(series[seriesIndex].Name, series[seriesIndex + 1].Name)); 1134throw new ArgumentException(SR.ExceptionFormulaDataSeriesAreNotAlignedDifferentXValues(series[seriesIndex].Name, series[seriesIndex + 1].Name));
Common\General\ImageMap.cs (1)
237throw new ArgumentException(SR.ExceptionImageMapPolygonShapeInvalid);
Common\General\Label.cs (1)
323throw (new ArgumentException(SR.ExceptionAxisLabelsIntervalTypeUnsupported(intervalType.ToString())));
Common\General\Legend.cs (3)
4934throw (new ArgumentException(SR.ExceptionLegendDockedChartAreaIsMissing((string)legend.DockedToChartArea))); 5011 throw(new ArgumentException( SR.ExceptionLegendDockedChartAreaIsMissing( (string)legend.DockedToChartArea ) ) ); 5543throw (new ArgumentException(SR.ExceptionBackSecondaryColorIsTransparent));
Common\General\Title.cs (2)
2079throw (new ArgumentException(SR.ExceptionChartTitleDockedChartAreaIsMissing((string)title.DockedToChartArea))); 2181 throw(new ArgumentException( SR.ExceptionChartTitleDockedChartAreaIsMissing( (string)title.DockedToChartArea ) ) );
Common\Utilities\ColorPalette.cs (1)
364throw (new ArgumentException(SR.ExceptionPaletteIsEmpty));
Common\Utilities\CustomAttributesRegistry.cs (1)
435throw (new ArgumentException(SR.ExceptionCustomAttributesRegistryUnsupportedType( serviceType.ToString()) ));
Common\Utilities\ImageLoader.cs (2)
107 throw (new ArgumentException( SR.ExceptionImageLoaderUnsupportedType( serviceType.ToString()))); 326 throw(new ArgumentException( SR.ExceptionImageLoaderIncorrectImageUrl( imageURL ) ) );
Common\Utilities\KeywordsRegistry.cs (1)
143 throw (new ArgumentException( SR.ExceptionKeywordsRegistryUnsupportedType(serviceType.ToString())));
Common\Utilities\XmlSerializer.cs (4)
1231throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid)); 1237throw (new ArgumentException(SR.ExceptionChartSerializerClassNameUndefined)); 1241throw (new ArgumentException(SR.ExceptionChartSerializerPropertyNameUndefined)); 1247throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid));
System.Workflow.Activities (23)
Common\CompModHelpers.cs (1)
453throw new ArgumentException("inputName");
Common\DelegateTypeInfo.cs (1)
67throw new ArgumentException("delegateClass");
EventHandlers.cs (2)
317throw new ArgumentException("sender"); 395throw new ArgumentException("sender");
Executors\Helpers.cs (1)
23throw new ArgumentException("ownerActivity");
Executors\InboundActivityHelper.cs (1)
49throw new ArgumentException(SR.GetString(SR.Error_InvalidEventMessage, activity.QualifiedName));
LocalService\CorrelationResolver.cs (2)
35throw new ArgumentException(SR.GetString(SR.Error_EventNameMissing)); 48throw new ArgumentException(SR.GetString(SR.Error_EventNameMissing));
LocalService\CorrelationService.cs (1)
101throw new ArgumentException("activity");
LocalService\CorrelationTokenInvalidatedHandler.cs (2)
37throw new ArgumentException("sender"); 39throw new ArgumentException("dataChangeEventArgs");
LocalService\ExternalDataExchangeService.cs (2)
72throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
Role\ADRoleFactory.cs (1)
95throw new ArgumentException(SR.GetString(SR.Error_NoMatchingActiveDirectoryEntry));
Rules\ConditionChanges.cs (2)
200throw new ArgumentException(message); 426throw new ArgumentException(message);
Rules\DeclarativeConditionsCollection.cs (2)
61throw new ArgumentException(message); 102throw new ArgumentException(message);
Rules\Design\LogicalExpressionEditor.cs (2)
54throw new ArgumentException(message); 220throw new ArgumentException(message);
Rules\RuleSetCollection.cs (2)
41throw new ArgumentException(message); 76throw new ArgumentException(message);
Sequence.cs (1)
123throw new ArgumentException("sender");
System.Workflow.ComponentModel (41)
AuthoringOM\Activity.cs (3)
50throw new ArgumentException(SR.GetString(SR.Error_WrongParamForActivityResolveEventArgs)); 1988throw new ArgumentException(SR.GetString(SR.Error_InvalidServiceProvider, "provider")); 2279throw new ArgumentException("definitionActivity");
AuthoringOM\ActivityExecutionContext.cs (1)
693throw new ArgumentException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_DOIsNotAnActivity));
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
606throw new ArgumentException(TypeSystemSR.GetString("Error_TypeIsNotArray")); 656throw new ArgumentException(TypeSystemSR.GetString("Error_GetMemberBindingOptions"));
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
171argumentValues[index] = new ArgumentException(SR.GetString(SR.Error_TypeSystemAttributeArgument));
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
794throw new ArgumentException(TypeSystemSR.GetString("Error_TypeIsNotEnum"));
AuthoringOM\Compiler\XomlCompiler.cs (1)
601throw new ArgumentException("filename");
AuthoringOM\DependencyObject.cs (1)
404throw new ArgumentException("dependencyEvent");
AuthoringOM\Design\ComponentSerializationService.cs (1)
170throw new ArgumentException("value");
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
431throw new ArgumentException("compositeActivityDesigner");
AuthoringOM\Design\Connector.cs (2)
218throw new ArgumentException(DR.GetString(DR.Error_Connector1)); 1848throw new ArgumentException(DR.GetString(DR.Error_Connector2));
AuthoringOM\Design\DesignerHelpers.cs (2)
1363throw new ArgumentException("activity"); 1577throw new ArgumentException("component");
AuthoringOM\Design\DesignerWidgets.cs (5)
1451throw new ArgumentException(DR.GetString(DR.InvalidDockingStyle, "dockStyle")); 2050throw new ArgumentException(DR.GetString(DR.Error_TabExistsWithSameId)); 2070throw new ArgumentException(DR.GetString(DR.ButtonInformationMissing)); 2082throw new ArgumentException(DR.GetString(DR.ButtonInformationMissing)); 2099throw new ArgumentException(DR.GetString(DR.ButtonInformationMissing));
AuthoringOM\Design\FreeFormDesigner.cs (5)
439throw new ArgumentException(DR.GetString(DR.Error_AddConnector2)); 484throw new ArgumentException(DR.GetString(DR.InvalidDesignerSpecified, "containedDesigner")); 500throw new ArgumentException(DR.GetString(DR.InvalidDesignerSpecified, "containedDesigner")); 516throw new ArgumentException(DR.GetString(DR.InvalidDesignerSpecified, "containedDesigner")); 535throw new ArgumentException(DR.GetString(DR.InvalidDesignerSpecified, "containedDesigner"));
AuthoringOM\Design\IdentifierCreationService.cs (1)
97throw new ArgumentException(SR.GetString(SR.DuplicateActivityIdentifier, identifier));
AuthoringOM\Design\PropertyDescriptors.cs (1)
104throw new ArgumentException(SR.GetString(SR.Error_ActivityNameExist, name));
AuthoringOM\Design\SecondaryViewProvider.cs (1)
40throw new ArgumentException("Component can not be null!");
AuthoringOM\Design\WorkflowLayouts.cs (1)
718throw new ArgumentException("graphics");
AuthoringOM\Design\WorkflowView.cs (1)
789throw new ArgumentException(SR.GetString(SR.Error_EmptyToolTipRectangle));
AuthoringOM\Filters\CompensationHandlingFilter.cs (1)
32throw new ArgumentException("sender");
AuthoringOM\Filters\FaultHandlingFilter.cs (1)
70throw new ArgumentException("sender");
AuthoringOM\Filters\TransactionFilter.cs (2)
43throw new ArgumentException("activity"); 58throw new ArgumentException("sender");
AuthoringOM\Serializer\ActivitySurrogateSelector.cs (3)
128throw new ArgumentException("obj"); 160throw new ArgumentException("context"); 178throw new ArgumentException("context");
AuthoringOM\Serializer\DependencyStoreSurrogate.cs (1)
20throw new ArgumentException("obj");
Shared\CompModHelpers.cs (1)
451throw new ArgumentException("inputName");
Shared\DelegateTypeInfo.cs (1)
66throw new ArgumentException("delegateClass");
System.Workflow.Runtime (30)
Hosting\DbResourceAllocator.cs (2)
127throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 371throw new ArgumentException(
Hosting\DefaultWorkflowSchedulerService.cs (5)
69throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, "null")); 72throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, key)); 103throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 116throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 118throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId"));
Hosting\ManualWorkflowSchedulerService.cs (7)
87throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, "null")); 90throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, key)); 108throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 130throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 132throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 144throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 247throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId"));
PerformanceCounterManager.cs (2)
343throw new ArgumentException("sender"); 356throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString()));
System\Activities\Statements\Interop.cs (1)
252throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropArgumentDirectionMismatch, propertyInName, propertyOutName));
Tracking.cs (6)
104throw new ArgumentException("sender"); 616throw new ArgumentException("sender"); 661throw new ArgumentException("sender is not WorkflowExecutor"); 760throw new ArgumentException("sender"); 786throw new ArgumentException("sender"); 802throw new ArgumentException("sender");
WorkflowDefinitionDispenser.cs (1)
97throw new ArgumentException("xomlHashCode");
WorkflowExecutor.cs (2)
382throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.SemanticErrorInvalidNamedParameter, ((Activity)this.WorkflowDefinition).Name, arg)); 3146throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "dependencyObject", typeof(Activity).ToString()));
WorkflowInstance.cs (1)
33throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "instanceId"));
WorkflowRuntime.cs (3)
255throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "instanceId")); 1189throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString())); 1213throw new ArgumentException("sender");
System.WorkflowServices (3)
System\Workflow\Activities\ReceiveActivity.cs (3)
436new ArgumentException(SR2.GetString(SR2.Error_ArgumentTypeInvalid, 1566new ArgumentException(SR2.GetString(SR2.Error_ArgumentTypeInvalid, "sender", typeof(WorkflowQueue)))); 1629new ArgumentException(SR2.GetString(SR2.Error_ArgumentTypeInvalid, "sender", typeof(ActivityExecutionContext))));
System.Xml (1)
System\Xml\Core\XmlTextReaderImpl.cs (1)
7330throw new ArgumentException( ( incReadDecoder is IncrementalReadCharsDecoder ) ? "count" : "len" );
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
1288throw new ArgumentException(name);
WsatConfig (1)
Configuration\StdRegProviderWrapper.cs (1)
74throw new ArgumentException("remoteHive");
WsatUI (1)
Configuration\StdRegProviderWrapper.cs (1)
74throw new ArgumentException("remoteHive");