9 types derived from ArgumentException
mscorlib (6)
system\argumentnullexception.cs (1)
27[Serializable] public class ArgumentNullException : ArgumentException
system\argumentoutofrangeexception.cs (1)
29public class ArgumentOutOfRangeException : ArgumentException, ISerializable {
system\duplicatewaitobjectexception.cs (1)
27public class DuplicateWaitObjectException : ArgumentException {
system\globalization\culturenotfoundexception.cs (1)
16public class CultureNotFoundException : ArgumentException, ISerializable
system\text\decoderexceptionfallback.cs (1)
108public sealed class DecoderFallbackException : ArgumentException
system\text\encoderexceptionfallback.cs (1)
109public sealed class EncoderFallbackException : ArgumentException
System (2)
compmod\system\componentmodel\InvalidAsynchronousStateException.cs (1)
20public class InvalidAsynchronousStateException : ArgumentException {
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
20public class InvalidEnumArgumentException : ArgumentException {
System.IO.Log (1)
System\IO\Log\ReservationNotFoundException.cs (1)
10public class ReservationNotFoundException : ArgumentException
3009 instantiations of ArgumentException
mscorlib (1582)
microsoft\win32\registry.cs (1)
132throw new ArgumentException(Environment.GetResourceString("Arg_RegInvalidKeyName", "keyName"));
microsoft\win32\registrykey.cs (7)
687throw new ArgumentException(Environment.GetResourceString("Arg_RegKeyOutOfRange")); 698throw new ArgumentException(Environment.GetResourceString("Arg_DllInitFailure")); 705throw new ArgumentException(Environment.GetResourceString("Arg_RegKeyNoRemoteConnect", machineName)); 1165throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)options), "options"); 1463throw new ArgumentException(Environment.GetResourceString("Arg_RegValStrLenBug")); 1467throw new ArgumentException(Environment.GetResourceString("Arg_RegBadKeyKind"), "valueKind"); 1617throw new ArgumentException(Environment.GetResourceString("Arg_RegSetBadArrType", value.GetType().Name));
microsoft\win32\win32native.cs (1)
344throw new ArgumentException(Environment.GetResourceString("Argument_InvalidREG_TZI_FORMAT"), "bytes");
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\activator.cs (2)
104throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"type"); 190throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "type");
system\AggregateException.cs (2)
168throw new ArgumentException(Environment.GetResourceString("AggregateException_ctor_InnerExceptionNull")); 247throw new ArgumentException(Environment.GetResourceString("AggregateException_ctor_InnerExceptionNull"));
system\AppContext\AppContext.cs (2)
100throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "switchName"); 204throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "switchName");
system\appdomain.cs (5)
164throw new ArgumentException(Environment.GetResourceString("Arg_MustBeStatic"), 3761throw new ArgumentException( Environment.GetResourceString( "Argument_AbsolutePathRequired" ) ); 3786default: throw new ArgumentException(Environment.GetResourceString("Argument_UnrecognizedLoaderOptimization"), "LOADER_OPTIMIZATION"); 3937throw new ArgumentException(Environment.GetResourceString("ArgumentException_NotAllCustomSortingFuncsDefined")); 4775throw new ArgumentException(Environment.GetResourceString("Arg_MustBeTrue"));
system\AppDomainSetup.cs (3)
356throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 648throw new ArgumentException(Environment.GetResourceString("Argument_NPMSInvalidName"), "functionName"); 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\array.cs (33)
85throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"elementType"); 103throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"elementType"); 129throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "elementType"); 145throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 152throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "elementType"); 172throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 201throw new ArgumentException(Environment.GetResourceString("Arg_RanksAndBounds")); 203throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 210throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "elementType"); 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")); 760throw new ArgumentException(Environment.GetResourceString("ArgumentException_OtherNotArrayOfCorrectLength"), "other"); 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 (11)
464throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 519throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 576throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 579throw new ArgumentException(Environment.GetResourceString("Argument_InvalidParameterInfo"), "element"); 596throw new ArgumentException(Environment.GetResourceString("Argument_InvalidParameterInfo"), "element"); 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\buffer.cs (3)
170throw new ArgumentException(Environment.GetResourceString("Arg_MustBePrimArray"), "array"); 199throw new ArgumentException(Environment.GetResourceString("Arg_MustBePrimArray"), "array"); 230throw new ArgumentException(Environment.GetResourceString("Arg_MustBePrimArray"), "array");
system\byte.cs (1)
61throw new ArgumentException(Environment.GetResourceString("Arg_MustBeByte"));
system\char.cs (4)
137throw new ArgumentException (Environment.GetResourceString("Arg_MustBeChar")); 987throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHighSurrogate", index), "s"); 991throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHighSurrogate", index), "s"); 995throw new ArgumentException(Environment.GetResourceString("Argument_InvalidLowSurrogate", index), "s");
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 (9)
79throw new ArgumentException(Environment.GetResourceString("Argument_ArrayTooLarge", BitsPerByte), "bytes"); 148throw new ArgumentException(Environment.GetResourceString("Argument_ArrayTooLarge", BitsPerInt32), "values"); 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 (9)
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")); 1726throw new ArgumentException(GetResource("ConcurrentDictionary_ArrayIncorrectType"), "array");
system\Collections\Concurrent\ConcurrentStack.cs (1)
490throw new ArgumentException(Environment.GetResourceString("ConcurrentStack_PushPopRange_InvalidCount"));
system\collections\emptyreadonlydictionaryinternal.cs (6)
44throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 50throw new ArgumentException( Environment.GetResourceString("ArgumentOutOfRange_Index"), "index"); 90throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key"); 93throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 122throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key" ); 125throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value");
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 (9)
58throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key"); 61throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 145throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key" ); 148throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 156throw new ArgumentException(Environment.GetResourceString("Argument_AddingDuplicate__", node.key, key)); 202throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 208throw new ArgumentException( Environment.GetResourceString("ArgumentOutOfRange_Index"), "index"); 337throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 342throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_Index"), "index");
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 (3)
721throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor")); 862throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor"), "sourceForeColor"); 864throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor"), "sourceBackColor");
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 (15)
162throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 209throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 274throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 283throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 299throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 324throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 344throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 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")); 735throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeBadBinaryData"), "dateData"); 749throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeBadBinaryData"), "dateData"); 1408throw new ArgumentException(Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 1415throw new ArgumentException(Environment.GetResourceString("Arg_ArgumentOutOfRangeException"));
system\datetimeoffset.cs (7)
88throw new ArgumentException(Environment.GetResourceString("Argument_OffsetLocalMismatch"), "offset"); 93throw new ArgumentException(Environment.GetResourceString("Argument_OffsetUtcMismatch"), "offset"); 458throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDateTimeOffset")); 786throw new ArgumentException(Environment.GetResourceString("Argument_OffsetPrecision"), "offset"); 812throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeStyles"), parameterName); 815throw new ArgumentException(Environment.GetResourceString("Argument_ConflictingDateTimeStyles"), parameterName); 818throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeOffsetInvalidDateTimeStyles"), parameterName);
system\decimal.cs (4)
293throw new ArgumentException(Environment.GetResourceString("Arg_DecBitCtor")); 341throw new ArgumentException(Environment.GetResourceString("Arg_DecBitCtor")); 409throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDecimal")); 791throw new ArgumentException(Environment.GetResourceString("Argument_InvalidEnumValue", mode, "MidpointRounding"), "mode");
system\defaultbinder.cs (4)
43throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "match"); 528throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"types"); 534throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "match"); 610throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "match");
system\delegate.cs (26)
65throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 78throw new ArgumentException(Environment.GetResourceString("Arg_UnboundGenParam"), "target"); 86throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "target"); 306throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTypeMis")); 384throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type"); 386throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type"); 412throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 440throw new ArgumentException(Environment.GetResourceString("Arg_UnboundGenParam"), "target"); 448throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type"); 450throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "target"); 452throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type"); 474throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 495throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type"); 499throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "method"); 502throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "type"); 521throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 546throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type"); 550throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "method"); 553throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "type"); 569throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 618throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type"); 621throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type"); 635throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 653throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "method"); 656throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type"); 671throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth"));
system\delegateserializationholder.cs (1)
37throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type");
system\deployment\cmsutils.cs (2)
27throw new ArgumentException(Environment.GetResourceString("Argument_NoMain")); 120throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)versionMatch), "versionMatch");
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\contracts\contractsbcl.cs (2)
105throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", failureKind), "failureKind"); 343throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", failureKind), "failureKind");
system\diagnostics\eventing\eventprovider.cs (1)
158throw new ArgumentException(Win32Native.GetMessage(unchecked((int)status)));
system\diagnostics\eventing\eventsource.cs (13)
419throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeName"), "eventSourceType"); 505throw new ArgumentException(Environment.GetResourceString("EventSource_InvalidCommand"), "command"); 1480throw new ArgumentException(Environment.GetResourceString("TraitEven"), "traits"); 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")); 3574throw new ArgumentException(msg, exception); 3960throw new ArgumentException(Environment.GetResourceString("EventSource_InvalidEventFormat"), "settings"); 6322throw new ArgumentException(msg);
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
818throw new ArgumentException(Environment.GetResourceString("EventSource_NonCompliantTypeError", dataType.Name));
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (4)
751throw new ArgumentException(Environment.GetResourceString("UnknownEtwTrait", etwTrait), "traits"); 791throw new ArgumentException(Environment.GetResourceString("EvenHexDigits"), "traits"); 800throw new ArgumentException(Environment.GetResourceString("IllegalValue", value), "traits"); 816throw new ArgumentException(Environment.GetResourceString("BadHexDigit", c), "traits");
system\double.cs (1)
130throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDouble"));
system\enum.cs (33)
315return new ArgumentException(Environment.GetResourceString(m_failureMessageID)); 321return new ArgumentException(Environment.GetResourceString(m_failureMessageID, m_failureMessageFormatArgument)); 328return new ArgumentException(Environment.GetResourceString("Arg_EnumValueNotFound")); 375throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 378throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 552throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value"); 590throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value"); 612throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 623throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 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())); 1051throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1055throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1066throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1070throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1081throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1085throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1096throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1100throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1112throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1116throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1128throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1132throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1143throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1147throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1159throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1163throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1173throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1177throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType"); 1187throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1191throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "enumType");
system\environment.cs (15)
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)); 937throw new ArgumentException(Environment.GetResourceString("Argument_StringZeroLength"), "variable"); 941throw new ArgumentException(Environment.GetResourceString("Argument_StringFirstCharIsZero"), "variable"); 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 (16)
149throw new ArgumentException(Environment.GetResourceString("Argument_OnlyMscorlib")); 177throw new ArgumentException(Environment.GetResourceString("Argument_OnlyMscorlib")); 200throw new ArgumentException(Environment.GetResourceString("Argument_CustomCultureCannotBePassedByNumber", "culture")); 420throw new ArgumentException(Environment.GetResourceString("Argument_CompareOptionOrdinal"), "options"); 427throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 510throw new ArgumentException(Environment.GetResourceString("Argument_CompareOptionOrdinal"), 516throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 594throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 647throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 794throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 847throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 969throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 1021throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 1096throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 1117throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "source"); 1251throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options");
system\globalization\cultureinfo.cs (1)
680throw new ArgumentException(Environment.GetResourceString("Argument_InvalidResourceCultureName", cultureName));
system\globalization\datetimeformatinfo.cs (13)
1405throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 7), "value"); 1434throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 7), "value"); 1459throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 7), "value"); 1484throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 13), "value"); 1510throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 13), "value"); 1753throw new ArgumentException(Environment.GetResourceString("Format_BadFormatSpecifier"), "format"); 2057throw new ArgumentException(Environment.GetResourceString("Arg_ArrayZeroError"), "patterns"); 2099throw new ArgumentException(Environment.GetResourceString("Format_BadFormatSpecifier"), "format"); 2127throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 13), "value"); 2155throw new ArgumentException(Environment.GetResourceString("Argument_InvalidArrayLength", 13), "value"); 2229throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeStyles"), parameterName); 2232throw new ArgumentException(Environment.GetResourceString("Argument_ConflictingDateTimeStyles"), parameterName); 2237throw new ArgumentException(Environment.GetResourceString("Argument_ConflictingDateTimeRoundtripStyles"), parameterName);
system\globalization\encodingdataitem.cs (1)
66throw new ArgumentException("pStrings");
system\globalization\encodingtable.cs (1)
95throw new ArgumentException(
system\globalization\gregoriancalendarhelper.cs (2)
544throw new ArgumentException(Environment.GetResourceString("Argument_NoEra")); 558throw new ArgumentException(Environment.GetResourceString("Argument_NoEra"));
system\globalization\idnmapping.cs (46)
136throw new ArgumentException( 149throw new ArgumentException(Environment.GetResourceString( 169throw new ArgumentException(Environment.GetResourceString( 175throw new ArgumentException( 190throw new ArgumentException(Environment.GetResourceString("Argument_IdnIllegalName"), "unicode"); 193throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex"), "unicode"); 204throw new ArgumentException(Environment.GetResourceString("Argument_IdnIllegalName"), "unicode"); 207throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex"), "unicode"); 243throw new ArgumentException("ascii", 260throw new ArgumentException(Environment.GetResourceString( 279throw new ArgumentException(Environment.GetResourceString("Argument_IdnIllegalName"), "ascii"); 282throw new ArgumentException(Environment.GetResourceString("Argument_IdnBadPunycode"), "ascii"); 293throw new ArgumentException(Environment.GetResourceString("Argument_IdnIllegalName"), "ascii"); 296throw new ArgumentException(Environment.GetResourceString("Argument_IdnBadPunycode"), "ascii"); 341throw new ArgumentException(Environment.GetResourceString( 353throw new ArgumentException( 367throw new ArgumentException(Environment.GetResourceString( 372throw new ArgumentException(Environment.GetResourceString( 393throw new ArgumentException(Environment.GetResourceString( 398throw new ArgumentException(Environment.GetResourceString( 417throw new ArgumentException(Environment.GetResourceString( 471throw new ArgumentException(Environment.GetResourceString( 563throw new ArgumentException(Environment.GetResourceString( 586throw new ArgumentException(Environment.GetResourceString( 616throw new ArgumentException(Environment.GetResourceString( 637throw new ArgumentException(Environment.GetResourceString( 646throw new ArgumentException(Environment.GetResourceString( 675throw new ArgumentException(Environment.GetResourceString( 762throw new ArgumentException(Environment.GetResourceString( 775throw new ArgumentException(Environment.GetResourceString( 811throw new ArgumentException(Environment.GetResourceString( 817throw new ArgumentException(Environment.GetResourceString( 841throw new ArgumentException(Environment.GetResourceString( 850throw new ArgumentException(Environment.GetResourceString( 884throw new ArgumentException(Environment.GetResourceString( 902throw new ArgumentException(Environment.GetResourceString( 941throw new ArgumentException(Environment.GetResourceString( 949throw new ArgumentException(Environment.GetResourceString( 958throw new ArgumentException(Environment.GetResourceString( 971throw new ArgumentException(Environment.GetResourceString( 987throw new ArgumentException(Environment.GetResourceString( 1005throw new ArgumentException(Environment.GetResourceString( 1050throw new ArgumentException(Environment.GetResourceString( 1062throw new ArgumentException(Environment.GetResourceString( 1069throw new ArgumentException(Environment.GetResourceString( 1082throw new ArgumentException(Environment.GetResourceString(
system\globalization\numberformatinfo.cs (12)
169throw new ArgumentException(Environment.GetResourceString("Argument_EmptyDecString")); 191throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNativeDigitCount"), propertyName); 207throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNativeDigitValue"), propertyName); 210throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNativeDigitValue"), propertyName); 218throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNativeDigitValue"), propertyName); 234throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDigitSubstitution"), propertyName); 370throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGroupSize"), propName); 374throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGroupSize"), propName); 821throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNumberStyles"), "style"); 826throw new ArgumentException(Environment.GetResourceString("Arg_InvalidHexStyle")); 834throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNumberStyles"), "style"); 838throw new ArgumentException(Environment.GetResourceString("Arg_HexStyleNotSupported"));
system\globalization\regioninfo.cs (8)
72throw new ArgumentException(Environment.GetResourceString("Argument_NoRegionInvariantCulture")); 86throw new ArgumentException( 94throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNeutralRegionName", name), "name"); 107throw new ArgumentException(Environment.GetResourceString("Argument_NoRegionInvariantCulture")); 113throw new ArgumentException(Environment.GetResourceString("Argument_CultureIsNeutral", culture), "culture"); 119throw new ArgumentException(Environment.GetResourceString("Argument_CustomCultureCannotBePassedByNumber", culture), "culture"); 128throw new ArgumentException(Environment.GetResourceString("Argument_CultureIsNeutral", culture), "culture"); 335throw new ArgumentException(
system\globalization\timespanparse.cs (1)
73throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTimeSpanStyles"), parameterName);
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 (8)
49throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty"), "path"); 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")); 1223throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceDirName"); 1228throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destDirName"); 1502throw new ArgumentException(Environment.GetResourceString("Arg_PathIsVolume"));
system\io\directoryinfo.cs (2)
246throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSubPath", path, displayPath)); 644throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destDirName");
system\io\driveinfo.cs (2)
69throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDriveLetterOrRootDir")); 83throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDriveLetterOrRootDir"));
system\io\file.cs (29)
91throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 93throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 116throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 118throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 133throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 135throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 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")); 1038throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 1053throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 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")); 1242throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 1244throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName");
system\io\fileinfo.cs (3)
288throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 311throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 461throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName");
system\io\filestream.cs (17)
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")); 1012throw new ArgumentException(Environment.GetResourceString("Arg_InvalidHandle"), "handle"); 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 (13)
412throw new ArgumentException(Environment.GetResourceString("IsolatedStorage_OldQuotaLarger")); 695throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 736throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 777throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 819throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "sourceFileName"); 823throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "destinationFileName"); 841throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "sourceFileName"); 845throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "destinationFileName"); 973throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "sourceFileName"); 977throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "destinationFileName"); 1039throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "sourceDirectoryName"); 1043throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "destinationDirectoryName"); 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 (22)
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")); 1405throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty"), "path2"); 1407throw new ArgumentException(Environment.GetResourceString("Arg_Path2IsRooted"), "path2");
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 (8)
76throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndCapacityOutOfBounds")); 93throw new ArgumentException(Environment.GetResourceString("Argument_UnmanagedMemAccessorWrapAround")); 565throw new ArgumentException(Environment.GetResourceString("Argument_NotEnoughBytesToRead", typeof(T).FullName), "position"); 590throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndLengthOutOfBounds")); 1049throw new ArgumentException(Environment.GetResourceString("Argument_NotEnoughBytesToWrite", typeof(T).FullName), "position"); 1071throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndLengthOutOfBounds")); 1151throw new ArgumentException(Environment.GetResourceString("Argument_NotEnoughBytesToRead"), "position"); 1172throw new ArgumentException(Environment.GetResourceString("Argument_NotEnoughBytesToWrite", "Byte"), "position");
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\math.cs (1)
149throw new ArgumentException(Environment.GetResourceString("Argument_InvalidEnumValue", mode, "MidpointRounding"), "mode");
system\multicastdelegate.cs (2)
274throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTypeMis")); 608throw new ArgumentException(Environment.GetResourceString("Arg_DlgtNullInst"));
system\operatingsystem.cs (1)
45throw new ArgumentException(
system\reflection\assembly.cs (3)
1660throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 1674throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"caType"); 1763throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength"));
system\reflection\assemblyname.cs (1)
392throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength"));
system\reflection\ConstructorInfo.cs (2)
410throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 425throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
system\reflection\customattribute.cs (5)
284throw new ArgumentException(Environment.GetResourceString("Argument_InvalidKindOfTypeForCA"), "type"); 622throw new ArgumentException(Environment.GetResourceString("Argument_InvalidMemberForNamedArgument")); 749throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)encodedType), "encodedType"); 795throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)val), "val"); 852throw new ArgumentException("encodedArg");
system\reflection\emit\assemblybuilder.cs (23)
252throw new ArgumentException("module"); 324throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)access), "access"); 638throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 640throw new ArgumentException(Environment.GetResourceString("Argument_InvalidName"), "name"); 855throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 857throw new ArgumentException(Environment.GetResourceString("Argument_InvalidName"), "name"); 862throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "fileName"); 864throw new ArgumentException(Environment.GetResourceString("Argument_NotSimpleFileName"), "fileName"); 978throw new ArgumentException(Environment.GetResourceString("Argument_TypeNotValid")); 1037throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), name); 1041throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "fileName"); 1043throw new ArgumentException(Environment.GetResourceString("Argument_NotSimpleFileName"), "fileName"); 1127throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), name); 1131throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), fileName); 1133throw new ArgumentException(Environment.GetResourceString("Argument_NotSimpleFileName"), "fileName"); 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")); 1573throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1771throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "assemblyFileName"); 1773throw new ArgumentException(Environment.GetResourceString("Argument_NotSimpleFileName"), "assemblyFileName"); 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 (17)
120throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer"), "namedProperties, propertyValues"); 122throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer"), "namedFields, fieldValues"); 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 (13)
73throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 106throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "meth"); 119throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOpCodeOnDynamicMethod")); 158throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "con"); 187throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 203throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeFieldInfo"), "field"); 319throw new ArgumentException(Environment.GetResourceString("Argument_NotMethodCallOpcode"), "opcode"); 322throw new ArgumentException(Environment.GetResourceString("Argument_GenericsInvalid"), "methodInfo"); 325throw new ArgumentException(Environment.GetResourceString("Argument_GenericsInvalid"), "methodInfo"); 417throw new ArgumentException(Environment.GetResourceString("Argument_ShouldNotSpecifyExceptionType")); 429throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 499throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "methodInfo"); 1242throw new ArgumentException(String.Format(
system\reflection\emit\dynamicmethod.cs (6)
362throw new ArgumentException(Environment.GetResourceString("Arg_InvalidTypeInSignature")); 365throw new ArgumentException(Environment.GetResourceString("Arg_InvalidTypeInSignature")); 408throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeForDynamicMethod")); 456throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeModule"), "m"); 461throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue"), "m"); 931throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "this");
system\reflection\emit\enumbuilder.cs (1)
412throw new ArgumentException(Environment.GetResourceString("Argument_ShouldOnlySetVisibilityFlags"), "name");
system\reflection\emit\fieldbuilder.cs (3)
42throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "fieldName"); 45throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "fieldName"); 51throw new ArgumentException(Environment.GetResourceString("Argument_BadFieldType"));
system\reflection\emit\ilgenerator.cs (17)
253throw new ArgumentException(Environment.GetResourceString("Argument_UnclosedExceptionBlock")); 363throw new ArgumentException(Environment.GetResourceString("Argument_BadLabel")); 366throw new ArgumentException(Environment.GetResourceString("Argument_BadLabelContent")); 613throw new ArgumentException(Environment.GetResourceString("Argument_NotMethodCallOpcode"), "opcode"); 873throw new ArgumentException(Environment.GetResourceString("Argument_UnmatchedMethodForLocal"), "local"); 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")); 1216throw new ArgumentException(Environment.GetResourceString("Argument_EmitWriteLineType"), "localBuilder"); 1254throw new ArgumentException(Environment.GetResourceString("Argument_EmitWriteLineType"), "fld"); 1309throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "usingNamespace"); 1531throw new ArgumentException(Environment.GetResourceString("Argument_TooManyFinallyClause")); 1717throw new ArgumentException(Environment.GetResourceString("Argument_UnmatchingSymScope"));
system\reflection\emit\methodbuilder.cs (7)
98throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 101throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name"); 138throw new ArgumentException(Environment.GetResourceString("Arg_NoStaticVirtual")); 149throw new ArgumentException(Environment.GetResourceString("Argument_BadAttributeOnInterfaceMethod")); 701throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "names"); 1053throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeToken", handler.ExceptionTypeToken), "exceptionHandlers[" + i + "]"); 1510throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeToken", exceptionTypeToken), "exceptionTypeToken");
system\reflection\emit\methodrental.cs (2)
56throw new ArgumentException(Environment.GetResourceString("Argument_BadSizeForData"), "methodSize"); 94throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "cls");
system\reflection\emit\modulebuilder.cs (13)
134throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateTypeName")); 559throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorInfo")); 569throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorInfo")); 1313throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1368throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1406throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1437throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1500throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1503throw new ArgumentException(Environment.GetResourceString("Argument_GlobalFunctionHasToBeStatic")); 1557throw new ArgumentException(Environment.GetResourceString("Argument_GlobalFunctionHasToBeStatic")); 1710throw new ArgumentException(Environment.GetResourceString("Argument_CannotGetTypeTokenForByRef")); 2056throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "methodName"); 2059throw new ArgumentException(Environment.GetResourceString("Argument_HasToBeArrayClass"));
system\reflection\emit\modulebuilderdata.cs (1)
56throw new ArgumentException(Environment.GetResourceString("Argument_NoModuleFileExtension", strFileName));
system\reflection\emit\propertybuilder.cs (2)
54throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 56throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name");
system\reflection\emit\signaturehelper.cs (13)
128throw new ArgumentException(Environment.GetResourceString("Argument_UnknownUnmanagedCallConv"), "unmanagedCallConv"); 234throw new ArgumentException(Environment.GetResourceString("Argument_BadFieldSig")); 264throw new ArgumentException(Environment.GetResourceString("NotSupported_MustBeModuleBuilder")); 323throw new ArgumentException(Environment.GetResourceString("Argument_ArraysInvalid"), "optionalCustomModifiers"); 326throw new ArgumentException(Environment.GetResourceString("Argument_GenericsInvalid"), "optionalCustomModifiers"); 346throw new ArgumentException(Environment.GetResourceString("Argument_ArraysInvalid"), "requiredCustomModifiers"); 349throw new ArgumentException(Environment.GetResourceString("Argument_GenericsInvalid"), "requiredCustomModifiers"); 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 (47)
100throw new ArgumentException(Environment.GetResourceString("Argument_MustBeTypeBuilder")); 110throw new ArgumentException(Environment.GetResourceString("Argument_NeedGenericMethodDefinition"), "method"); 113throw new ArgumentException(Environment.GetResourceString("Argument_MethodNeedGenericDeclaringType"), "method"); 116throw new ArgumentException(Environment.GetResourceString("Argument_InvalidMethodDeclaringType"), "type"); 126throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "type"); 133throw new ArgumentException(Environment.GetResourceString("Argument_MustBeTypeBuilder")); 136throw new ArgumentException(Environment.GetResourceString("Argument_ConstructorNeedGenericDeclaringType"), "constructor"); 140throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "type"); 147throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorDeclaringType"), "type"); 154throw new ArgumentException(Environment.GetResourceString("Argument_MustBeTypeBuilder")); 157throw new ArgumentException(Environment.GetResourceString("Argument_FieldNeedGenericDeclaringType"), "field"); 161throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "type"); 168throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFieldDeclaringType"), "type"); 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")); 623throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "fullname"); 626throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "fullname"); 630throw new ArgumentException(Environment.GetResourceString("Argument_TypeNameTooLong"), "fullname"); 646throw new ArgumentException(Environment.GetResourceString("Argument_BadNestedTypeFlags"), "attr"); 769throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 775throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "dllName"); 781throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "importName"); 784throw new ArgumentException(Environment.GetResourceString("Argument_BadPInvokeMethod")); 788throw new ArgumentException(Environment.GetResourceString("Argument_BadPInvokeOnInterface")); 805throw new ArgumentException(Environment.GetResourceString("Argument_MethodRedefined")); 868throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 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")); 1530throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 1548throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"caType"); 1578throw new ArgumentException(); 1640throw new ArgumentException(Environment.GetResourceString("ArgumentException_BadMethodImplBody")); 1702throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 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")); 2169throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 2226throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 2228throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name"); 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\eventinfo.cs (2)
318throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 333throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
system\reflection\fieldinfo.cs (8)
41throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 47throw new ArgumentException(String.Format( 58throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 341throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 356throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 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 (4)
65throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 71throw new ArgumentException(String.Format( 82throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 355throw new ArgumentException(Environment.GetResourceString("Arg_VarMissNull"),"parameters");
system\reflection\methodinfo.cs (5)
493throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 507throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 899throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "delegateType"); 902throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "delegateType"); 907throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth"));
system\reflection\module.cs (22)
654throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 657throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 659throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 675throw new ArgumentException(Environment.GetResourceString("Argument_InvalidToken", tk, this), 709throw new ArgumentException("metadataToken", 717throw new ArgumentException("metadataToken", 739throw new ArgumentException(Environment.GetResourceString("Argument_BadImageFormatExceptionResolve"), e); 771throw new ArgumentException(Environment.GetResourceString("Argument_ResolveField", tk, this), "metadataToken"); 794throw new ArgumentException("metadataToken", 802throw new ArgumentException("metadataToken", 826throw new ArgumentException(Environment.GetResourceString("Argument_BadImageFormatExceptionResolve"), e); 836throw new ArgumentException(Environment.GetResourceString("Argument_ResolveModuleType", tk), "metadataToken"); 843throw new ArgumentException(Environment.GetResourceString("Argument_ResolveType", tk, this), "metadataToken"); 853throw new ArgumentException(Environment.GetResourceString("Argument_ResolveType", tk, this), "metadataToken"); 859throw new ArgumentException(Environment.GetResourceString("Argument_BadImageFormatExceptionResolve"), e); 869throw new ArgumentException(Environment.GetResourceString("InvalidOperation_PropertyInfoNotAvailable")); 872throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EventInfoNotAvailable")); 904throw new ArgumentException("metadataToken", 913throw new ArgumentException( 923throw new ArgumentException( 1026throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 1041throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
system\reflection\parameterinfo.cs (2)
749throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "attributeType"); 767throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "attributeType");
system\reflection\parametermodifier.cs (1)
26throw new ArgumentException(Environment.GetResourceString("Arg_ParmArraySize"));
system\reflection\pointer.cs (3)
47throw new ArgumentException(Environment.GetResourceString("Arg_MustBePointer"),"ptr"); 52throw new ArgumentException(Environment.GetResourceString("Arg_MustBePointer"), "ptr"); 64throw new ArgumentException(Environment.GetResourceString("Arg_MustBePointer"),"ptr");
system\reflection\propertyinfo.cs (4)
387throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 402throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 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 (2)
243throw new ArgumentException(Environment.GetResourceString("Arg_InvalidNeutralResourcesLanguage_FallbackLoc", fallback)); 273throw new ArgumentException(Environment.GetResourceString("Arg_InvalidNeutralResourcesLanguage_Asm_Culture", a.ToString(), cultureName), e);
system\resources\neutralresourceslanguageattribute.cs (1)
52throw new ArgumentException(Environment.GetResourceString("Arg_InvalidNeutralResourcesLanguage_FallbackLoc", location));
system\resources\resourcemanager.cs (5)
363throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 400throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 406throw new ArgumentException(Environment.GetResourceString("Arg_ResMgrNotResSet"), "usingResourceSet"); 427throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 910throw new ArgumentException(Environment.GetResourceString("Arg_InvalidSatelliteContract_Asm_Ver", a.ToString(), v), e);
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 (44)
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( 2261throw new ArgumentException( 3161throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "ifaceType"); 3172throw new ArgumentException(Environment.GetResourceString("Argument_ArrayGetInterfaceMap")); 4047throw new ArgumentException(Environment.GetResourceString("Argument_HasToBeArrayClass")); 4062throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 4079throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 4100throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 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())); 4168throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value"); 4214throw new ArgumentException(Environment.GetResourceString("Argument_GenericArgsCount"), "instantiation"); 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)); 4523throw new ArgumentException(Environment.GetResourceString("Arg_NoAccessSpec"),"bindingFlags"); 4541throw new ArgumentException(Environment.GetResourceString("Arg_NamedParamTooBig"), "namedParams"); 4547throw new ArgumentException(Environment.GetResourceString("Arg_NamedParamTooBig"), "namedParams"); 4558throw new ArgumentException(Environment.GetResourceString("Arg_COMAccess"), "bindingFlags"); 4561throw new ArgumentException(Environment.GetResourceString("Arg_PropSetGet"), "bindingFlags"); 4564throw new ArgumentException(Environment.GetResourceString("Arg_PropSetInvoke"), "bindingFlags"); 4567throw new ArgumentException(Environment.GetResourceString("Arg_COMPropSetPut"), "bindingFlags"); 4570throw new ArgumentException(Environment.GetResourceString("Arg_COMPropSetPut"), "bindingFlags"); 4573throw new ArgumentException(Environment.GetResourceString("Arg_COMPropSetPut"), "bindingFlags"); 4607throw new ArgumentException(Environment.GetResourceString("Arg_NamedParamNull"),"namedParams"); 4624throw new ArgumentException(Environment.GetResourceString("Arg_CreatInstAccess"),"bindingFlags"); 4661throw new ArgumentException(Environment.GetResourceString("Arg_FldSetGet"),"bindingFlags"); 4665throw new ArgumentException(Environment.GetResourceString("Arg_FldGetPropSet"),"bindingFlags"); 4676throw new ArgumentException(Environment.GetResourceString("Arg_FldSetPropGet"),"bindingFlags"); 4680throw new ArgumentException(Environment.GetResourceString("Arg_FldSetInvoke"),"bindingFlags"); 4729throw new ArgumentException(Environment.GetResourceString("Arg_IndexMustBeInt")); 4754throw new ArgumentException(Environment.GetResourceString("Arg_FldGetArgErr"),"bindingFlags"); 4763throw new ArgumentException(Environment.GetResourceString("Arg_FldSetArgErr"),"bindingFlags"); 4814throw new ArgumentException(Environment.GetResourceString("Arg_PropSetGet"), "bindingFlags"); 4823throw new ArgumentException(Environment.GetResourceString("Arg_PropSetInvoke"), "bindingFlags"); 5043throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 5058throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 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\currencywrapper.cs (1)
32throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDecimal"), "obj");
system\runtime\interopservices\errorwrapper.cs (1)
33throw new ArgumentException(Environment.GetResourceString("Arg_MustBeInt32"), "errorCode");
system\runtime\interopservices\marshal.cs (33)
149throw new ArgumentException("len"); 160throw new ArgumentException("len"); 220throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "t"); 222throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "t"); 287throw new ArgumentException(Environment.GetResourceString("Argument_OffsetOfFieldNotFound", t.FullName), "fieldName"); 290throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeFieldInfo"), "fieldName"); 867throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo")); 906throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo")); 981throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "structureType"); 986throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "type"); 1160throw new ArgumentException(Environment.GetResourceString("Argument_ArgumentZero"), "cookie"); 1463throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "asm"); 1492throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "inputAssembly"); 1969throw new ArgumentException(Environment.GetResourceString("Argument_ObjNotComObject"), "o"); 2000throw new ArgumentException(Environment.GetResourceString("Argument_ObjNotComObject"), "o"); 2034throw new ArgumentException(Environment.GetResourceString("Argument_ObjNotComObject"), "obj"); 2039throw new ArgumentException(Environment.GetResourceString("Argument_ObjIsWinRTObject"), "obj"); 2071throw new ArgumentException(Environment.GetResourceString("Argument_ObjNotComObject"), "obj"); 2076throw new ArgumentException(Environment.GetResourceString("Argument_ObjIsWinRTObject"), "obj"); 2094throw new ArgumentException(Environment.GetResourceString("Argument_TypeNotComObject"), "t"); 2096throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "t"); 2100throw new ArgumentException(Environment.GetResourceString("Argument_TypeIsWinRTType"), "t"); 2108throw new ArgumentException(Environment.GetResourceString("Argument_ObjNotComObject"), "o"); 2110throw new ArgumentException(Environment.GetResourceString("Argument_ObjIsWinRTObject"), "o"); 2301throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "m"); 2304throw new ArgumentException(Environment.GetResourceString("Argument_MustBeInterfaceMethod"), "m"); 2306throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "m"); 2347throw new ArgumentException(Environment.GetResourceString("Argument_TypeMustNotBeComImport"), "type"); 2349throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "type"); 2353throw new ArgumentException(Environment.GetResourceString("Argument_TypeMustBeComCreatable"), "type"); 2615throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "t"); 2618throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "t"); 2622throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "t");
system\runtime\interopservices\registrationservices.cs (7)
111throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 174throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 230throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "assembly"); 267throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"),"type"); 269throw new ArgumentException(Environment.GetResourceString("Argument_TypeMustBeComCreatable"),"type"); 323throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"),"type"); 325throw new ArgumentException(Environment.GetResourceString("Argument_TypeMustBeComCreatable"),"type");
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 (4)
103throw new ArgumentException(Environment.GetResourceString("Arg_InvalidFileName"), "asmFileName"); 105throw new ArgumentException(Environment.GetResourceString("IO.PathTooLong"), asmFileName); 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\managedactivationfactory.cs (1)
49throw new ArgumentException(Environment.GetResourceString("Argument_TypeNotActivatableViaWindowsRuntime", type), "type");
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\interopservices\windowsruntime\windowsruntimemetadata.cs (1)
134throw new ArgumentException(Environment.GetResourceString("Arg_EmptyOrNullString"), "DesignerNamespaceResolveEventArgs.ResolvedAssemblyFiles");
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 (3)
117throw new ArgumentException( 348throw new ArgumentException(Environment.GetResourceString("ArgumentNull_Generic"), "s"); 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 (9)
213throw new ArgumentException( 252throw new ArgumentException( 280throw new ArgumentException( 556throw new ArgumentException(Environment.GetResourceString("Argument_InvalidMarshalByRefObject"), "Obj"); 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 (4)
176throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 234throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "assembly"); 485throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject")); 531throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject"));
system\runtime\remoting\synchronizeddispatch.cs (1)
166throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "flag");
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\surrogateselector.cs (4)
103throw new ArgumentException(Environment.GetResourceString("Serialization_SurrogateCycleInArgument"), "selector"); 117throw new ArgumentException(Environment.GetResourceString("Serialization_SurrogateCycle"), "selector"); 135throw new ArgumentException(Environment.GetResourceString("Serialization_SurrogateCycle"), "selector"); 151throw new ArgumentException(Environment.GetResourceString("Serialization_SurrogateCycle"), "selector");
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\runtime\versioning\binarycompatibility.cs (6)
368throw new ArgumentException(Environment.GetResourceString("Argument_StringZeroLength"), "frameworkName"); 378throw new ArgumentException(Environment.GetResourceString("Argument_FrameworkNameTooShort"), "frameworkName"); 388throw new ArgumentException(Environment.GetResourceString("Argument_FrameworkNameInvalid"), "frameworkName"); 404throw new ArgumentException(Environment.GetResourceString("SR.Argument_FrameworkNameInvalid"), "frameworkName"); 443throw new ArgumentException(Environment.GetResourceString("Argument_FrameworkNameInvalid"), "frameworkName"); 449throw new ArgumentException(Environment.GetResourceString("Argument_FrameworkNameMissingVersion"), "frameworkName");
system\runtime\versioning\resourceattributes.cs (5)
119throw new ArgumentException(Environment.GetResourceString("Argument_ResourceScopeWrongDirection", fromResType, toResType), "from"); 184throw new ArgumentException(Environment.GetResourceString("Argument_BadResourceScopeTypeBits", consumeAsScope), "consumeAsScope"); 198throw new ArgumentException(Environment.GetResourceString("Argument_BadResourceScopeTypeBits", calleeScope), "calleeScope"); 217throw new ArgumentException(Environment.GetResourceString("Argument_BadResourceScopeVisibilityBits", consumeAsScope), "consumeAsScope"); 231throw new ArgumentException(Environment.GetResourceString("Argument_BadResourceScopeVisibilityBits", calleeScope), "calleeScope");
system\runtimehandles.cs (1)
648throw new ArgumentException("name");
system\sbyte.cs (1)
56throw new ArgumentException (Environment.GetResourceString("Arg_MustBeSByte"));
system\security\accesscontrol\ace.cs (2)
192throw new ArgumentException( 409throw new ArgumentException(
system\security\accesscontrol\acl.cs (13)
366throw new ArgumentException( 415throw new ArgumentException( 1983throw new ArgumentException( 1990throw new ArgumentException( 1996throw new ArgumentException( 2023throw new ArgumentException( 2030throw new ArgumentException( 2102throw new ArgumentException( 2109throw new ArgumentException( 2207throw new ArgumentException( 2215throw new ArgumentException( 2652throw new ArgumentException( 2660throw new ArgumentException(
system\security\accesscontrol\commonobjectsecurity.cs (2)
53throw new ArgumentException( 327throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)rule.AccessControlType), "rule.AccessControlType" );
system\security\accesscontrol\cryptokeysecurity.cs (1)
87throw new ArgumentException(Environment.GetResourceString("Argument_InvalidEnumValue", controlType, "controlType"), "controlType");
system\security\accesscontrol\directoryobjectsecurity.cs (3)
53throw new ArgumentException(Environment.GetResourceString("Arg_MustBeIdentityReferenceType"), "targetType"); 486throw new ArgumentException( 498throw new ArgumentException(
system\security\accesscontrol\filesecurity.cs (2)
350exception = new ArgumentException(Environment.GetResourceString("Argument_InvalidName"),"name"); 354exception = new ArgumentException(Environment.GetResourceString("AccessControl_InvalidHandle"));
system\security\accesscontrol\nativeobjectsecurity.cs (2)
152exception = new ArgumentException( 293exception = new ArgumentException(
system\security\accesscontrol\objectsecurity.cs (4)
614throw new ArgumentException( 664throw new ArgumentException( 698throw new ArgumentException( 725throw new ArgumentException(
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\accesscontrol\rules.cs (3)
44throw new ArgumentException( 66throw new ArgumentException( 257throw new ArgumentException(
system\security\accesscontrol\securitydescriptor.cs (11)
544throw new ArgumentException( 662throw new ArgumentException( 672throw new ArgumentException( 851throw new ArgumentException( 861throw new ArgumentException( 873throw new ArgumentException( 883throw new ArgumentException( 1079throw new ArgumentException( 1088throw new ArgumentException( 1128throw new ArgumentException( 1137throw new ArgumentException(
system\security\accesscontrol\win32.cs (2)
148throw new ArgumentException( 326throw new ArgumentException(
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 (5)
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")); 318throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)value), "value");
system\security\cryptography\cryptoconfig.cs (3)
546throw new ArgumentException(Environment.GetResourceString("Cryptography_AlgorithmTypesMustBeVisible"), "algorithm"); 558throw new ArgumentException(Environment.GetResourceString("Cryptography_AddNullOrEmptyName")); 703throw new ArgumentException(Environment.GetResourceString("Cryptography_AddNullOrEmptyName"));
system\security\cryptography\cryptostream.cs (7)
62if (!(_stream.CanRead)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable"),"stream"); 66if (!(_stream.CanWrite)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable"),"stream"); 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\dsa.cs (1)
280return new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), "hashAlgorithm");
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 (3)
61throw new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), nameof(hashAlgorithm)); 100throw new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), nameof(hashAlgorithm)); 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\rsa.cs (1)
206return new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), "hashAlgorithm");
system\security\cryptography\RSAEncryptionPadding.cs (1)
62throw new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), "hashAlgorithm");
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\cryptography\x509certificates\x509certificate.cs (3)
191throw new ArgumentException(Environment.GetResourceString("Arg_InvalidHandle"), "handle"); 330throw new ArgumentException( 786throw new ArgumentException(Environment.GetResourceString("Arg_EmptyOrNullArray"), "rawData");
system\security\cryptography\x509certificates\x509utils.cs (2)
264throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "keyStorageFlags"); 273throw new ArgumentException(
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 (13)
91throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 97throw new ArgumentException(Environment.GetResourceString("Argument_InvalidKeyStore", value), "value"); 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 (4)
163throw new ArgumentException( Environment.GetResourceString( "Argument_CodeGroupChildrenMustBeCodeGroups" ) ); 440throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ), ex ); 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\evidence.cs (2)
360throw new ArgumentException(Environment.GetResourceString("Policy_EvidenceMustBeSerializable"), "id"); 382throw new ArgumentException(Environment.GetResourceString("Policy_EvidenceMustBeSerializable"), "id");
system\security\policy\gacmembershipcondition.cs (1)
86throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) );
system\security\policy\hash.cs (2)
94throw new ArgumentException(Environment.GetResourceString("Security_CannotGenerateHash"), "assembly"); 100throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "assembly");
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 (3)
50throw new ArgumentException(Environment.GetResourceString("Argument_EmptyStrongName")); 61throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "assembly"); 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 (5)
57throw new ArgumentException(Environment.GetResourceString("Argument_RelativeUrlMembershipCondition"), "url"); 76throw new ArgumentException(Environment.GetResourceString("Argument_RelativeUrlMembershipCondition"), "value"); 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\ircollection.cs (1)
175throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" );
system\security\principal\ntaccount.cs (9)
49throw new ArgumentException( Environment.GetResourceString( "Argument_StringZeroLength" ), "accountName" ); 54throw new ArgumentException( Environment.GetResourceString( "IdentityReference_AccountNameTooLong" ), "accountName"); 59throw new ArgumentException( Environment.GetResourceString( "IdentityReference_DomainNameTooLong" ), "domainName"); 82throw new ArgumentException( Environment.GetResourceString( "Argument_StringZeroLength" ), "name" ); 87throw new ArgumentException( Environment.GetResourceString( "IdentityReference_AccountNameTooLong" ), "name"); 144throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" ); 215throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" ); 260throw new ArgumentException( Environment.GetResourceString( "Arg_EmptyCollection" ), "sourceAccounts" ); 283throw new ArgumentException( Environment.GetResourceString( "Argument_ImproperType" ), "sourceAccounts" );
system\security\principal\sid.cs (13)
326throw new ArgumentException( 337throw new ArgumentException( 350throw new ArgumentException( 416throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidValue" ), "sddlForm" ); 473throw new ArgumentException(Environment.GetResourceString("IdentityReference_CannotCreateLogonIdsSid"), "sidType"); 493throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidValue" ), "sidType" ); 522throw new ArgumentException( Environment.GetResourceString( "IdentityReference_NotAWindowsDomain" ), "domainSid" ); 535throw new ArgumentException( Environment.GetResourceString( "IdentityReference_NotAWindowsDomain" ), "domainSid" ); 545throw new ArgumentException( Win32Native.GetMessage(Error), "sidType/domainSid" ); 805throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" ); 930throw new ArgumentException(Environment.GetResourceString("Arg_EmptyCollection"), "sourceSids"); 953throw new ArgumentException( Environment.GetResourceString( "Argument_ImproperType" ), "sourceSids" ); 1121throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" );
system\security\principal\win32.cs (2)
170throw new ArgumentException(Environment.GetResourceString( "IdentityReference_InvalidSidRevision" ), "binaryForm"); 182throw new ArgumentException(Environment.GetResourceString( "IdentityReference_InvalidNumberOfSubauthorities", SecurityIdentifier.MaxSubAuthorities), "binaryForm");
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\principal\windowsprincipal.cs (1)
209throw new ArgumentException(Environment.GetResourceString("Arg_EnumIllegalVal", (int)role), "role");
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 (18)
590throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 631throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 657throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 701throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 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")); 1804throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2011throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2090throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison")); 2109throw new ArgumentException(Environment.GetResourceString("Arg_MustBeString")); 2195throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2227throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2385throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2523throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2575throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2614throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType");
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 (3)
58throw new ArgumentException( 300throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow")); 348throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow"));
system\text\decoderfallback.cs (7)
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")); 279throw new ArgumentException(
system\text\decoderreplacementfallback.cs (1)
64throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex", "replacement"));
system\text\encoder.cs (3)
58throw new ArgumentException( 294throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow")); 340throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow"));
system\text\encoderfallback.cs (1)
231throw new ArgumentException(
system\text\encoderreplacementfallback.cs (1)
66throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex", "replacement"));
system\text\encoding.cs (4)
515throw new ArgumentException(Environment.GetResourceString( 1597throw new ArgumentException( 1622throw new ArgumentException( 2138throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty",
system\text\isciiencoding.cs (2)
82throw new ArgumentException(Environment.GetResourceString( 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 (5)
90throw new ArgumentException( 101throw new ArgumentException( 209throw new ArgumentException( 239throw new ArgumentException( 288throw new ArgumentException(
system\text\stringbuilder.cs (3)
771throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_OffsetOut")); 779throw new ArgumentException(Environment.GetResourceString("Arg_LongerThanSrcString")); 1554throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "oldValue");
system\text\surrogateencoder.cs (1)
56throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\unicodeencoding.cs (4)
479throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 696throw new ArgumentException( 763throw new ArgumentException(Environment.GetResourceString("Argument_EncoderFallbackNotEmpty", 1099throw new ArgumentException(
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\compressedstack.cs (1)
285throw new ArgumentException(Environment.GetResourceString("Arg_NamedParamNull"),"compressedStack");
system\threading\eventwaithandle.cs (6)
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)); 230throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 235throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name));
system\threading\monitor.cs (1)
66throw new ArgumentException(Environment.GetResourceString("Argument_MustBeFalse"), "lockTaken");
system\threading\mutex.cs (4)
65throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong",name)); 94throw new ArgumentException(Environment.GetResourceString("Argument_WaitHandleNameTooLong", name)); 361throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "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\FutureFactory.cs (4)
1397if (promise == null) throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndCalledMultiple"), "asyncResult"); 1404if (endMethod == null) throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndCalledMultiple"), "asyncResult"); 2177if(tasks.Length == 0) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_EmptyTaskList"), "tasks"); 2225if (tasks.Length == 0) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_EmptyTaskList"), "tasks");
system\threading\Tasks\Parallel.cs (1)
244throw new ArgumentException(Environment.GetResourceString("Parallel_Invoke_ActionNull"));
system\threading\Tasks\Task.cs (12)
5077throw new ArgumentException(Environment.GetResourceString("Task_WaitMulti_NullTask"), "tasks"); 5479throw new ArgumentException(Environment.GetResourceString("Task_WaitMulti_NullTask"), "tasks"); 6000if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6011if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6059if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6249if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6260if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6311if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6474throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_EmptyTaskList"), "tasks"); 6485if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6518if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 6524throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_EmptyTaskList"), "tasks");
system\threading\Tasks\TaskCompletionSource.cs (2)
197throw new ArgumentException(Environment.GetResourceString("TaskCompletionSourceT_TrySetException_NullException"), "exceptions"); 202throw new ArgumentException(Environment.GetResourceString("TaskCompletionSourceT_TrySetException_NoExceptions"), "exceptions");
system\threading\Tasks\TaskExceptionHolder.cs (1)
303throw new ArgumentException(Environment.GetResourceString("TaskExceptionHolder_UnknownExceptionType"), "exceptionObject");
system\threading\Tasks\TaskFactory.cs (5)
2489if (task == null) throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 3147throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_EmptyTaskList"), "tasks"); 3156throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks"); 3167throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_EmptyTaskList"), "tasks"); 3176throw new ArgumentException(Environment.GetResourceString("Task_MultiTaskContinuation_NullTask"), "tasks");
system\threading\thread.cs (2)
292throw new ArgumentException(null, Environment.GetResourceString("Argument_InvalidHandle")); 1178throw new ArgumentException(Environment.GetResourceString("Argument_InvalidResourceCultureName", value.Name));
system\threading\waithandle.cs (1)
424throw new ArgumentException(Environment.GetResourceString("Argument_EmptyWaithandleArray"));
system\throwhelper.cs (4)
60throw new ArgumentException(Environment.GetResourceString("Arg_WrongType", key, targetType), "key"); 64throw new ArgumentException(Environment.GetResourceString("Arg_WrongType", value, targetType), "value"); 72throw new ArgumentException(Environment.GetResourceString(GetResourceName(resource))); 76throw new ArgumentException(Environment.GetResourceString(GetResourceName(resource)), GetArgumentName(argument));
system\timespan.cs (2)
177throw new ArgumentException(Environment.GetResourceString("Arg_MustBeTimeSpan")); 230throw new ArgumentException(Environment.GetResourceString("Arg_CannotBeNaN"));
system\timezoneinfo.cs (18)
341throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeOffsetIsNotAmbiguous"), "dateTimeOffset"); 355throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeOffsetIsNotAmbiguous"), "dateTimeOffset"); 378throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeIsNotAmbiguous"), "dateTime"); 403throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeIsNotAmbiguous"), "dateTime"); 767throw new ArgumentException(Environment.GetResourceString("Argument_ConvertMismatch"), "sourceTimeZone"); 790throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeIsInvalid"), "dateTime"); 891throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSerializedString", source), "source"); 2939throw new ArgumentException(Environment.GetResourceString("Argument_InvalidId", id), "id"); 2948throw new ArgumentException(Environment.GetResourceString("Argument_TimeSpanHasSeconds"), "baseUtcOffset"); 3164throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeKindMustBeUnspecified"), "dateStart"); 3168throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeKindMustBeUnspecified"), "dateEnd"); 3172throw new ArgumentException(Environment.GetResourceString("Argument_TransitionTimesAreIdentical"), 3178throw new ArgumentException(Environment.GetResourceString("Argument_OutOfOrderDateTimes"), "dateStart"); 3187throw new ArgumentException(Environment.GetResourceString("Argument_TimeSpanHasSeconds"), 3192throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeHasTimeOfDay"), 3197throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeHasTimeOfDay"), 3435throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeKindMustBeUnspecified"), "timeOfDay"); 3463throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeHasTicks"), "timeOfDay");
system\tuple.cs (9)
119throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 209throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 314throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 430throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 557throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 695throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 844throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other"); 969throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleLastArgumentNotATuple")); 1008throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other");
system\type.cs (10)
1389throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1403throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1471throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1476throw new ArgumentException(Environment.GetResourceString("Argument_InvalidEnum"), "enumType"); 1487throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 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())); 1541throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1547throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value");
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\variant.cs (1)
357throw new ArgumentException(Environment.GetResourceString("Arg_MustBePointer"),"pointerType");
system\version.cs (6)
166throw new ArgumentException(Environment.GetResourceString("Arg_MustBeVersion")); 299throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper", "0", "2"), "fieldCount"); 313throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper", "0", "3"), "fieldCount"); 328throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper", "0", "4"), "fieldCount"); 508return new ArgumentException(Environment.GetResourceString("Arg_VersionString")); 524return new ArgumentException(Environment.GetResourceString("Arg_VersionString"));
PresentationCore (102)
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\CustomAttributeSerializer.cs (4)
472throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Custom Attribute tag embedded in ISF stream does not match guid table"), "tag"); 492throw new ArgumentException(); 499throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"), "cbSize"); 520throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"), "cbSize");
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (6)
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")); 321throw new ArgumentException ();
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 (53)
225throw new ArgumentException(ISFDebugMessage("Invalid ISF data"), "isfStream"); 239throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"), "isfStream"); 244throw new ArgumentException(ISFDebugMessage("Invalid ISF data"), "isfStream"); 385throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 409throw new ArgumentException(ISFDebugMessage("Invalid ISF data"), "inputStream"); 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")); 765throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Global Custom Attribute tag embedded in ISF stream does not match guid table"), "inkdata"); 775throw new ArgumentException(ISFDebugMessage("Invalid ISF data"), "inkdata"); 789throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 804throw new ArgumentException(ISFDebugMessage("Invalid ISF data")); 822throw new ArgumentException(ISFDebugMessage("Invalid ISF data"), "inkdata"); 857throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 862throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 875throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 885throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 917throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 930throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 940throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 957throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 966throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 989throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1019throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1024throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1032throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1042throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1074throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1083throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1091throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1123throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1131throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1159throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1197throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1218throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1236throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid argument passed to ReliableRead")); 1291throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1326throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1362throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1368throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1373throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1379throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1384throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1390throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1395throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1401throw new ArgumentException(ISFDebugMessage("Invalid ISF data"),"strm"); 1618throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Button guid tag embedded in ISF stream does not match guid table"),"strd"); 1634throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF with NoX or NoY specified"), "strd"); 1658throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Packet Description Property tag embedded in ISF stream does not match guid table"), "strd");
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"));
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (2)
239throw new ArgumentException(); 261throw new ArgumentException();
Shared\MS\Internal\SafeSecurityHelper.cs (1)
375throw(new System.ArgumentException(key.ToString()));
Shared\System\Windows\Interop\OSVersionHelper.cs (1)
278throw new ArgumentException(string.Format("{0} is not a valid OS!", osVer.ToString()), "osVer");
PresentationFramework (32)
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
388throw new ArgumentException("Unsupported Selection", "selection");
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
459throw new ArgumentException("segmentNumber");
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\AlternateWordForm.cs (1)
45if (alternateWordForm.GetType() != s_WinRTType) throw new ArgumentException();
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\TextSegment.cs (1)
34if (textSegment.GetType() != s_WinRTType) throw new ArgumentException();
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordSegment.cs (1)
44if (wordSegment.GetType() != s_WinRTType) throw new ArgumentException();
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
79throw new ArgumentException(string.Empty, "language", tiex);
src\Framework\System\Windows\Documents\TextElementCollection.cs (2)
635throw new ArgumentException("array"); 645throw new ArgumentException("arrayIndex");
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (1)
187throw new ArgumentException();
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
489throw new ArgumentException(member, new InvalidCastException(comException.Message, hr.Code));
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
51throw new ArgumentException("can’t seek on baseStream");
src\Framework\System\Windows\Shell\WindowChrome.cs (4)
120throw new ArgumentException("The element must be a DependencyObject", "inputElement"); 133throw new ArgumentException("The element must be a DependencyObject", "inputElement"); 152throw new ArgumentException("The element must be a DependencyObject", "inputElement"); 165throw new ArgumentException("The element must be a DependencyObject", "inputElement");
src\Framework\System\Windows\Standard\Verify.cs (16)
68throw new ArgumentException(errorMessage, name); 93throw new ArgumentException(errorMessage, name); 107throw new ArgumentException("The parameter must not be the default value.", name); 135throw new ArgumentException("The parameter must be null.", name); 170throw new ArgumentException("", name); 186throw new ArgumentException(message, name); 199throw new ArgumentException(message, parameterName); 204throw new ArgumentException(message, parameterName); 217throw new ArgumentException(message, parameterName); 222throw new ArgumentException(message, parameterName); 233throw new ArgumentException("The URI must be absolute.", parameterName); 249throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "The integer value must be bounded with [{0}, {1})", lowerBoundInclusive, upperBoundExclusive), parameterName); 259throw new ArgumentException(message, parameter); 273throw new ArgumentException("The type of this parameter does not support a required interface", parameterName); 284throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "No file exists at \"{0}\"", filePath), parameterName); 308throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "The parameter must implement interface {0}.", interfaceType.ToString()), parameterName);
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
375throw(new System.ArgumentException(key.ToString()));
SMDiagnostics (2)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
160return (ArgumentException)this.ThrowHelperError(new ArgumentException(message)); 165return (ArgumentException)this.ThrowHelperError(new ArgumentException(message, paramName));
SMSvcHost (2)
System\ServiceModel\Activation\ListenerAdapterBase.cs (2)
120throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException("numberOfBindings")); 131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException("bindingsMultiSz"));
System (43)
compmod\system\codedom\compiler\CodeValidator.cs (2)
573throw new ArgumentException(message, "typeName"); 580throw new ArgumentException(message , "identifier");
compmod\system\collections\generic\sortedset.cs (1)
1701throw new ArgumentException("lowerBound is greater than upperBound");
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\Net\_AutoWebProxyScriptHelper.cs (1)
561 throw new ArgumentException(string.Format(
net\System\Net\SocketPermission.cs (1)
543throw new ArgumentException(accessStr + "transport", exception);
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 (3)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
47throw FxTrace.Exception.AsError(new ArgumentException()); 80throw FxTrace.Exception.AsError(new ArgumentException());
System\Activities\WorkflowIdentity.cs (1)
272throw FxTrace.Exception.AsError(new ArgumentException(ex.Message, paramName, ex));
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
293throw FxTrace.Exception.AsError(new ArgumentException(reason));
System.Activities.Presentation (43)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (7)
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( 707throw FxTrace.Exception.AsError(new ArgumentException(string.Format(
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\NamespaceListProperty.cs (4)
200throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value")); 235throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value")); 264throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value")); 294throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value"));
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.AddIn.Contract (9)
System\Addin\Contract\RemoteArgument.cs (9)
116throw new ArgumentException(null, "value"); 121throw new ArgumentException(null, "value"); 129throw new ArgumentException(null, "value"); 136throw new ArgumentException(null, "value"); 351throw new ArgumentException(null, "typeCode"); 358throw new ArgumentException(null, "typeCode"); 364throw new ArgumentException(null, "typeCode"); 696throw new ArgumentException(null, "array"); 718throw new ArgumentException(null, "array");
System.ComponentModel.DataAnnotations (13)
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"));
DataAnnotations\ValidationAttributeStore.cs (1)
178throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.AttributeStore_Unknown_Property, this._type.Name, propertyName), "propertyName");
DataAnnotations\ValidationContext.cs (2)
366throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.ValidationContextServiceContainer_ItemAlreadyExists, serviceType), "serviceType"); 386throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.ValidationContextServiceContainer_ItemAlreadyExists, serviceType), "serviceType");
DataAnnotations\Validator.cs (3)
119throw new ArgumentException(Resources.DataAnnotationsResources.Validator_InstanceMustMatchValidationContextInstance, "instance"); 234throw new ArgumentException(Resources.DataAnnotationsResources.Validator_InstanceMustMatchValidationContextInstance, "instance"); 319throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.Validator_Property_Value_Wrong_Type, propertyName, propertyType), "value");
System.Configuration (1)
System\Configuration\ValidatorUtils.cs (1)
83throw new ArgumentException( String.Format( CultureInfo.InvariantCulture,
System.Data (55)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (7)
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( 707throw FxTrace.Exception.AsError(new ArgumentException(string.Format(
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\NamespaceListProperty.cs (4)
200throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value")); 235throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value")); 264throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value")); 294throw FxTrace.Exception.AsError(new ArgumentException(SR.NamespaceListArgumentMustBeNamespaceData, "value"));
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 (5)
124ArgumentException e = new ArgumentException(error); 129ArgumentException e = new ArgumentException(error, inner); 134ArgumentException e = new ArgumentException(error, parameter); 139ArgumentException e = new ArgumentException(error, parameter, inner); 1602e = new ArgumentException(message, inner);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
296throw new ArgumentException("keyword", "not a string");
fx\src\data\System\Data\DataException.cs (3)
275ArgumentException e = new ArgumentException(error); 280ArgumentException e = new ArgumentException(error); 285ArgumentException e = new ArgumentException(error, innerException);
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
599throw new ArgumentException(SQLResource.InvalidArraySizeMessage, "bits");
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 (4)
System\Data\Common\EntityUtil.cs (4)
262return new ArgumentException(error); 265return new ArgumentException(error, inner); 268return new ArgumentException(error, parameter); 271return new ArgumentException(error, parameter, inner);
System.Data.Entity.Design (2)
System\Data\Entity\Design\Common\EDesignUtil.cs (2)
96ArgumentException e = new ArgumentException(parameter); 102ArgumentException e = new ArgumentException(message, inner);
System.Data.Services.Client (1)
System\Data\Services\Client\Error.cs (1)
27return Trace(new ArgumentException(message, parameterName));
System.IO.Log (2)
System\IO\Log\Error.cs (2)
171return new ArgumentException(); 175return new ArgumentException(
System.Management (49)
Instrumentation\SchemaMapping.cs (2)
40 throw new ArgumentException(String.Format(RC.GetString("UNSUPPORTEDMEMBER_EXCEPT"), mi.Name), mi.Name, innerException); 495 throw new ArgumentException(String.Format(RC.GetString("MEMBERCONFLILCT_EXCEPT"), field.Name), field.Name);
Instrumentation\SchemaRegistration.cs (1)
867throw new ArgumentException(String.Format(strformat, classPath, newClass.GetText(TextFormat.Mof)), e);
managementobjectcollection.cs (1)
240throw new ArgumentException (null, "index");
managementoptions.cs (1)
964default : throw new ArgumentException(null, "Type");
managementquery.cs (42)
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 678 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"queryOrClassName"); 752 throw new ArgumentException(RC.GetString("INVALID_QUERY"), "isSchemaQuery"); 1007 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 1015 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 1022 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 1039 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"select"); 1045 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"*"); 1054 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"from"); 1063 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"meta_class"); 1075 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"where"); 1081 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1279throw new ArgumentException (RC.GetString("INVALID_QUERY"),"queryOrSourceObject"); 1352 throw new ArgumentException(RC.GetString("INVALID_QUERY"), "isSchemaQuery"); 1648 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"associators"); // Invalid query 1655 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1661 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"of"); // Invalid query 1668 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1675 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 1685 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"where"); // 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")); 1905 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"queryOrSourceObject"); 1962 throw new ArgumentException(RC.GetString("INVALID_QUERY"), "isSchemaQuery"); 2163 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"references"); // Invalid query 2170 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2176 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"of"); // Invalid query 2183 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2190 throw new ArgumentException(RC.GetString("INVALID_QUERY")); // Invalid query 2200 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"where"); // 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")); 2490 throw new ArgumentException (RC.GetString("INVALID_QUERY"),"queryOrEventClassName"); 3031 throw new ArgumentException(RC.GetString("INVALID_QUERY")); 3035 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"*"); 3041 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"from"); 3111 throw new ArgumentException(RC.GetString("INVALID_QUERY"),"having");
propertyset.cs (1)
149 throw new ArgumentException(null,"index");
qualifierset.cs (1)
215 throw new ArgumentException(null, "index");
System.Runtime.Caching (19)
System\Caching\Configuration\ConfigUtil.cs (5)
30throw new ArgumentException(RH.Format(R.Value_must_be_non_negative_integer, valueName, sValue), "config"); 33throw new ArgumentException(RH.Format(R.Value_must_be_positive_integer, valueName, sValue), "config"); 37throw new ArgumentException(RH.Format(R.Value_too_big, 59throw new ArgumentException(RH.Format(R.TimeSpan_invalid_format, valueName, sValue), "config"); 76throw new ArgumentException(RH.Format(R.Value_must_be_boolean, valueName, sValue), "config");
System\Caching\FileChangeNotificationSystem.cs (1)
131throw new ArgumentException(R.Invalid_state,"state");
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 (11)
214throw new ArgumentException(R.Invalid_expiration_combination, "policy"); 221throw new ArgumentException(R.Invalid_callback_combination, "policy"); 294throw new ArgumentException(R.Empty_string_invalid, "name"); 297throw new ArgumentException(R.Default_is_reserved, "name"); 312throw new ArgumentException(R.Empty_string_invalid, "name"); 315throw new ArgumentException(R.Default_is_reserved, "name"); 343throw new ArgumentException(R.Update_callback_must_be_null, "policy"); 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 (58)
system\security\cryptography\cryptoapi.cs (1)
2778throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidValue"), "lpszStoreProvider");
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\dataprotector.cs (3)
36throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_DataProtector_InvalidAppNameOrPurpose"), "applicationName"); 38throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_DataProtector_InvalidAppNameOrPurpose"), "primaryPurpose"); 47throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_DataProtector_InvalidAppNameOrPurpose"), "specificPurposes");
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 (2)
43throw new ArgumentException(SecurityResources.GetResourceString("Arg_EmptyOrNullString"), "oid.Value"); 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 (2)
303throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_InvalidContextHandle"), "pCertContext"); 375throw new ArgumentException("pCertContext");
system\security\cryptography\xml\c14nutil.cs (5)
601throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "node"); 619throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 643throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 669throw new ArgumentException(); 683throw new ArgumentException();
system\security\cryptography\xml\canonicalxml.cs (1)
55throw new ArgumentException("nodeList");
system\security\cryptography\xml\encryptedkey.cs (3)
239throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 261throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 296throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value");
system\security\cryptography\xml\encryptedtype.cs (6)
295throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 311throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 323throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 335throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 347throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value"); 387throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "value");
system\security\cryptography\xml\exccanonicalxml.cs (1)
49throw new ArgumentException("nodeList");
system\security\cryptography\xml\keyinfo.cs (2)
469throw new ArgumentException(SecurityResources.GetResourceString("Arg_EmptyOrNullString"), "issuerName"); 471throw new ArgumentException(SecurityResources.GetResourceString("Arg_EmptyOrNullString"), "serialNumber");
system\security\cryptography\xml\transform.cs (13)
65throw new ArgumentException( SecurityResources.GetResourceString("ArgumentOutOfRange_Index"), "index"); 414throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "obj"); 424throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 512throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_IncorrectObjectType"), "obj"); 534throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 598if (inputStream == null) throw new ArgumentException("obj"); 653throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 811throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 933throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 1086if (_inputNodeList != null) throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 1089throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 1324throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type"); 1428throw new ArgumentException(SecurityResources.GetResourceString("Cryptography_Xml_TransformIncorrectInputType"), "type");
system\security\permissions\dataprotectionpermission.cs (6)
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)); 131throw new ArgumentException(SecurityResources.GetResourceString("Argument_InvalidClassAttribute"), "securityElement"); 150throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int)flags));
System.ServiceModel (7)
System\ServiceModel\Channels\SecurityChannelListener.cs (2)
1812throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException()); 1982throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException());
System\ServiceModel\Description\ServiceReflector.cs (1)
266throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(e.Message, "name"));
System\ServiceModel\Description\WsdlImporter.cs (1)
625throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(doc.Identifier, e));
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
851return (ArgumentException)TraceUtility.ThrowHelperError(new ArgumentException(message, paramName), msg);
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.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
540throw FxTrace.Exception.AsError(new ArgumentException(exception.Message, "virtualPath", exception));
System.ServiceModel.Internals (1)
System\Runtime\ExceptionTrace.cs (1)
176return TraceException<ArgumentException>(new ArgumentException(message, paramName));
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 (59)
Cache\SqlCacheDependency.cs (6)
314throw new ArgumentException(); 323throw new ArgumentException(); 362throw new ArgumentException(); 369throw new ArgumentException(); 395throw new ArgumentException(); 402throw new ArgumentException();
Compilation\AssemblyBuilder.cs (1)
348throw new ArgumentException(null, name);
Compilation\BuildManager.cs (1)
3374throw new ArgumentException();
DynamicModuleRegistry.cs (1)
26throw new ArgumentException(message, "moduleType");
Hosting\IIS7WorkerRequest.cs (3)
567throw new ArgumentException(null, "asyncResult"); 656throw new ArgumentException(null, "asyncResult"); 1947throw new ArgumentException();
Hosting\ISAPIWorkerRequest.cs (2)
2559throw new ArgumentException(null, "asyncResult"); 2657throw new ArgumentException(null, "asyncResult");
HttpBufferlessInputStream.cs (2)
225throw new ArgumentException(null, "offset"); 227throw new ArgumentException(null, "count");
HttpResponse.cs (1)
774throw new ArgumentException(null, "asyncResult");
ModelBinding\AssociatedMetadataProvider.cs (1)
51throw new ArgumentException(
ModelBinding\AssociatedValidatorProvider.cs (1)
34throw new ArgumentException(
ModelBinding\DataAnnotationsModelValidatorProvider.cs (6)
169throw new ArgumentException( 190throw new ArgumentException( 207throw new ArgumentException( 299throw new ArgumentException( 319throw new ArgumentException( 335throw new ArgumentException(
ModelBinding\Error.cs (6)
17return new ArgumentException(errorString, parameterName); 23return new ArgumentException(errorString, parameterName); 29return new ArgumentException(errorString, "modelBinderType"); 42return new ArgumentException(errorString, "bindingContext"); 49return new ArgumentException(errorString, "bindingContext"); 61return new ArgumentException(errorString, "bindingContext");
Routing\RouteCollection.cs (4)
71throw new ArgumentException( 280throw new ArgumentException( 326throw new ArgumentException( 359throw new ArgumentException(
Routing\RouteParser.cs (8)
104exception = new ArgumentException( 121exception = new ArgumentException( 133exception = new ArgumentException( 221return new ArgumentException( 274return new ArgumentException( 299return new ArgumentException( 309return new ArgumentException( 328return new ArgumentException(
Security\MachineKey.cs (3)
67throw new ArgumentException(null, "encodedData"); 76throw new ArgumentException(null, "encodedData"); 80throw new ArgumentException(null, "encodedData");
State\OutOfProcStateClientManager.cs (4)
154throw new ArgumentException("stateConnectionString"); 197throw new ArgumentException("stateConnectionString"); 207throw new ArgumentException("stateConnectionString"); 219throw new ArgumentException("stateConnectionString");
UI\LiteralControl.cs (1)
142throw new ArgumentException();
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");
Util\FastPropertyAccessor.cs (3)
293throw new ArgumentException(); 394throw new ArgumentException(); 435throw new ArgumentException();
Util\SmtpMail.cs (2)
130throw new ArgumentException(); 149throw new ArgumentException();
VirtualPath.cs (1)
77throw new ArgumentException();
System.Web.ApplicationServices (3)
Security\MembershipProviderCollection.cs (1)
24throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Provider_must_implement_type, typeof(MembershipProvider).ToString()), "provider");
Security\MembershipUser.cs (1)
118throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Membership_provider_name_invalid), "providerName" );
Util\SecurityServices.cs (1)
34throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Parameter_can_not_be_empty, paramName), paramName);
System.Web.DataVisualization (246)
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 (21)
194 throw(new ArgumentException( SR.ExceptionDataPointConverterInvalidSorting, "sortBy")); 200 throw(new ArgumentException( SR.ExceptionDataPointConverterUnavailableSorting(sortBy, series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ), "sortBy")); 370throw (new ArgumentException(SR.ExceptionParameterFormatInvalid, "otherFields")); 407throw (new ArgumentException(SR.ExceptionDataBindSeriesToString, "dataSource")); 602throw new ArgumentException(SR.ExceptionDataPointBindingYValueNotSpecified, "yValues"); 609throw (new ArgumentException(SR.ExceptionDataBindYValuesToString, "yValues")); 630throw (new ArgumentException(SR.ExceptionDataBindXValuesToString, "xValue")); 782throw new ArgumentException(SR.ExceptionDataBindXValuesToString, "xValue"); 786throw new ArgumentException(SR.ExceptionDataBindYValuesToString, "yValue"); 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)); 2416 throw(new ArgumentException( SR.ExceptionDataPointValueNameInvalid, "valueName")); 2421 throw(new ArgumentException( SR.ExceptionDataPointValueNameYIndexIsNotPositive, "valueName")); 2426 throw(new ArgumentException( SR.ExceptionDataPointValueNameYIndexOutOfRange, "valueName")); 2434 throw(new ArgumentException( SR.ExceptionDataPointValueNameInvalid, "valueName")); 2929 throw(new ArgumentException( SR.ExceptionAttributeUnableToDelete));
Common\DataManager\DataSeries.cs (2)
944 throw(new ArgumentException(SR.ExceptionDataSeriesPointTypeUnsupported( type.ToString() ) )); 2141 throw(new ArgumentException( SR.ExceptionMarkerStepNegativeValue, "value"));
Common\Formulas\FormulaHelpers.cs (7)
410throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1109throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1417throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(seriesField)); 1518throw (new ArgumentException(SR.ExceptionFormulaYIndexInvalid, seriesFieldId)); 1537throw new ArgumentException(SR.ExceptionDataPointValueNameInvalid, seriesFieldId); 1608throw (new ArgumentException(SR.ExceptionFormulaYIndexInvalid, seriesFieldId)); 1629throw new ArgumentException(SR.ExceptionDataPointValueNameInvalid, seriesFieldId);
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\AxisScale.cs (1)
1024throw (new ArgumentException(SR.ExceptionAxisScalePositionInvalid, "position"));
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 (9)
798throw (new ArgumentException(SR.ExceptionDataBindYValuesToString, "dataSource")); 1109throw (new ArgumentException(SR.ExceptionDataBindSeriesToString, "dataSource")); 1112throw (new ArgumentException(SR.ExceptionChartDataPointsInsertionFailedYValuesEmpty, "yFields")); 1115throw (new ArgumentException(SR.ExceptionDataBindSeriesGroupByParameterIsEmpty, "seriesGroupByField")); 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\ChartGraphics3D.cs (1)
3763throw (new ArgumentException(SR.ExceptionGraphics3DCoordinatesInvalid, "cubePoints"));
Common\General\ChartSerializer.cs (1)
174 throw (new ArgumentException( SR.ExceptionChartSerializerUnsupportedType( serviceType.ToString())));
Common\General\DataManipulator.cs (14)
1546throw (new ArgumentException(SR.ExceptionDataManipulatorIndexUndefined, "rangeElements")); 1577throw (new ArgumentException(SR.ExceptionDataManipulatorIndexFormatInvalid, "rangeElements")); 1582throw (new ArgumentException(SR.ExceptionDataManipulatorIndexFormatInvalid, "rangeElements")); 1595throw (new ArgumentException(SR.ExceptionDataManipulatorIndexFormatInvalid, "rangeElements")); 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\GridTickMarks.cs (1)
1765throw (new ArgumentException(SR.ExceptionTickMarksIntervalIsNegative, "value"));
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 (4)
3693throw (new ArgumentException(SR.ExceptionTextThresholdIsNegative, "value")); 4934throw (new ArgumentException(SR.ExceptionLegendDockedChartAreaIsMissing((string)legend.DockedToChartArea))); 5011 throw(new ArgumentException( SR.ExceptionLegendDockedChartAreaIsMissing( (string)legend.DockedToChartArea ) ) ); 5543throw (new ArgumentException(SR.ExceptionBackSecondaryColorIsTransparent));
Common\General\LegendColumns.cs (10)
405throw (new ArgumentException(SR.ExceptionSeriesSymbolSizeIsNegative, "value")); 711throw (new ArgumentException(SR.ExceptionMinimumCellWidthIsWrong, "value")); 738throw (new ArgumentException(SR.ExceptionMaximumCellWidthIsWrong, "value")); 1196throw (new ArgumentException(SR.ExceptionLegendCellImageSizeIsNegative, "value")); 1222throw (new ArgumentException(SR.ExceptionLegendCellSeriesSymbolSizeIsNegative, "value")); 1268throw (new ArgumentException(SR.ExceptionLegendCellSpanIsLessThenOne, "value")); 2596throw (new ArgumentException(SR.ExceptionMarginTopIsNegative, "value")); 2623throw (new ArgumentException(SR.ExceptionMarginBottomIsNegative, "value")); 2650throw (new ArgumentException(SR.ExceptionMarginLeftIsNegative, "value")); 2677throw (new ArgumentException(SR.ExceptionMarginRightIsNegative, "value"));
Common\General\StripLine.cs (1)
967throw (new ArgumentException(SR.ExceptionStripLineWidthIsNegative, "value"));
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 (8)
1231throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid)); 1237throw (new ArgumentException(SR.ExceptionChartSerializerClassNameUndefined)); 1241throw (new ArgumentException(SR.ExceptionChartSerializerPropertyNameUndefined)); 1247throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid)); 1379throw (new ArgumentException(SR.ExceptionChartSerializerWriterObjectInvalid, "writer")); 1931throw (new ArgumentException(SR.ExceptionChartSerializerReaderObjectInvalid, "reader")); 2254throw (new ArgumentException(SR.ExceptionChartSerializerDestinationObjectInvalid, "destination")); 2862throw (new ArgumentException(SR.ExceptionChartSerializerSourceObjectInvalid, "source"));
WebForm\ChartWebControl.cs (9)
756 throw( new ArgumentException(SR.ExceptionImageUrlInvalidFormat, "imageURL")); 762throw (new ArgumentException(SR.ExceptionImageUrlInvalidFormat, "imageURL")); 769throw (new ArgumentException(SR.ExceptionImageUrlInvalidFormat, "imageURL")); 777throw (new ArgumentException(SR.ExceptionImageUrlInvalidFormat, "imageURL")); 783 throw( new ArgumentException( SR.ExceptionImageUrlInvalidFormat, "imageURL")); 810 throw( new ArgumentException( SR.ExceptionImageUrlMissedFormatter, "imageUrl")); 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 (10)
DynamicData\MetaModel.cs (8)
177throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextFactoryReturnsNull), "contextFactory"); 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,
DynamicData\ModelProviders\AssociationProvider.cs (1)
115throw new ArgumentException(DynamicDataResources.AssociationProvider_SortColumnDoesNotBelongToEndTable, "sortColumn");
DynamicData\QueryStringHandler.cs (1)
12throw new ArgumentException(
System.Web.Extensions (79)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (2)
149throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 243throw new ArgumentException(AtlasWeb.ServiceUriNotFound);
ClientServices\Providers\ClientRoleProvider.cs (3)
93throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 118throw new ArgumentException(AtlasWeb.ArgumentMustBeCurrentUser, "username"); 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);
ClientServices\Providers\ClientWindowsAuthenticationMembershipProvider.cs (2)
31throw new ArgumentException(AtlasWeb.ArgumentMustBeNull, "password"); 33throw new ArgumentException(AtlasWeb.ArgumentMustBeNull, "username");
ClientServices\Providers\ProxyHelper.cs (1)
122throw new ArgumentException(null, "paramValues");
ClientServices\Providers\SqlHelper.cs (2)
57throw new ArgumentException(AtlasWeb.SqlHelper_SqlEverywhereNotInstalled, e); 204throw new ArgumentException(AtlasWeb.SqlHelper_SqlEverywhereNotInstalled, e);
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 (3)
34throw new ArgumentException(AtlasWeb.JSON_MaxJsonLengthExceeded, "input"); 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,
Script\Services\WebServiceData.cs (1)
272throw new ArgumentException(
UI\ApplicationServiceManager.cs (1)
30throw new ArgumentException(AtlasWeb.AppService_MultiplePaths);
UI\PageRequestManager.cs (5)
226return new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_InvalidControlRegistration, control.ID)); 580throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 604throw new ArgumentException( 627throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 918throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_UpdatePanelNotRegistered, updatePanel.ID), "updatePanel");
UI\ProfileServiceManager.cs (1)
204throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_UnknownProfileProperty, fullPropertyName));
UI\ScriptComponentDescriptor.cs (9)
33throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "type"); 42throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "elementID"); 114throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "value"); 123throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "componentID"); 131throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "elementID"); 138throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "name"); 141throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "handler"); 152throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "name"); 160throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "script");
UI\ScriptControlManager.cs (4)
193throw new ArgumentException( 202throw new ArgumentException( 229throw new ArgumentException( 239throw new ArgumentException(
UI\ScriptRegistrationManager.cs (10)
175throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 192throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 215throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 236throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 250throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 283throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 338throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 360throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 380throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control"); 403throw new ArgumentException(AtlasWeb.ScriptRegistrationManager_ControlNotOnPage, "control");
UI\ScriptResourceAttribute.cs (1)
43throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "scriptName");
UI\ScriptResourceMapping.cs (4)
20throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "name"); 26throw new ArgumentException(AtlasWeb.ScriptResourceDefinition_NameAndPathCannotBeEmpty, "definition"); 56throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "name"); 84throw new ArgumentException(AtlasWeb.Common_NullOrEmpty, "name");
UI\ServiceReference.cs (1)
73throw new ArgumentException(
UI\WebControls\DataPagerFieldCollection.cs (1)
181throw new ArgumentException(AtlasWeb.PagerFieldCollection_InvalidType);
UI\WebControls\Dynamic.cs (1)
208if (typeArgs == null || typeArgs.Length < 1 || typeArgs.Length > 5) throw new ArgumentException();
UI\WebControls\QueryableDataSource.cs (1)
77throw new ArgumentException(String.Format(CultureInfo.InvariantCulture,
System.Web.Services (5)
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\Web\Services\Description\ServiceDescription.cs (1)
2835throw new ArgumentException(GetDuplicateMessage(value.GetType(), key), e.InnerException);
System.Windows.Forms (28)
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\ComponentModel\COM2Interop\COM2AboutBoxPropertyDescriptor.cs (1)
132throw new ArgumentException();
winforms\Managed\System\WinForms\Control.cs (1)
6159throw new ArgumentException("targetBounds");
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
56throw new ArgumentException(); 88throw new ArgumentException();
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");
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
465throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfTypes, contentPanelType.Name, panelType.Name)), value.GetType().Name);
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeof(ToolStrip).Name)), control.GetType().Name);
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
561throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeOfControl.Name)), value.GetType().Name);
System.Windows.Forms.DataVisualization (236)
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 (21)
194 throw(new ArgumentException( SR.ExceptionDataPointConverterInvalidSorting, "sortBy")); 200 throw(new ArgumentException( SR.ExceptionDataPointConverterUnavailableSorting(sortBy, series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ), "sortBy")); 370throw (new ArgumentException(SR.ExceptionParameterFormatInvalid, "otherFields")); 407throw (new ArgumentException(SR.ExceptionDataBindSeriesToString, "dataSource")); 602throw new ArgumentException(SR.ExceptionDataPointBindingYValueNotSpecified, "yValues"); 609throw (new ArgumentException(SR.ExceptionDataBindYValuesToString, "yValues")); 630throw (new ArgumentException(SR.ExceptionDataBindXValuesToString, "xValue")); 782throw new ArgumentException(SR.ExceptionDataBindXValuesToString, "xValue"); 786throw new ArgumentException(SR.ExceptionDataBindYValuesToString, "yValue"); 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)); 2416 throw(new ArgumentException( SR.ExceptionDataPointValueNameInvalid, "valueName")); 2421 throw(new ArgumentException( SR.ExceptionDataPointValueNameYIndexIsNotPositive, "valueName")); 2426 throw(new ArgumentException( SR.ExceptionDataPointValueNameYIndexOutOfRange, "valueName")); 2434 throw(new ArgumentException( SR.ExceptionDataPointValueNameInvalid, "valueName")); 2929 throw(new ArgumentException( SR.ExceptionAttributeUnableToDelete));
Common\DataManager\DataSeries.cs (2)
944 throw(new ArgumentException(SR.ExceptionDataSeriesPointTypeUnsupported( type.ToString() ) )); 2141 throw(new ArgumentException( SR.ExceptionMarkerStepNegativeValue, "value"));
Common\Formulas\FormulaHelpers.cs (7)
410throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1109throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(parameters)); 1417throw new ArgumentException(SR.ExceptionFormulaDataFormatInvalid(seriesField)); 1518throw (new ArgumentException(SR.ExceptionFormulaYIndexInvalid, seriesFieldId)); 1537throw new ArgumentException(SR.ExceptionDataPointValueNameInvalid, seriesFieldId); 1608throw (new ArgumentException(SR.ExceptionFormulaYIndexInvalid, seriesFieldId)); 1629throw new ArgumentException(SR.ExceptionDataPointValueNameInvalid, seriesFieldId);
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\AxisScale.cs (1)
1024throw (new ArgumentException(SR.ExceptionAxisScalePositionInvalid, "position"));
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 (9)
798throw (new ArgumentException(SR.ExceptionDataBindYValuesToString, "dataSource")); 1109throw (new ArgumentException(SR.ExceptionDataBindSeriesToString, "dataSource")); 1112throw (new ArgumentException(SR.ExceptionChartDataPointsInsertionFailedYValuesEmpty, "yFields")); 1115throw (new ArgumentException(SR.ExceptionDataBindSeriesGroupByParameterIsEmpty, "seriesGroupByField")); 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\ChartGraphics3D.cs (1)
3763throw (new ArgumentException(SR.ExceptionGraphics3DCoordinatesInvalid, "cubePoints"));
Common\General\ChartSerializer.cs (1)
174 throw (new ArgumentException( SR.ExceptionChartSerializerUnsupportedType( serviceType.ToString())));
Common\General\DataManipulator.cs (14)
1546throw (new ArgumentException(SR.ExceptionDataManipulatorIndexUndefined, "rangeElements")); 1577throw (new ArgumentException(SR.ExceptionDataManipulatorIndexFormatInvalid, "rangeElements")); 1582throw (new ArgumentException(SR.ExceptionDataManipulatorIndexFormatInvalid, "rangeElements")); 1595throw (new ArgumentException(SR.ExceptionDataManipulatorIndexFormatInvalid, "rangeElements")); 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\GridTickMarks.cs (1)
1765throw (new ArgumentException(SR.ExceptionTickMarksIntervalIsNegative, "value"));
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 (4)
3693throw (new ArgumentException(SR.ExceptionTextThresholdIsNegative, "value")); 4934throw (new ArgumentException(SR.ExceptionLegendDockedChartAreaIsMissing((string)legend.DockedToChartArea))); 5011 throw(new ArgumentException( SR.ExceptionLegendDockedChartAreaIsMissing( (string)legend.DockedToChartArea ) ) ); 5543throw (new ArgumentException(SR.ExceptionBackSecondaryColorIsTransparent));
Common\General\LegendColumns.cs (10)
405throw (new ArgumentException(SR.ExceptionSeriesSymbolSizeIsNegative, "value")); 711throw (new ArgumentException(SR.ExceptionMinimumCellWidthIsWrong, "value")); 738throw (new ArgumentException(SR.ExceptionMaximumCellWidthIsWrong, "value")); 1196throw (new ArgumentException(SR.ExceptionLegendCellImageSizeIsNegative, "value")); 1222throw (new ArgumentException(SR.ExceptionLegendCellSeriesSymbolSizeIsNegative, "value")); 1268throw (new ArgumentException(SR.ExceptionLegendCellSpanIsLessThenOne, "value")); 2596throw (new ArgumentException(SR.ExceptionMarginTopIsNegative, "value")); 2623throw (new ArgumentException(SR.ExceptionMarginBottomIsNegative, "value")); 2650throw (new ArgumentException(SR.ExceptionMarginLeftIsNegative, "value")); 2677throw (new ArgumentException(SR.ExceptionMarginRightIsNegative, "value"));
Common\General\StripLine.cs (1)
967throw (new ArgumentException(SR.ExceptionStripLineWidthIsNegative, "value"));
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 (8)
1231throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid)); 1237throw (new ArgumentException(SR.ExceptionChartSerializerClassNameUndefined)); 1241throw (new ArgumentException(SR.ExceptionChartSerializerPropertyNameUndefined)); 1247throw (new ArgumentException(SR.ExceptionChartSerializerContentStringFormatInvalid)); 1379throw (new ArgumentException(SR.ExceptionChartSerializerWriterObjectInvalid, "writer")); 1931throw (new ArgumentException(SR.ExceptionChartSerializerReaderObjectInvalid, "reader")); 2254throw (new ArgumentException(SR.ExceptionChartSerializerDestinationObjectInvalid, "destination")); 2862throw (new ArgumentException(SR.ExceptionChartSerializerSourceObjectInvalid, "source"));
System.Workflow.Activities (81)
Common\CompModHelpers.cs (1)
453throw new ArgumentException("inputName");
Common\DelegateTypeInfo.cs (1)
67throw new ArgumentException("delegateClass");
Conditional.cs (2)
131throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 145throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(IfElseActivity).FullName), "obj");
ConditionalBranch.cs (1)
68throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(IfElseBranchActivity).FullName), "obj");
ConstrainedGroup.cs (7)
61throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject"); 71throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject"); 99throw new ArgumentException(SR.GetString(SR.Error_CAGChildNotFound, childActivity.QualifiedName, this.QualifiedName), "childActivity"); 130throw new ArgumentException(SR.GetString(SR.Error_CAGChildNotFound, childActivityName, this.QualifiedName), "childActivityName"); 147throw new ArgumentException(SR.GetString(SR.Error_CAGChildNotFound, child.QualifiedName, this.QualifiedName), "child"); 501throw new ArgumentException(SR.GetString(SR.Error_InvalidCAGActivityType), "activity"); 808throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ConditionedActivityGroup).FullName), "obj");
CorrelationValidator.cs (2)
32throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj"); 817throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
Delay.cs (1)
283throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender");
EventDriven.cs (1)
63throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(EventDrivenActivity).FullName), "obj");
EventHandlers.cs (6)
246throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 317throw new ArgumentException("sender"); 395throw new ArgumentException("sender"); 430throw new ArgumentException(SR.GetString(SR.Error_EventHandlersChildNotFound), "childActivity"); 461throw new ArgumentException(SR.GetString(SR.Error_EventHandlersChildNotFound), "childActivityName"); 473throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(EventHandlersActivity).FullName), "obj");
EventHandlingScope.cs (2)
108throw new ArgumentException(); 215throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(EventHandlingScopeActivity).FullName), "obj");
EventSinkActivity.cs (1)
493throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(HandleExternalEventActivity).FullName), "obj");
Executors\Helpers.cs (1)
23throw new ArgumentException("ownerActivity");
Executors\InboundActivityHelper.cs (1)
49throw new ArgumentException(SR.GetString(SR.Error_InvalidEventMessage, activity.QualifiedName));
InvokeMethodActivity.cs (2)
190throw new ArgumentException( 292throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CallExternalMethodActivity).FullName), "obj");
InvokeSchedule.cs (1)
197throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(InvokeWorkflowActivity).FullName), "obj");
InvokeWebService.cs (1)
431throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(InvokeWebServiceActivity).FullName), "obj");
Listen.cs (3)
232throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 260throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 297throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ListenActivity).FullName), "obj");
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 (3)
72throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 91throw new ArgumentException( 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
Parallel.cs (2)
152throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 202throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ParallelActivity).FullName), "obj");
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\DeclarativeExpressionConditionDeclaration.cs (1)
346throw new ArgumentException(message, "obj");
Rules\Design\LogicalExpressionEditor.cs (2)
54throw new ArgumentException(message); 220throw new ArgumentException(message);
Rules\Design\LogicalExpressionTypeConverter.cs (3)
253throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Messages.NotARuleConditionReference, "component"), "component"); 268throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Messages.NotARuleConditionReference, "component"), "component"); 342throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Messages.NotARuleConditionReference, "component"), "component");
Rules\RuleSet.cs (1)
132throw new ArgumentException(SR.GetString(SR.Error_MissingValidationProperty), "ruleExecution");
Rules\RuleSetCollection.cs (2)
41throw new ArgumentException(message); 76throw new ArgumentException(message);
Rules\RuleSetReference.cs (1)
103throw new ArgumentException(message, "obj");
Sequence.cs (2)
116throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 123throw new ArgumentException("sender");
SetState.cs (1)
85throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateActivity).FullName), "obj");
State.cs (4)
72throw new ArgumentException(SR.GetString(SR.Error_StateChildNotFound), "childActivity"); 103throw new ArgumentException(SR.GetString(SR.Error_StateChildNotFound), "childActivityName"); 359throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 372throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender");
StateFinalizationActivity.cs (1)
50throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateFinalizationActivity).FullName), "obj");
StateInitialization.cs (1)
50throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateInitializationActivity).FullName), "obj");
StateMachineSubscription.cs (1)
50throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender");
StateMachineWorkflowInstance.cs (1)
48throw new ArgumentException(SR.GetStateMachineWorkflowRequired(), "instanceId");
StateValidator.cs (1)
38throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StateActivity).FullName), "obj");
Task.cs (5)
489throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 773throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 1118throw new ArgumentException(SR.GetString(SR.Error_MultiDimensionalArray), "array"); 1124throw new ArgumentException(SR.GetString(SR.Error_InsufficientArrayPassedIn), "array"); 1243throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ReplicatorActivity).FullName), "obj");
WebServiceFault.cs (1)
177throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WebServiceFaultActivity).FullName), "obj");
WebServiceReceive.cs (1)
482throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WebServiceInputActivity).FullName), "obj");
WebServiceResponse.cs (1)
302throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WebServiceOutputActivity).FullName), "obj");
While.cs (2)
148throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 169throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(WhileActivity).FullName), "obj");
System.Workflow.ComponentModel (171)
AuthoringOM\ActivitiesCollection.cs (1)
24throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "owner");
AuthoringOM\Activity.cs (7)
50throw new ArgumentException(SR.GetString(SR.Error_WrongParamForActivityResolveEventArgs)); 764throw new ArgumentException(); 793throw new ArgumentException(); 1962throw new ArgumentException(SR.GetString(SR.GetDynamicActivities_InvalidActivity), "activity"); 1988throw new ArgumentException(SR.GetString(SR.Error_InvalidServiceProvider, "provider")); 2258throw new ArgumentException(); 2279throw new ArgumentException("definitionActivity");
AuthoringOM\ActivityExecutionContext.cs (5)
200throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 230throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 264throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 287throw new ArgumentException(SR.GetString(SR.AEC_InvalidNestedActivity), "activity"); 693throw new ArgumentException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_DOIsNotAnActivity));
AuthoringOM\ActivityExecutionContextCollection.cs (8)
65throw new ArgumentException(SR.GetString(SR.AEC_InvalidActivity), "activity"); 158throw new ArgumentException("childContext", SR.GetString(SR.Error_MissingActivityProperty)); 161throw new ArgumentException("childContext", SR.GetString(SR.Error_MissingContextActivityProperty)); 164throw new ArgumentException(); 173throw new ArgumentException(); 276throw new ArgumentException(); 289throw new ArgumentException(); 329throw new ArgumentException();
AuthoringOM\ActivityExecutor.cs (4)
98throw new ArgumentException(SR.Error_InvalidActivityExecutionContext, "executionContext"); 112throw new ArgumentException(SR.Error_InvalidActivityExecutionContext, "executionContext"); 125throw new ArgumentException(SR.Error_InvalidActivityExecutionContext, "executionContext"); 210throw new ArgumentException(
AuthoringOM\Behaviors\CancellationHandler.cs (1)
71throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CancellationHandlerActivity).FullName), "obj");
AuthoringOM\Behaviors\Compensate.cs (2)
79throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 211throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CompensateActivity).FullName), "obj");
AuthoringOM\Behaviors\Compensation.cs (1)
72throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CompensationHandlerActivity).FullName), "obj");
AuthoringOM\Behaviors\ExceptionHandler.cs (1)
165throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(FaultHandlerActivity).FullName), "obj");
AuthoringOM\Behaviors\ExceptionHandlers.cs (2)
105throw new ArgumentException(SR.Error_SenderMustBeActivityExecutionContext, "sender"); 160throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(FaultHandlersActivity).FullName), "obj");
AuthoringOM\Bind.cs (3)
258throw new ArgumentException(SR.GetString(SR.Error_EmptyPathValue), "path"); 316throw new ArgumentException(SR.GetString(SR.Error_EmptyPathValue), "path"); 1029throw new ArgumentException(SR.GetString(SR.Error_EmptyPathValue), "path");
AuthoringOM\Compiler\CodeGeneration\ActivityCodeGenerator.cs (1)
21throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
AuthoringOM\Compiler\CodeGeneration\CodeGeneratorAttribute.cs (2)
15throw new ArgumentException(SR.GetString(SR.Error_NotCodeGeneratorType), "codeGeneratorType"); 18throw new ArgumentException(SR.GetString(SR.Error_MissingDefaultConstructor, codeGeneratorType.FullName), "codeGeneratorType");
AuthoringOM\Compiler\CodeGeneration\CompositeActivityCodeGenerator.cs (1)
20throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CompositeActivity).FullName), "obj");
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
137throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentIndex), "argumentIndex");
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (4)
85throw new ArgumentException(SR.GetString(SR.NotElementType), "elementTypeFullName"); 100throw new ArgumentException(SR.GetString(SR.NotElementType), "elementTypeFullName"); 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\RTTypeWrapper.cs (6)
64throw new ArgumentException(SR.GetString(SR.Error_InvalidRuntimeType), "runtimeType"); 85throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "runtimeType"); 91throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "runtimeType"); 98throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "typeArgs"); 566throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "typeArgs"); 572throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "typeArgs");
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (3)
138throw new ArgumentException(TypeSystemSR.GetString("Error_DuplicateCodeCompileUnit"), "codeCompileUnit"); 184throw new ArgumentException(TypeSystemSR.GetString("Error_NoCodeCompileUnit"), "codeCompileUnit"); 794throw new ArgumentException(TypeSystemSR.GetString("Error_TypeIsNotEnum"));
AuthoringOM\Compiler\Validation\ActivityValidator.cs (2)
18throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj"); 21throw new ArgumentException("manager", SR.GetString(SR.Error_MissingContextProperty));
AuthoringOM\Compiler\Validation\BindValidator.cs (4)
44throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(FieldBind).FullName), "obj"); 229throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(PropertyBind).FullName), "obj"); 426throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(MethodBind).FullName), "obj"); 586throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ActivityBind).FullName), "obj");
AuthoringOM\Compiler\Validation\CompositeActivityValidator.cs (1)
14throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(CompositeActivity).FullName), "obj");
AuthoringOM\Compiler\Validation\ConditionValidator.cs (1)
14throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ActivityCondition).FullName), "obj");
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
23throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "obj");
AuthoringOM\Compiler\Validation\TransactionContextValidator.cs (1)
19throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
AuthoringOM\Compiler\XomlCompiler.cs (1)
601throw new ArgumentException("filename");
AuthoringOM\DependencyObject.cs (19)
115throw new ArgumentException(SR.GetString(SR.Error_DPReadOnly), "dependencyProperty"); 118throw new ArgumentException(SR.GetString(SR.Error_MissingOwnerTypeProperty), "dependencyProperty"); 127throw new ArgumentException(SR.GetString(SR.Error_DPMetaPropertyBinding), "dependencyProperty"); 160throw new ArgumentException(SR.GetString(SR.Error_DPGetValueHandler), "dependencyProperty"); 249throw new ArgumentException(SR.GetString(SR.Error_DPReadOnly), "dependencyProperty"); 251throw new ArgumentException(SR.GetString(SR.Error_DPSetValueBind), "value"); 253throw new ArgumentException(SR.GetString(SR.Error_DPSetValueHandler), "dependencyProperty"); 264throw new ArgumentException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyProperty.PropertyType.FullName, dependencyProperty.Name, value.GetType().FullName }), "value"); 332throw new ArgumentException(SR.GetString(SR.Error_DPSetValueBind), "value"); 335throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerMetaProperty), "dependencyEvent"); 338throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent"); 341throw new ArgumentException(SR.GetString(SR.Error_DPPropertyTypeMissing), "dependencyEvent"); 344throw new ArgumentException(SR.GetString(SR.Error_MissingOwnerTypeProperty), "dependencyEvent"); 350throw new ArgumentException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyEvent.PropertyType.FullName, dependencyEvent.Name, value.GetType().FullName }), "value"); 378throw new ArgumentException(SR.GetString(SR.Error_DPRemoveHandlerBind), "value"); 381throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerMetaProperty), "dependencyEvent"); 384throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent"); 404throw new ArgumentException("dependencyEvent"); 563throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent");
AuthoringOM\DependencyProperty.cs (5)
109throw new ArgumentException(SR.GetString(SR.Error_ValidatorTypeIsInvalid), "validatorType"); 170throw new ArgumentException(SR.GetString(SR.Error_EmptyArgument), "name"); 183throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerMetaProperty), "defaultMetadata"); 194throw new ArgumentException(error, "ownerType"); 232throw new ArgumentException(SR.GetString(SR.Error_EmptyArgument), "name");
AuthoringOM\Design\ActivityDesigner.cs (1)
2317throw new ArgumentException(DR.GetString(DR.Error_InvalidActivity), "component");
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (1)
48throw new ArgumentException(DR.GetString(DR.DesignerNotInitialized), "activityDesigner");
AuthoringOM\Design\ComponentSerializationService.cs (1)
170throw new ArgumentException("value");
AuthoringOM\Design\CompositeActivityDesigner.cs (4)
431throw new ArgumentException("compositeActivityDesigner"); 454throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry)); 753throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry)); 830throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry));
AuthoringOM\Design\Connector.cs (5)
77throw new ArgumentException(DR.GetString(DR.Error_ConnectionPoint), "connectionIndex"); 218throw new ArgumentException(DR.GetString(DR.Error_Connector1)); 258throw new ArgumentException(SR.GetString(SR.Error_InvalidConnectorSource), "value"); 282throw new ArgumentException(SR.GetString(SR.Error_InvalidConnectorSource), "value"); 1848throw new ArgumentException(DR.GetString(DR.Error_Connector2));
AuthoringOM\Design\DesignerHelpers.cs (7)
426throw new ArgumentException(SR.GetString(SR.Error_InvalidShadowRectangle), "shadowRectangle"); 429throw new ArgumentException(SR.GetString(SR.Error_InvalidShadowDepth), "shadowDepth"); 432throw new ArgumentException(SR.GetString(SR.Error_InvalidLightSource), "lightSourceIntensity"); 750throw new ArgumentException(SR.GetString(SR.Error_EmptyRectangleValue), "rectangle"); 753throw new ArgumentException(SR.GetString(SR.Error_InvalidRadiusValue), "radius"); 1363throw new ArgumentException("activity"); 1577throw new ArgumentException("component");
AuthoringOM\Design\DesignerInterfaces.cs (2)
708throw new ArgumentException(SR.GetString(SR.Error_InvalidConnectorValue), "connector"); 782throw new ArgumentException(SR.GetString(SR.Error_NullOrEmptyValue), "text");
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\Dialogs\ThemeConfigurationDialog.cs (1)
771throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "treeNodes");
AuthoringOM\Design\FreeFormDesigner.cs (7)
423throw new ArgumentException("source", SR.GetString(SR.Error_AssociatedDesignerMissing)); 429throw new ArgumentException("target", SR.GetString(SR.Error_AssociatedDesignerMissing)); 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\MessageFilters\DynamicActionMessageFilter.cs (1)
627throw new ArgumentException(SR.GetString(SR.Error_InvalidStateImages), "value");
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\StructuredCompositeActivityDesigner.cs (1)
322throw new ArgumentException("activitiesToInsert", SR.GetString(SR.Error_CollectionHasNullEntry));
AuthoringOM\Design\Themes.cs (1)
496throw new ArgumentException(DR.GetString(DR.ThemePathNotValid), "themeFilePath");
AuthoringOM\Design\WorkflowLayouts.cs (1)
718throw new ArgumentException("graphics");
AuthoringOM\Design\WorkflowView.cs (1)
789throw new ArgumentException(SR.GetString(SR.Error_EmptyToolTipRectangle));
AuthoringOM\Design\XomlDesignerLoader.cs (1)
272throw new ArgumentException(SR.GetString(SR.Error_ParameterCannotBeEmpty), "manifestResourceName");
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\ScheduleChanges.cs (7)
47throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid2), "rootActivity"); 73throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject"); 83throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "dependencyObject"); 155throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid), "activity"); 167throw new ArgumentException(SR.GetString(SR.Error_WorkflowDefinitionModified), "activity"); 739throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid), "rootActivity"); 862throw new ArgumentException(SR.GetString(SR.Error_RootActivityTypeInvalid), "rootActivity");
AuthoringOM\Serializer\ActivityCodeDomSerializer.cs (1)
40throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
AuthoringOM\Serializer\ActivityCollectionMarkupSerializer.cs (2)
20throw new ArgumentException(SR.GetString(SR.Error_SerializerTypeMismatch, typeof(ActivityCollection).FullName), "obj"); 43throw new ArgumentException(SR.GetString(SR.Error_SerializerTypeMismatch, typeof(ActivityCollection).FullName), "obj");
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (2)
43throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj"); 157throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "obj");
AuthoringOM\Serializer\ActivitySurrogateSelector.cs (3)
128throw new ArgumentException("obj"); 160throw new ArgumentException("context"); 178throw new ArgumentException("context");
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
84throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "root"); 118throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(Activity).FullName), "members");
AuthoringOM\Serializer\BindMarkupExtensionSerializer.cs (1)
20throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ActivityBind).FullName), "value");
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (2)
34throw new ArgumentException("manager", SR.GetString(SR.Error_MissingContextProperty)); 41throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(DependencyObject).FullName), "obj");
AuthoringOM\Serializer\DependencyStoreSurrogate.cs (1)
20throw new ArgumentException("obj");
AuthoringOM\Serializer\DictionarySurrogate.cs (2)
18throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 22throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\GenericQueueSurrogate.cs (2)
19throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 23throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\ListSurrogate.cs (2)
19throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj"); 23throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
177throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(MarkupExtension).FullName), "value");
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (1)
35throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(StringCollection).FullName), "obj");
AuthoringOM\Serializer\TypeExtensionSerializer.cs (1)
20throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(TypeExtension).FullName), "value");
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
1571throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Serializer\XmlDocumentSurrogate.cs (1)
18throw new ArgumentException(SR.GetString(SR.Error_InvalidArgumentValue), "obj");
AuthoringOM\Suspend.cs (1)
88throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(SuspendActivity).FullName), "obj");
Shared\CompModHelpers.cs (1)
451throw new ArgumentException("inputName");
Shared\DelegateTypeInfo.cs (1)
66throw new ArgumentException("delegateClass");
System.Workflow.Runtime (37)
Hosting\DbResourceAllocator.cs (2)
127throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 371throw new ArgumentException(
Hosting\DefaultWorkflowSchedulerService.cs (6)
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")); 133throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId"), "timerId");
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"));
Hosting\SqlWorkflowPersistenceService.cs (1)
791throw new ArgumentException(
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");
Tracking\SqlTrackingService.cs (4)
1379throw new ArgumentException(); 1534throw new ArgumentException(); 1695throw new ArgumentException(); 1832throw new ArgumentException();
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 (4)
157throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 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 (6)
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\Workflow\Runtime\Hosting\ChannelManagerService.cs (3)
89ArgumentException exception = new ArgumentException( 106ArgumentException exception = new ArgumentException( 123ArgumentException exception = new ArgumentException(
System.Xml (2)
System\Xml\Core\XmlTextReaderImpl.cs (1)
7330throw new ArgumentException( ( incReadDecoder is IncrementalReadCharsDecoder ) ? "count" : "len" );
System\Xml\Serialization\CodeIdentifiers.cs (1)
26throw new ArgumentException(null, "obj");
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
1288throw new ArgumentException(name);
WindowsBase (2)
Base\MS\Internal\Verify.cs (1)
84throw new ArgumentException(message, name);
Shared\System\Windows\InterOp\OSVersionHelper.cs (1)
278throw new ArgumentException(string.Format("{0} is not a valid OS!", osVer.ToString()), "osVer");
WsatConfig (1)
Configuration\StdRegProviderWrapper.cs (1)
74throw new ArgumentException("remoteHive");
WsatUI (1)
Configuration\StdRegProviderWrapper.cs (1)
74throw new ArgumentException("remoteHive");
1621 references to ArgumentException
ComSvcConfig (3)
ComAdminWrapper.cs (1)
652catch (ArgumentException)
Tool.cs (2)
889catch (ArgumentException) 933catch (ArgumentException ae)
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\WorkflowBuildMessageTask.cs (1)
64catch (ArgumentException)
mscorlib (57)
system\Collections\Concurrent\ConcurrentQueue.cs (2)
151/// <exception cref="ArgumentException"> 437/// <exception cref="ArgumentException"><paramref name="index"/> is equal to or greater than the
system\Collections\Concurrent\ConcurrentStack.cs (4)
284/// <exception cref="ArgumentException"> 323/// <exception cref="ArgumentException"><paramref name="index"/> is equal to or greater than the 403/// <exception cref="ArgumentException"><paramref name="startIndex"/> + <paramref name="count"/> is 615/// <exception cref="ArgumentException"><paramref name="startIndex"/> + <paramref name="count"/> is
system\Collections\Concurrent\IProducerConsumerCollection.cs (1)
48/// <exception cref="ArgumentException"><paramref name="index"/> is equal to or greater than the
system\datetimeoffset.cs (1)
553catch (ArgumentException e) {
system\decimal.cs (2)
316} catch (ArgumentException e) { 326} catch (ArgumentException e) {
system\globalization\calendar.cs (1)
772catch (ArgumentException) {
system\globalization\culturedata.cs (1)
821catch (ArgumentException) { }
system\globalization\cultureinfo.cs (4)
608catch (ArgumentException) 631} catch(ArgumentException) { 644} catch(ArgumentException) { 1826catch(ArgumentException)
system\globalization\hebrewcalendar.cs (1)
704catch (ArgumentException)
system\globalization\hijricalendar.cs (2)
274catch (ArgumentException) { return 0; } 296catch (ArgumentException) { }
system\globalization\japanesecalendar.cs (1)
355} catch (ArgumentException e) {
system\globalization\koreancalendar.cs (1)
103} catch (ArgumentException e) {
system\globalization\taiwancalendar.cs (1)
100} catch (ArgumentException e) {
system\guid.cs (1)
458catch (ArgumentException ex) {
system\io\__error.cs (1)
103catch (ArgumentException) {
system\io\binaryreader.cs (1)
238catch (ArgumentException e) {
system\io\directory.cs (1)
415catch (ArgumentException) { }
system\io\file.cs (1)
447catch (ArgumentException) { }
system\io\longpath.cs (2)
305catch(ArgumentException) {} 918catch (ArgumentException) { }
system\io\path.cs (1)
213catch (ArgumentException) { } // The normalizePath with fullCheck will throw this for file: and http:
system\reflection\module.cs (1)
1103catch(ArgumentException) {
system\resources\manifestbasedresourcegroveler.cs (1)
262catch (ArgumentException e)
system\runtime\remoting\message.cs (1)
3199catch (ArgumentException) { }
system\security\codeaccesspermission.cs (1)
243catch (ArgumentException)
system\security\framesecuritydescriptor.cs (5)
342catch (ArgumentException) 368catch (ArgumentException) 396catch (ArgumentException) 488catch (ArgumentException) 511catch (ArgumentException)
system\security\permissionset.cs (3)
2560catch (ArgumentException) 2599catch (ArgumentException) 2628catch (ArgumentException)
system\security\permissionsettriple.cs (1)
191catch (ArgumentException)
system\security\util\urlstring.cs (2)
170catch(ArgumentException) // Hex.ConvertHexDigit can throw an "out of range" ArgumentException 191catch(ArgumentException) // Hex.ConvertHexDigit can throw an "out of range" ArgumentException
system\timezoneinfo.cs (12)
1227catch (ArgumentException e) { 1916catch (ArgumentException) {} 1924catch (ArgumentException) {} 2438catch (ArgumentException ex) { 2599catch (ArgumentException) { 2824catch (ArgumentException ex) { 3216catch (ArgumentException e) { 3475catch (ArgumentException e) { 3632catch (ArgumentException ex) { 4027catch (ArgumentException e) { 4090catch (ArgumentException e) { 4101catch (ArgumentException e) {
PresentationBuildTasks (5)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
95catch (ArgumentException)
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (1)
211catch (ArgumentException)
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2747catch (ArgumentException)
Framework\System\Windows\SystemResourceKey.cs (1)
396catch (ArgumentException)
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
90catch (ArgumentException)
PresentationCore (46)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
218catch (ArgumentException x)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (2)
32/// <exception cref="System.ArgumentException">Value type must be compatible with attribute Id</exception> 158/// <exception cref="System.ArgumentException">Value type must be compatible with attribute Id</exception>
Core\CSharp\MS\Internal\Ink\ExtendedPropertyCollection.cs (1)
230/// <exception cref="System.ArgumentException">Specified identifier was not found</exception>
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (1)
1003catch (ArgumentException ex)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
178catch (ArgumentException)
Core\CSharp\MS\Internal\IO\Packaging\PreloadedPackages.cs (2)
73/// <exception cref="ArgumentException">uri must be absolute</exception> 86/// <exception cref="ArgumentException">uri must be absolute</exception>
Core\CSharp\MS\Internal\TextFormatting\CultureMapper.cs (1)
66catch (ArgumentException)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (2)
63/// <exception cref="ArgumentException">Will throw an ArgumentException if the given URI is not of the correct scheme</exception> 79/// <exception cref="ArgumentException">Will throw an ArgumentException if the given URI is not of the correct scheme</exception>
Core\CSharp\System\Windows\Clipboard.cs (1)
335catch (ArgumentException)
Core\CSharp\System\Windows\CultureInfoConverter.cs (2)
83/// <exception cref="ArgumentException"> 112/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\DataObject.cs (1)
630catch (ArgumentException e)
Core\CSharp\System\Windows\Documents\DynamicDocumentPaginator.cs (5)
43/// <exception cref="ArgumentException"> 53/// <exception cref="ArgumentException"> 67/// <exception cref="ArgumentException"> 95/// <exception cref="ArgumentException"> 105/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\IContentHost.cs (2)
35/// <exception cref="ArgumentException"> 65/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (3)
423ArgumentException ae = new ArgumentException(SR.Get(SRID.InvalidRemovedStroke), "strokes"); 518ArgumentException ae = new ArgumentException(SR.Get(SRID.EmptyScToReplace), "strokesToReplace"); 531ArgumentException ae = new ArgumentException(SR.Get(SRID.InvalidRemovedStroke), "strokesToReplace");
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (5)
117/// <exception cref="ArgumentException"> 205catch (ArgumentException e) 259catch (ArgumentException e) 300catch (ArgumentException) 725/// <exception cref="ArgumentException">tag is non-empty, but does not conform to RFC 3066.</exception>
Core\CSharp\System\Windows\Markup\XmlLanguageConverter.cs (2)
76/// <exception cref="ArgumentException"> 105/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\Media\Animation\TimelineGroup.cs (1)
148/// <exception cref="ArgumentException">The child parameter is not a
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
116/// <exception cref="System.ArgumentException">
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
577catch (ArgumentException)
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (1)
104/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\Media\Visual.cs (3)
4352/// <exception cref="ArgumentException"> 4376/// <exception cref="ArgumentException"> 4397/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\Media\VisualCollection.cs (4)
346/// <exception cref="ArgumentException">If the new child has already a parent or if the slot a the specified index is not null.</exception> 398/// <exception cref="ArgumentException">If the new child has already a parent or if the slot a the specified index is not null.</exception> 476/// <exception cref="ArgumentException">If the new child has already a parent.</exception> 797/// <exception cref="ArgumentException">
Core\CSharp\System\Windows\Media3D\Visual3D.cs (3)
1638/// <exception cref="ArgumentException"> 1661/// <exception cref="ArgumentException"> 1812/// <exception cref="ArgumentException">
PresentationFramework (169)
src\Framework\Microsoft\Win32\FileDialog.cs (2)
455/// <exception cref="System.ArgumentException"> 2084catch (ArgumentException)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
204/// <exception cref="ArgumentException">locatorPart is of the incorrect
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
116/// <exception cref="ArgumentException">node points to a Document Page View which 176/// <exception cref="ArgumentException">locatorPart is of the incorrect
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (8)
97/// <exception cref="ArgumentException">selection is of wrong type</exception> 98/// <exception cref="ArgumentException">selection start or end point can not be resolved to a page</exception> 166/// <exception cref="ArgumentException">selection is of wrong type</exception> 182/// <exception cref="ArgumentException">selection is of wrong type</exception> 197/// <exception cref="ArgumentException">selection is of the wrong type</exception> 269/// <exception cref="ArgumentException">locatorPart is of the incorrect type</exception> 270/// <exception cref="ArgumentException">startNode is not a FixedPage</exception> 271/// <exception cref="ArgumentException">startNode does not belong to the DocumentViewer</exception>
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
371/// <exception cref="ArgumentException">if no processor is registered for 424/// <exception cref="ArgumentException">offset is negative or greater than
src\Framework\MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (5)
88/// <exception cref="ArgumentException">selection is of wrong type</exception> 97/// <exception cref="ArgumentException">selection is of wrong type</exception> 106/// <exception cref="ArgumentException">selection is of wrong type</exception> 119/// <exception cref="ArgumentException">startNode is not a DependencyObject or 135/// <exception cref="ArgumentException">locatorPart is of the incorrect type</exception>
src\Framework\MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
154/// <exception cref="ArgumentException">locatorPart is of the incorrect
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (3)
115/// <exception cref="ArgumentException">selection is of wrong type</exception> 160/// <exception cref="ArgumentException">selection is of wrong type</exception> 236/// <exception cref="ArgumentException">anchor is of wrong type</exception>
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
98/// <exception cref="ArgumentException">selection is of wrong type</exception> 110/// <exception cref="ArgumentException">selection is of wrong type</exception> 123/// <exception cref="ArgumentException">selection is of wrong type</exception> 140/// <exception cref="ArgumentException">selection is of the wrong type</exception> 206/// <exception cref="ArgumentException">locatorPart is of the incorrect type</exception>
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (4)
83/// <exception cref="ArgumentException">selection is of wrong type</exception> 98/// <exception cref="ArgumentException">selection is of wrong type</exception> 115/// <exception cref="ArgumentException">selection is of wrong type</exception> 135/// <exception cref="ArgumentException">selection is of the wrong type</exception>
src\Framework\MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (5)
92/// <exception cref="ArgumentException">selection is of wrong type</exception> 104/// <exception cref="ArgumentException">selection is of wrong type</exception> 125/// <exception cref="ArgumentException">selection is of wrong type</exception> 152/// <exception cref="ArgumentException">startNode is not a DependencyObject or 177/// <exception cref="ArgumentException">locatorPart is of the incorrect type</exception>
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
67/// <exception cref="ArgumentException">a value for key is already present in the locator part</exception>
src\Framework\MS\Internal\Data\ViewManager.cs (1)
496/// <exception cref="ArgumentException">
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (6)
65/// <exception cref="ArgumentException"> 101/// <exception cref="ArgumentException"> 159/// <exception cref="ArgumentException"> 242/// <exception cref="ArgumentException"> 281/// <exception cref="ArgumentException"> 698/// <exception cref="ArgumentException">
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (4)
218/// <exception cref="ArgumentException"> 276/// <exception cref="ArgumentException"> 355/// <exception cref="ArgumentException"> 423/// <exception cref="ArgumentException">
src\Framework\MS\Internal\Documents\TableColumnCollectionInternal.cs (4)
32/// <exception cref="ArgumentException"> 134/// <exception cref="ArgumentException"> 205/// <exception cref="ArgumentException"> 269/// <exception cref="ArgumentException">
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (4)
35/// <exception cref="ArgumentException"> 141/// <exception cref="ArgumentException"> 217/// <exception cref="ArgumentException"> 258/// <exception cref="ArgumentException">
src\Framework\MS\Internal\Ink\EraserBehavior.cs (1)
429catch (ArgumentException ex)
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
115catch ( ArgumentException )
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (4)
63/// <exception cref="System.ArgumentException"></exception> 77catch (TargetInvocationException tiex) when (tiex.InnerException is ArgumentException) 92/// <exception cref="System.ArgumentException"><paramref name="language"/> is not a well-formed language identifier</exception> 230(e is ArgumentException) ||
src\Framework\System\Windows\Annotations\Annotation.cs (4)
106/// <exception cref="ArgumentException">annotationType's Name or Namespace is null or empty string</exception> 143/// <exception cref="ArgumentException">lastModificationTime is earlier than creationTime</exception> 144/// <exception cref="ArgumentException">annotationType's Name or Namespace is null or empty string</exception> 145/// <exception cref="ArgumentException">id is equal to Guid.Empty</exception>
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (10)
60/// <exception cref="ArgumentException">service is not enabled or highlightBrush is not a SolidColorBrush</exception> 90/// <exception cref="ArgumentException">service is not enabled</exception> 106/// <exception cref="ArgumentException">service is not enabled</exception> 123/// <exception cref="ArgumentException">service is not enabled</exception> 146/// <exception cref="ArgumentException">service is not enabled</exception> 169/// <exception cref="ArgumentException">service is not enabled</exception> 191/// <exception cref="ArgumentException">service is not enabled</exception> 506/// <exception cref="ArgumentException">service is not enabled</exception> 899/// <exception cref="ArgumentException">service is not enabled</exception> 1100/// <exception cref="ArgumentException">service is not enabled</exception>
src\Framework\System\Windows\Annotations\AnnotationResource.cs (1)
95/// <exception cref="ArgumentException">id is equal to Guid.Empty</exception>
src\Framework\System\Windows\Annotations\AnnotationService.cs (4)
156/// <exception cref="ArgumentException">element is not a FrameworkElement or FrameworkContentElement</exception> 375/// <exception cref="ArgumentException">element is not a FrameworkElement or FrameworkContentElement</exception> 417/// <exception cref="ArgumentException">element is not a FrameworkElement or FrameworkContentElement</exception> 910/// <exception cref="ArgumentException">element is not a FrameworkElement or FrameworkContentElement</exception>
src\Framework\System\Windows\Annotations\LocatorPart.cs (1)
51/// <exception cref="ArgumentException">partType.Namespace or partType.Name is null or empty string</exception>
src\Framework\System\Windows\Annotations\Storage\AnnotationStore.cs (1)
75/// <exception cref="ArgumentException">newAnnotation already exists in this store, as determined by its Id</exception>
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (4)
109/// <exception cref="ArgumentException">duplicate namespace in knownNamespaces dictionary</exception> 110/// <exception cref="ArgumentException">null key in knownNamespaces dictionary</exception> 136/// <exception cref="ArgumentException">newAnnotation already exists in this store, as determined by its Id</exception> 574/// <exception cref="ArgumentException">queryExpression is empty string</exception>
src\Framework\System\Windows\Controls\DataGridLength.cs (3)
31/// <exception cref="ArgumentException"> 51/// <exception cref="ArgumentException"> 73/// <exception cref="ArgumentException">
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (2)
69/// <exception cref="ArgumentException"> 124/// <exception cref="ArgumentException">
src\Framework\System\Windows\Controls\DateTimeHelper.cs (3)
24catch (System.ArgumentException) 36catch (System.ArgumentException) 48catch (System.ArgumentException)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2893catch ( ArgumentException )
src\Framework\System\Windows\Controls\VirtualizationCacheLength.cs (1)
58/// <exception cref="ArgumentException">
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (2)
96/// <exception cref="ArgumentException"> 131/// <exception cref="ArgumentException">
src\Framework\System\Windows\CornerRadiusConverter.cs (2)
98/// <exception cref="ArgumentException"> 127/// <exception cref="ArgumentException">
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
120/// <exception cref="ArgumentException">
src\Framework\System\Windows\Data\ObjectDataProvider.cs (2)
464catch (ArgumentException ae) 542catch (ArgumentException ae)
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
141/// <exception cref="ArgumentException">value is not of type PageContent.</exception> 422/// <exception cref="ArgumentException">ContentPosition does not exist within this element?s tree.</exception>
src\Framework\System\Windows\Documents\FixedPage.cs (2)
185/// <exception cref="ArgumentException">value is not of type UIElement.</exception> 212/// <exception cref="ArgumentException">text contains non-whitespace text.</exception>
src\Framework\System\Windows\Documents\PageContent.cs (1)
180/// <exception cref="ArgumentException">value is not of type FixedPage.</exception>
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
4954catch (System.ArgumentException)
src\Framework\System\Windows\Documents\TableCellCollection.cs (6)
56/// <exception cref="ArgumentException"> 75/// <exception cref="ArgumentException"> 116/// <exception cref="ArgumentException"> 195/// <exception cref="ArgumentException"> 239/// <exception cref="ArgumentException"> 497/// <exception cref="ArgumentException">
src\Framework\System\Windows\Documents\TableColumnCollection.cs (5)
57/// <exception cref="ArgumentException"> 76/// <exception cref="ArgumentException"> 117/// <exception cref="ArgumentException"> 196/// <exception cref="ArgumentException"> 240/// <exception cref="ArgumentException">
src\Framework\System\Windows\Documents\TableRowCollection.cs (6)
56/// <exception cref="ArgumentException"> 75/// <exception cref="ArgumentException"> 116/// <exception cref="ArgumentException"> 195/// <exception cref="ArgumentException"> 239/// <exception cref="ArgumentException"> 497/// <exception cref="ArgumentException">
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (6)
56/// <exception cref="ArgumentException"> 75/// <exception cref="ArgumentException"> 116/// <exception cref="ArgumentException"> 195/// <exception cref="ArgumentException"> 239/// <exception cref="ArgumentException"> 496/// <exception cref="ArgumentException">
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
264catch (ArgumentException)
src\Framework\System\Windows\Documents\TextElement.cs (2)
87/// <exception cref="System.ArgumentException"> 840/// <exception cref="System.ArgumentException">
src\Framework\System\Windows\Documents\TextPointer.cs (6)
466/// <exception cref="System.ArgumentException"> 627/// <exception cref="System.ArgumentException"> 774/// <exception cref="ArgumentException"> 1392/// <exception cref="ArgumentException"> 1863/// <exception cref="System.ArgumentException"> 2155/// <exception cref="ArgumentException">
src\Framework\System\Windows\Documents\TextRange.cs (4)
46/// <exception cref="System.ArgumentException"> 617/// <exception cref="System.ArgumentException"> 656/// <exception cref="System.ArgumentException"> 684/// <exception cref="System.ArgumentException">
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (3)
92catch (Exception ex) when (ex is ArgumentException || ex is NotSupportedException || ex is PlatformNotSupportedException) 383if (throwOnError && ex is ArgumentException) 557catch (Exception e) when ((e is SecurityException) || (e is ArgumentException) || !fileCopied)
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
310/// <exception cref="ArgumentException">
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
3307catch (System.ArgumentException)
src\Framework\System\Windows\FigureLength.cs (2)
72/// <exception cref="ArgumentException"> 95/// <exception cref="ArgumentException">
src\Framework\System\Windows\FigureLengthConverter.cs (2)
107/// <exception cref="ArgumentException"> 143/// <exception cref="ArgumentException">
src\Framework\System\Windows\GridLength.cs (2)
67/// <exception cref="ArgumentException"> 89/// <exception cref="ArgumentException">
src\Framework\System\Windows\GridLengthConverter.cs (2)
110/// <exception cref="ArgumentException"> 163/// <exception cref="ArgumentException">
src\Framework\System\Windows\LengthConverter.cs (2)
104/// <exception cref="ArgumentException"> 133/// <exception cref="ArgumentException">
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2747catch (ArgumentException)
src\Framework\System\Windows\PropertyPathConverter.cs (2)
98/// <exception cref="ArgumentException"> 132/// <exception cref="ArgumentException">
src\Framework\System\Windows\SystemResourceKey.cs (1)
396catch (ArgumentException)
src\Framework\System\Windows\ThicknessConverter.cs (2)
98/// <exception cref="ArgumentException"> 125/// <exception cref="ArgumentException">
SMDiagnostics (6)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (6)
158internal ArgumentException ThrowHelperArgument(string message) 160return (ArgumentException)this.ThrowHelperError(new ArgumentException(message)); 163internal ArgumentException ThrowHelperArgument(string paramName, string message) 165return (ArgumentException)this.ThrowHelperError(new ArgumentException(message, paramName)); 178internal ArgumentException ThrowHelperArgumentNullOrEmptyString(string arg) 180return (ArgumentException)this.ThrowHelperError(new ArgumentException(TraceSR.GetString(TraceSR.StringNullOrEmpty), arg));
SMSvcHost (2)
System\ServiceModel\Activation\ListenerAdapter.cs (2)
364catch (ArgumentException exception) 426catch (ArgumentException exception)
System (46)
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
785catch(ArgumentException) {
compmod\system\componentmodel\EnumConverter.cs (1)
278catch (ArgumentException) {
compmod\system\diagnostics\ListenerElementsCollection.cs (2)
253catch (ArgumentException e) { 366catch (ArgumentException e) {
compmod\system\diagnostics\Switch.cs (1)
157catch (ArgumentException e) {
net\System\_DomainName.cs (5)
275catch (ArgumentException) 332}catch(ArgumentException){ 374catch (ArgumentException) 446catch (ArgumentException){ 464catch (ArgumentException){
net\System\Net\_FtpControlStream.cs (1)
924} catch (ArgumentException) {
net\System\Net\Configuration\UriSectionReader.cs (2)
170catch (ArgumentException) 247catch (ArgumentException)
net\System\Net\FtpWebRequest.cs (1)
298} catch (ArgumentException) {
net\System\Net\HttpListenerRequest.cs (2)
370catch (ArgumentException) { 381catch (ArgumentException) {
net\System\Net\mail\MailAddress.cs (1)
147catch (ArgumentException argEx)
net\System\Net\mail\MailAddressParser.cs (1)
324catch (ArgumentException argEx)
net\System\Net\mail\Message.cs (1)
155catch (ArgumentException) { };
net\System\Net\mail\SmtpClient.cs (1)
181catch (ArgumentException) { }
net\System\Net\NetRegistryConfiguration.cs (1)
189catch (ArgumentException) { }
net\System\Net\NetworkInformation\ping.cs (1)
294catch (ArgumentException)
net\System\Net\webclient.cs (1)
1608catch (ArgumentException)
net\System\Net\WebHeaderCollection.cs (1)
1155catch (ArgumentException) { } // Not actually Utf-8
net\System\URI.cs (7)
3365catch (ArgumentException){ 3487catch (ArgumentException){ 3545catch (ArgumentException){ 3979catch (ArgumentException){ 4238catch (ArgumentException){ 4324catch (ArgumentException){ 4380catch (ArgumentException){
net\System\UriExt.cs (1)
245catch (ArgumentException)
regex\system\text\regularexpressions\RegexCode.cs (1)
234internal static ArgumentException MakeException(String message) {
regex\system\text\regularexpressions\RegexParser.cs (1)
2083internal ArgumentException MakeException(String message) {
regex\system\text\regularexpressions\RegexWriter.cs (1)
187internal ArgumentException MakeException(String message) {
sys\system\collections\concurrent\BlockingCollection.cs (8)
185/// <exception cref="System.ArgumentException">The supplied <paramref name="collection"/> contains more values 987/// <exception cref="System.ArgumentException">If the collections argument is a 0-length array or contains a 1359/// <exception cref="System.ArgumentException">If the collections argument is a 0-length array or contains a 1394/// <exception cref="System.ArgumentException">If the collections argument is a 0-length array or contains a 1591/// <exception cref="System.ArgumentException">The <paramref name="index"/> argument is equal to or greater 1609/// <exception cref="System.ArgumentException">The <paramref name="index"/> argument is equal to or greater 1634catch (ArgumentException) 1719/// <exception cref="System.ArgumentException">If the collections argument is a 0-length array or contains a
sys\system\collections\concurrent\ConcurrentBag.cs (2)
471/// <exception cref="ArgumentException"><paramref name="index"/> is equal to or greater than the 519/// <exception cref="ArgumentException">
sys\system\configuration\LocalFileSettingsProvider.cs (1)
260catch (ArgumentException) {
System.Activities (4)
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
61if (e is TypeLoadException || e is FileNotFoundException || e is FileLoadException || e is ArgumentException)
System\Activities\Statements\MethodResolver.cs (1)
382catch (ArgumentException)
System\Activities\WorkflowIdentity.cs (2)
168catch (ArgumentException ex) 268catch (ArgumentException ex)
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
163catch (ArgumentException)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (1)
292catch (ArgumentException)
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
391catch (ArgumentException ex)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
417catch (ArgumentException ex)
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (1)
76typeof(ArgumentException),
System.Activities.Presentation (21)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (1)
705catch (ArgumentException e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
53catch (ArgumentException exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
1088catch (ArgumentException)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemtypesattribute.cs (1)
82/// <exception cref="ArgumentException">If type does not derive from NewItemFactory</exception>
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (4)
139/// <exception cref="ArgumentException">If serviceType has already been published.</exception> 149/// <exception cref="ArgumentException">If serviceInstance does not derive from or implement serviceType, or if serviceType has already been published.</exception> 160/// <exception cref="ArgumentException">If TServiceType has already been published.</exception> 177/// <exception cref="ArgumentException">If TServiceType has already been published.</exception>
System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
33/// <exception cref="ArgumentException">If viewManagerType does not specify a type that derives from ViewManager.</exception>
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelMemberCollection.cs (4)
35/// <exception cref="ArgumentException">if name is not found.</exception> 50/// <exception cref="ArgumentException">if value is not found.</exception> 79/// <exception cref="ArgumentException">if name is not found and throwOnError is true.</exception> 102/// <exception cref="ArgumentException">if value is not found and throwOnError is true.</exception>
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Services\ViewService.cs (1)
49/// <exception cref="ArgumentException">if model does not represent a valid model for this service.</exception>
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
66catch (ArgumentException)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
507if (exception.InnerException is ArgumentException)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
325catch (ArgumentException)
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
229catch (ArgumentException err)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1112catch (ArgumentException)
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
274catch (ArgumentException err)
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
54catch (ArgumentException ex)
System.AddIn (2)
System\Addin\Hosting\AddInActivator.cs (2)
414catch (ArgumentException e) 542catch (ArgumentException e)
System.ComponentModel.DataAnnotations (12)
DataAnnotations\EnumDataTypeAttribute.cs (1)
70} catch (ArgumentException) {
DataAnnotations\FileExtensionsAttribute.cs (1)
75catch (ArgumentException) {
DataAnnotations\RegularExpressionAttribute.cs (3)
53/// <exception cref="ArgumentException"> is thrown if the <see cref="Pattern"/> is not a valid regular expression.</exception> 84/// <exception cref="ArgumentException"> is thrown if the <see cref="Pattern"/> is not a valid regular expression.</exception> 95/// <exception cref="ArgumentException"> is thrown if the current <see cref="Pattern"/> cannot be parsed</exception>
DataAnnotations\Validator.cs (7)
37/// <exception cref="ArgumentException"> 80/// <exception cref="ArgumentException">When <paramref name="instance"/> doesn't match the 111/// <exception cref="ArgumentException">When <paramref name="instance"/> doesn't match the 204/// <exception cref="ArgumentException">When <paramref name="instance"/> doesn't match the 223/// <exception cref="ArgumentException">When <paramref name="instance"/> doesn't match the 316/// <exception cref="ArgumentException"> is thrown if <paramref name="value"/> is the wrong type for this property.</exception> 334/// <exception cref="ArgumentException">When <paramref name="instance"/> doesn't match the
System.Configuration (4)
System\Configuration\ExceptionUtil.cs (4)
13static internal ArgumentException ParameterInvalid(string parameter) { 17static internal ArgumentException ParameterNullOrEmpty(string parameter) { 21static internal ArgumentException PropertyInvalid(string property) { 25static internal ArgumentException PropertyNullOrEmpty(string property) {
System.Core (13)
Microsoft\Scripting\Ast\UnaryExpression.cs (4)
300/// <exception cref="ArgumentException">Thrown when <paramref name="unaryType"/> does not correspond to a unary expression.</exception> 314/// <exception cref="ArgumentException">Thrown when <paramref name="unaryType"/> does not correspond to a unary expression.</exception> 467/// <exception cref="ArgumentException">Thrown when <paramref name="method"/> is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument.</exception> 498/// <exception cref="ArgumentException">Thrown when <paramref name="method"/> is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument.</exception>
System\IO\__Error.cs (1)
115catch (ArgumentException) {
System\Security\Cryptography\ECDiffieHellman.cs (5)
104/// <exception cref="ArgumentException"><paramref name="otherPartyPublicKey"/> is over a different curve than this key</exception> 119/// <exception cref="ArgumentException"><paramref name="otherPartyPublicKey"/> is over a different curve than this key</exception> 137/// <exception cref="ArgumentException"><paramref name="otherPartyPublicKey"/> is over a different curve than this key</exception> 156/// <exception cref="ArgumentException"><paramref name="otherPartyPublicKey"/> is over a different curve than this key</exception> 174/// <exception cref="ArgumentException"><paramref name="otherPartyPublicKey"/> is over a different curve than this key</exception>
System\Security\Cryptography\Rfc4050KeyFormatter.cs (1)
224catch (ArgumentException) { /* Curve had invalid data, like an empty OID */ }
System\Security\Cryptography\RsaCng.cs (2)
49/// <exception cref="ArgumentException">if <paramref name="key" /> is not an RSA key</exception> 313/// <exception cref="ArgumentException">
System.Data (125)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
391catch (ArgumentException ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (1)
705catch (ArgumentException e)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
53catch (ArgumentException exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
1088catch (ArgumentException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemtypesattribute.cs (1)
82/// <exception cref="ArgumentException">If type does not derive from NewItemFactory</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (4)
139/// <exception cref="ArgumentException">If serviceType has already been published.</exception> 149/// <exception cref="ArgumentException">If serviceInstance does not derive from or implement serviceType, or if serviceType has already been published.</exception> 160/// <exception cref="ArgumentException">If TServiceType has already been published.</exception> 177/// <exception cref="ArgumentException">If TServiceType has already been published.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
33/// <exception cref="ArgumentException">If viewManagerType does not specify a type that derives from ViewManager.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelMemberCollection.cs (4)
35/// <exception cref="ArgumentException">if name is not found.</exception> 50/// <exception cref="ArgumentException">if value is not found.</exception> 79/// <exception cref="ArgumentException">if name is not found and throwOnError is true.</exception> 102/// <exception cref="ArgumentException">if value is not found and throwOnError is true.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Services\ViewService.cs (1)
49/// <exception cref="ArgumentException">if model does not represent a valid model for this service.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
66catch (ArgumentException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
507if (exception.InnerException is ArgumentException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
325catch (ArgumentException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
229catch (ArgumentException err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1112catch (ArgumentException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
274catch (ArgumentException err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
54catch (ArgumentException ex)
fx\src\data\System\Data\Common\AdapterUtil.cs (57)
123static internal ArgumentException Argument(string error) { 124ArgumentException e = new ArgumentException(error); 128static internal ArgumentException Argument(string error, Exception inner) { 129ArgumentException e = new ArgumentException(error, inner); 133static internal ArgumentException Argument(string error, string parameter) { 134ArgumentException e = new ArgumentException(error, parameter); 138static internal ArgumentException Argument(string error, string parameter, Exception inner) { 139ArgumentException e = new ArgumentException(error, parameter, inner); 291static internal ArgumentException IncorrectAsyncResult() { 292ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_IncorrectAsyncResult), "AsyncResult"); 297static internal ArgumentException SingleValuedProperty(string propertyName, string value) { 298ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_SingleValuedProperty, propertyName, value)); 303static internal ArgumentException DoubleValuedProperty(string propertyName, string value1, string value2) { 304ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_DoubleValuedProperty, propertyName, value1, value2)); 309static internal ArgumentException InvalidPrefixSuffix() { 310ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_InvalidPrefixSuffix)); 315static internal ArgumentException InvalidMultipartName(string property, string value) { 316ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_InvalidMultipartName, Res.GetString(property), value)); 321static internal ArgumentException InvalidMultipartNameIncorrectUsageOfQuotes(string property, string value) { 322ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_InvalidMultipartNameQuoteUsage, Res.GetString(property), value)); 327static internal ArgumentException InvalidMultipartNameToManyParts(string property, string value, int limit) { 328ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_InvalidMultipartNameToManyParts, Res.GetString(property), value, limit)); 333static internal ArgumentException BadParameterName(string parameterName) { 334ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_BadParameterName, parameterName)); 339static internal ArgumentException MultipleReturnValue() { 340ArgumentException e = new ArgumentException(Res.GetString(Res.ADP_MultipleReturnValue)); 453static internal ArgumentException InvalidArgumentLength(string argumentName, int limit) { 457static internal ArgumentException MustBeReadOnly(string argumentName) { 721static internal ArgumentException ConfigProviderNotFound() { 762static internal ArgumentException ConnectionStringSyntax(int index) { 765static internal ArgumentException KeywordNotSupported(string keyword) { 773static internal ArgumentException UdlFileError(Exception inner) { 776static internal ArgumentException InvalidUDL() { 782static internal ArgumentException InvalidKeyname(string parameterName) { 785static internal ArgumentException InvalidValue(string parameterName) { 788static internal ArgumentException InvalidMinMaxPoolSizeValues() { 791static internal ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException) { 799static internal ArgumentException InvalidMixedArgumentOfSecureAndClearCredential() { 807static internal ArgumentException InvalidMixedArgumentOfSecureCredentialAndIntegratedSecurity() { 816static internal ArgumentException InvalidMixedArgumentOfSecureCredentialAndContextConnection() 934static internal ArgumentException CollectionRemoveInvalidObject(Type itemType, ICollection collection) { 952static internal ArgumentException ParametersIsNotParent(Type parameterType, ICollection collection) { 955static internal ArgumentException ParametersIsParent(Type parameterType, ICollection collection) { 1243static internal ArgumentException UnwantedStatementType(StatementType statementType) { 1353static internal ArgumentException UpdateMismatchRowTable(int i) { 1563static internal ArgumentException InvalidDataType(TypeCode typecode) { 1566static internal ArgumentException UnknownDataType(Type dataType) { 1569static internal ArgumentException DbTypeNotSupported(System.Data.DbType type, Type enumtype) { 1572static internal ArgumentException UnknownDataTypeCode(Type dataType, TypeCode typeCode) { 1575static internal ArgumentException InvalidOffsetValue(int value) { 1578static internal ArgumentException InvalidSizeValue(int value) { 1581static internal ArgumentException ParameterValueOutOfRange(Decimal value) { 1584static internal ArgumentException ParameterValueOutOfRange(SqlDecimal value) { 1588static internal ArgumentException ParameterValueOutOfRange(String value) { 1592static internal ArgumentException VersionDoesNotSupportDataType(string typeName) { 1601if (inner is ArgumentException) { 1674static internal ArgumentException InvalidRestrictionValue(string collectionName, string restrictionName, string restrictionValue) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
156catch(ArgumentException) { // restore original string
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (4)
442catch (ArgumentException e) 567catch (ArgumentException e) 761catch (ArgumentException e) 827catch (ArgumentException e) {
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
54catch(ArgumentException e) { 102catch(ArgumentException e) {
fx\src\data\System\Data\DataColumnCollection.cs (1)
760catch (ArgumentException) { // Argument exception means that there is already an existing key
fx\src\data\System\Data\DataException.cs (6)
274static internal ArgumentException _Argument(string error) { 275ArgumentException e = new ArgumentException(error); 279static internal ArgumentException _Argument(string paramName, string error) { 280ArgumentException e = new ArgumentException(error); 284static internal ArgumentException _Argument(string error, Exception innerException) { 285ArgumentException e = new ArgumentException(error, innerException);
fx\src\data\System\Data\DataRowView.cs (4)
85/// <exception cref="ArgumentException"><see cref="DataColumnCollection.get_Item(string)"/> when <paramref name="property"/> is ambigous.</exception> 86/// <exception cref="ArgumentException">Unmatched <paramref name="property"/> when getting a value.</exception> 172/// <exception cref="ArgumentException">null or mismatch between <paramref name="relation"/> and <see cref="System.Data.DataView.get_Table"/>.</exception> 199/// <exception cref="ArgumentException">Unmatched <paramref name="relationName"/>.</exception>
fx\src\data\System\Data\Filter\BinaryNode.cs (1)
218catch (System.ArgumentException e) {
fx\src\data\System\Data\Filter\ConstNode.cs (5)
125catch (System.ArgumentException e) { 140catch (System.ArgumentException e) { 184catch (System.ArgumentException e) { 200catch (System.ArgumentException e) { 216catch (System.ArgumentException e) {
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
37static internal ArgumentException GetSchemaRestrictionRequired() {
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (1)
267catch (ArgumentException) {
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (13)
158static internal ArgumentException SchemaRowsetsNotSupported(string provider) { 175static internal ArgumentException MSDASQLNotSupported() { 191static internal ArgumentException AsynchronousNotSupported() { 194static internal ArgumentException NoProviderSpecified() { 197static internal ArgumentException InvalidProviderSpecified() { 200static internal ArgumentException InvalidRestrictionsDbInfoKeywords(string parameter) { 203static internal ArgumentException InvalidRestrictionsDbInfoLiteral(string parameter) { 206static internal ArgumentException InvalidRestrictionsSchemaGuids(string parameter) { 209static internal ArgumentException NotSupportedSchemaTable(Guid schema, OleDbConnection connection) { 259static internal ArgumentException Fill_NotADODB(string parameter) { 262static internal ArgumentException Fill_EmptyRecordSet(string parameter, Exception innerException) { 265static internal ArgumentException Fill_EmptyRecord(string parameter, Exception innerException) { 297internal static ArgumentException ISourcesRowsetNotSupported() {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
1045catch (ArgumentException e) {
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1747catch (ArgumentException) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
3212catch (ArgumentException e) { 3705catch (ArgumentException e) { 3736catch (ArgumentException e) { 3745catch (ArgumentException e) {
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
985catch (ArgumentException) {
System.Data.DataSetExtensions (1)
System\Data\DataSetUtil.cs (1)
44internal static ArgumentException Argument(string message)
System.Data.Entity (627)
System\Data\Common\CommandTrees\DbFunctionCommandTree.cs (1)
40/// <exception cref="ArgumentException"><paramref name="dataSpace"/> does not represent a valid data space or
System\Data\Common\CommandTrees\DbLambda.cs (2)
61/// <exception cref="ArgumentException"> 81/// <exception cref="ArgumentException">
System\Data\Common\CommandTrees\DbQueryCommandTree.cs (1)
60/// <exception cref="ArgumentException"><paramref name="dataSpace"/> does not represent a valid data space</exception>
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (126)
81/// <exception cref="ArgumentException"><paramref name="input"/> does not have a collection result type</exception> 94/// <exception cref="ArgumentException"><paramref name="input"/> does not have a collection result type</exception> 108/// <exception cref="ArgumentException"><paramref name="input"/> does not have a collection result type</exception> 123/// <exception cref="ArgumentException"><paramref name="input"/> does not have a collection result type</exception> 143/// <exception cref="ArgumentException"> 160/// <exception cref="ArgumentException"> 203/// <exception cref="ArgumentException"> 223/// <exception cref="ArgumentException"> 243/// <exception cref="ArgumentException"><paramref name="key"/> does not have an order-comparable result type</exception> 256/// <exception cref="ArgumentException"><paramref name="key"/> does not have an order-comparable result type</exception> 271/// <exception cref="ArgumentException"><paramref name="key"/> does not have an order-comparable result type</exception> 286/// <exception cref="ArgumentException"><paramref name="key"/> does not have an order-comparable result type</exception> 304/// <exception cref="ArgumentException"> 320/// <exception cref="ArgumentException"> 363/// <exception cref="ArgumentException"> 387/// <exception cref="ArgumentException"> 410/// <exception cref="ArgumentException"> 433/// <exception cref="ArgumentException"> 449/// <exception cref="ArgumentException"> 470/// <exception cref="ArgumentException"> 509/// <exception cref="ArgumentException"> 530/// <exception cref="ArgumentException"> 606/// <exception cref="ArgumentException"><paramref name="value"/> is not an instance of a valid constant type</exception> 620/// <exception cref="ArgumentException"> 684/// <exception cref="ArgumentException"> 700/// <exception cref="ArgumentException"> 715/// <exception cref="ArgumentException"> 742/// <exception cref="ArgumentException"> 757/// <exception cref="ArgumentException"> 772/// <exception cref="ArgumentException"> 787/// <exception cref="ArgumentException"> 802/// <exception cref="ArgumentException"> 816/// <exception cref="ArgumentException"> 832/// <exception cref="ArgumentException"> 857/// <exception cref="ArgumentException"> 872/// <exception cref="ArgumentException"> 887/// <exception cref="ArgumentException"> 902/// <exception cref="ArgumentException"> 917/// <exception cref="ArgumentException"> 932/// <exception cref="ArgumentException"> 946/// <exception cref="ArgumentException"><paramref name="argument"/> has a collection result type.</exception> 960/// <exception cref="ArgumentException"><paramref name="argument"/> or <paramref name="pattern"/> does not have a string result type.</exception> 976/// <exception cref="ArgumentException"><paramref name="argument"/>, <paramref name="pattern"/> or <paramref name="escape"/> does not have a string result type.</exception> 994/// <exception cref="ArgumentException">The specified cast is not valid.</exception> 1008/// <exception cref="ArgumentException"><paramref name="treatType"/> is not in the same type hierarchy as the result type of <paramref name="argument"/>. 1027/// <exception cref="ArgumentException"> 1049/// <exception cref="ArgumentException"> 1071/// <exception cref="ArgumentException"> 1091/// <exception cref="ArgumentException"> 1114/// <exception cref="ArgumentException"><paramref name="argument"/> does not have a reference result type.</exception> 1128/// <exception cref="ArgumentException"><paramref name="argument"/> does not have an entity result type.</exception> 1142/// <exception cref="ArgumentException"> 1158/// <exception cref="ArgumentException"> 1175/// <exception cref="ArgumentException"><paramref name="entityType"/> is not from the same type hierarchy (a subtype, supertype, or the same type) as <paramref name="entitySet"/>'s element type.</exception> 1176/// <exception cref="ArgumentException"> 1193/// <exception cref="ArgumentException"><paramref name="entityType"/> is not from the same type hierarchy (a subtype, supertype, or the same type) as <paramref name="entitySet"/>'s element type.</exception> 1194/// <exception cref="ArgumentException"> 1224/// <exception cref="ArgumentException"> 1245/// <exception cref="ArgumentException"> 1265/// <exception cref="ArgumentException"><paramref name="argument"/> does not have a reference result type.</exception> 1280/// <exception cref="ArgumentException"> 1305/// <exception cref="ArgumentException"> 1332/// <exception cref="ArgumentException"><paramref name="argument"/> does not have a collection result type.</exception> 1345/// <exception cref="ArgumentException"><paramref name="argument"/> does not have a collection result type.</exception> 1358/// <exception cref="ArgumentException"><paramref name="argument"/> does not have a collection result type.</exception> 1372/// <exception cref="ArgumentException">No common collection result type exists between <paramref name="left"/> and <paramref name="right"/>.</exception> 1386/// <exception cref="ArgumentException">No common collection result type exists between <paramref name="left"/> and <paramref name="right"/>.</exception> 1400/// <exception cref="ArgumentException">No common collection result type exists between <paramref name="left"/> and <paramref name="right"/>.</exception> 1415/// <exception cref="ArgumentException"> 1440/// <exception cref="ArgumentException"> 1461/// <exception cref="ArgumentException"> 1480/// <exception cref="ArgumentException"> 1506/// <exception cref="ArgumentException"> 1525/// <exception cref="ArgumentException"> 1549/// <exception cref="ArgumentException"> 1577/// <exception cref="ArgumentException"> 1611/// <exception cref="ArgumentException"> 1625/// <exception cref="ArgumentException"> 1646/// <exception cref="ArgumentException"><paramref name="collectionType"/> is not a collection type</exception> 1661/// <exception cref="ArgumentException"> 1929/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 1930/// <exception cref="ArgumentException"> 1946/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 1958/// <exception cref="ArgumentException"><paramref name="argument"/> does not have a collection result type.</exception> 1978/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 1979/// <exception cref="ArgumentException"> 2001/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2003/// <exception cref="ArgumentException">The result of <paramref name="apply"/> contains a name or expression that is not valid in an expression binding.</exception> 2024/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2026/// <exception cref="ArgumentException">The result of <paramref name="apply"/> contains a name or expression that is not valid in an expression binding.</exception> 2055/// <exception cref="ArgumentException"> 2061/// <exception cref="ArgumentException"> 2089/// <exception cref="ArgumentException"> 2095/// <exception cref="ArgumentException"> 2123/// <exception cref="ArgumentException"> 2129/// <exception cref="ArgumentException"> 2154/// <exception cref="ArgumentException"> 2160/// <exception cref="ArgumentException"> 2198/// <exception cref="ArgumentException"> 2207/// <exception cref="ArgumentException"> 2210/// <exception cref="ArgumentException"> 2254/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2255/// <exception cref="ArgumentException"> 2280/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2281/// <exception cref="ArgumentException"> 2306/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2307/// <exception cref="ArgumentException"> 2332/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2333/// <exception cref="ArgumentException"> 2391/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2392/// <exception cref="ArgumentException">The expression produced by <paramref name="apply"/> does not have a collection type.</exception> 2426/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2427/// <exception cref="ArgumentException">The expression produced by <paramref name="apply"/> does not have a collection type.</exception> 2463/// <exception cref="ArgumentException"> 2481/// <exception cref="ArgumentException"> 2527/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2528/// <exception cref="ArgumentException"> 2552/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2553/// <exception cref="ArgumentException"> 2577/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2578/// <exception cref="ArgumentException"> 2602/// <exception cref="ArgumentException"><paramref name="source"/> does not have a collection result type.</exception> 2603/// <exception cref="ArgumentException"> 2626/// <exception cref="ArgumentException"> 2643/// <exception cref="ArgumentException">No common collection result type with an equality-comparable element type exists between <paramref name="left"/> and <paramref name="right"/>.</exception> 2773/// <exception cref="ArgumentException">
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (68)
79/// <exception cref="ArgumentException">No overload of the canonical 'Avg' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 93/// <exception cref="ArgumentException">No overload of the canonical 'Count' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 107/// <exception cref="ArgumentException">No overload of the canonical 'BigCount' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 121/// <exception cref="ArgumentException">No overload of the canonical 'Max' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 135/// <exception cref="ArgumentException">No overload of the canonical 'Min' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 149/// <exception cref="ArgumentException">No overload of the canonical 'Sum' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 163/// <exception cref="ArgumentException">No overload of the canonical 'StDev' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 178/// <exception cref="ArgumentException">No overload of the canonical 'StDevP' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 193/// <exception cref="ArgumentException">No overload of the canonical 'Var' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 207/// <exception cref="ArgumentException">No overload of the canonical 'VarP' function accepts an argument with the result type of <paramref name="collection"/>.</exception> 227/// <exception cref="ArgumentException">No overload of the canonical 'Concat' function accepts arguments with the result types of <paramref name="string1"/> and <paramref name="string2"/>.</exception> 246/// <exception cref="ArgumentException">No overload of the canonical 'Contains' function accepts arguments with the result types of <paramref name="searchedString"/> and <paramref name="searchedForString"/>.</exception> 263/// <exception cref="ArgumentException">No overload of the canonical 'EndsWith' function accepts arguments with the result types of <paramref name="stringArgument"/> and <paramref name="suffix"/>.</exception> 281/// <exception cref="ArgumentException">No overload of the canonical 'IndexOf' function accepts arguments with the result types of <paramref name="searchString"/> and <paramref name="stringToFind"/>.</exception> 298/// <exception cref="ArgumentException">No overload of the canonical 'Left' function accepts arguments with the result types of <paramref name="stringArgument"/>.</exception> 314/// <exception cref="ArgumentException">No overload of the canonical 'Length' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 331/// <exception cref="ArgumentException">No overload of the canonical 'Length' function accepts arguments with the result types of <paramref name="stringArgument"/>, <paramref name="toReplace"/> and <paramref name="replacement"/>.</exception> 348/// <exception cref="ArgumentException">No overload of the canonical 'Reverse' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 364/// <exception cref="ArgumentException">No overload of the canonical 'Right' function accepts arguments with the result types of <paramref name="stringArgument"/>.</exception> 381/// <exception cref="ArgumentException">No overload of the canonical 'StartsWith' function accepts arguments with the result types of <paramref name="stringArgument"/> and <paramref name="prefix"/>.</exception> 402/// <exception cref="ArgumentException">No overload of the canonical 'Substring' function accepts arguments with the result types of <paramref name="stringArgument"/>, <paramref name="start"/> and <paramref name="length"/>.</exception> 419/// <exception cref="ArgumentException">No overload of the canonical 'ToLower' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 434/// <exception cref="ArgumentException">No overload of the canonical 'ToUpper' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 449/// <exception cref="ArgumentException">No overload of the canonical 'Trim' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 464/// <exception cref="ArgumentException">No overload of the canonical 'RTrim' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 479/// <exception cref="ArgumentException">No overload of the canonical 'LTrim' function accepts an argument with the result type of <paramref name="stringArgument"/>.</exception> 498/// <exception cref="ArgumentException">No overload of the canonical 'Year' function accepts an argument with the result type of <paramref name="dateValue"/>.</exception> 513/// <exception cref="ArgumentException">No overload of the canonical 'Month' function accepts an argument with the result type of <paramref name="dateValue"/>.</exception> 528/// <exception cref="ArgumentException">No overload of the canonical 'Day' function accepts an argument with the result type of <paramref name="dateValue"/>.</exception> 543/// <exception cref="ArgumentException">No overload of the canonical 'DayOfYear' function accepts an argument with the result type of <paramref name="dateValue"/>.</exception> 558/// <exception cref="ArgumentException">No overload of the canonical 'Hour' function accepts an argument with the result type of <paramref name="timeValue"/>.</exception> 573/// <exception cref="ArgumentException">No overload of the canonical 'Minute' function accepts an argument with the result type of <paramref name="timeValue"/>.</exception> 588/// <exception cref="ArgumentException">No overload of the canonical 'Second' function accepts an argument with the result type of <paramref name="timeValue"/>.</exception> 603/// <exception cref="ArgumentException">No overload of the canonical 'Millisecond' function accepts an argument with the result type of <paramref name="timeValue"/>.</exception> 617/// <exception cref="ArgumentException">No overload of the canonical 'GetTotalOffsetMinutes' function accepts an argument with the result type of <paramref name="dateTimeOffsetArgument"/>.</exception> 663/// <exception cref="ArgumentException">No overload of the canonical 'TruncateTime' function accepts an argument with the result type of <paramref name="dateValue"/>.</exception> 683/// <exception cref="ArgumentException">No overload of the canonical 'CreateDateTime' function accepts arguments with the result types of <paramref name="year"/>, <paramref name="month"/>, <paramref name="day"/>, <paramref name="hour"/>, <paramref name="minute"/>, and <paramref name="second"/>.</exception> 709/// <exception cref="ArgumentException">No overload of the canonical 'CreateDateTimeOffset' function accepts arguments with the result types of <paramref name="year"/>, <paramref name="month"/>, <paramref name="day"/>, <paramref name="hour"/>, <paramref name="minute"/>, <paramref name="second"/> and <paramref name="timeZoneOffset"/>.</exception> 732/// <exception cref="ArgumentException">No overload of the canonical 'CreateTime' function accepts arguments with the result types of <paramref name="hour"/>, <paramref name="minute"/>, and <paramref name="second"/>.</exception> 754/// <exception cref="ArgumentException">No overload of the canonical 'AddYears' function accepts arguments with the result types of <paramref name="dateValue"/> and <paramref name="addValue"/>.</exception> 771/// <exception cref="ArgumentException">No overload of the canonical 'AddMonths' function accepts arguments with the result types of <paramref name="dateValue"/> and <paramref name="addValue"/>.</exception> 788/// <exception cref="ArgumentException">No overload of the canonical 'AddDays' function accepts arguments with the result types of <paramref name="dateValue"/> and <paramref name="addValue"/>.</exception> 805/// <exception cref="ArgumentException">No overload of the canonical 'AddHours' function accepts arguments with the result types of <paramref name="timeValue"/> and <paramref name="addValue"/>.</exception> 822/// <exception cref="ArgumentException">No overload of the canonical 'AddMinutes' function accepts arguments with the result types of <paramref name="timeValue"/> and <paramref name="addValue"/>.</exception> 839/// <exception cref="ArgumentException">No overload of the canonical 'AddSeconds' function accepts arguments with the result types of <paramref name="timeValue"/> and <paramref name="addValue"/>.</exception> 856/// <exception cref="ArgumentException">No overload of the canonical 'AddMilliseconds' function accepts arguments with the result types of <paramref name="timeValue"/> and <paramref name="addValue"/>.</exception> 873/// <exception cref="ArgumentException">No overload of the canonical 'AddMicroseconds' function accepts arguments with the result types of <paramref name="timeValue"/> and <paramref name="addValue"/>.</exception> 890/// <exception cref="ArgumentException">No overload of the canonical 'AddNanoseconds' function accepts arguments with the result types of <paramref name="timeValue"/> and <paramref name="addValue"/>.</exception> 912/// <exception cref="ArgumentException">No overload of the canonical 'DiffYears' function accepts arguments with the result types of <paramref name="dateValue1"/> and <paramref name="dateValue2"/>.</exception> 930/// <exception cref="ArgumentException">No overload of the canonical 'DiffMonths' function accepts arguments with the result types of <paramref name="dateValue1"/> and <paramref name="dateValue2"/>.</exception> 948/// <exception cref="ArgumentException">No overload of the canonical 'DiffDays' function accepts arguments with the result types of <paramref name="dateValue1"/> and <paramref name="dateValue2"/>.</exception> 966/// <exception cref="ArgumentException">No overload of the canonical 'DiffHours' function accepts arguments with the result types of <paramref name="timeValue1"/> and <paramref name="timeValue2"/>.</exception> 984/// <exception cref="ArgumentException">No overload of the canonical 'DiffMinutes' function accepts arguments with the result types of <paramref name="timeValue1"/> and <paramref name="timeValue2"/>.</exception> 1002/// <exception cref="ArgumentException">No overload of the canonical 'DiffSeconds' function accepts arguments with the result types of <paramref name="timeValue1"/> and <paramref name="timeValue2"/>.</exception> 1020/// <exception cref="ArgumentException">No overload of the canonical 'DiffMilliseconds' function accepts arguments with the result types of <paramref name="timeValue1"/> and <paramref name="timeValue2"/>.</exception> 1038/// <exception cref="ArgumentException">No overload of the canonical 'DiffMicroseconds' function accepts arguments with the result types of <paramref name="timeValue1"/> and <paramref name="timeValue2"/>.</exception> 1056/// <exception cref="ArgumentException">No overload of the canonical 'DiffNanoseconds' function accepts arguments with the result types of <paramref name="timeValue1"/> and <paramref name="timeValue2"/>.</exception> 1076/// <exception cref="ArgumentException">No overload of the canonical 'Round' function accepts an argument with the result type of <paramref name="value"/>.</exception> 1092/// <exception cref="ArgumentException">No overload of the canonical 'Round' function accepts arguments with the result types of <paramref name="value"/> and <paramref name="digits"/>.</exception> 1108/// <exception cref="ArgumentException">No overload of the canonical 'Floor' function accepts an argument with the result type of <paramref name="value"/>.</exception> 1123/// <exception cref="ArgumentException">No overload of the canonical 'Ceiling' function accepts an argument with the result type of <paramref name="value"/>.</exception> 1138/// <exception cref="ArgumentException">No overload of the canonical 'Abs' function accepts an argument with the result type of <paramref name="value"/>.</exception> 1154/// <exception cref="ArgumentException">No overload of the canonical 'Truncate' function accepts arguments with the result types of <paramref name="value"/> and <paramref name="digits"/>.</exception> 1171/// <exception cref="ArgumentException">No overload of the canonical 'Power' function accepts arguments with the result types of <paramref name="baseArgument"/> and <paramref name="exponent"/>.</exception> 1192/// <exception cref="ArgumentException">No overload of the canonical 'BitwiseAnd' function accepts arguments with the result types of <paramref name="value1"/> and <paramref name="value2"/>.</exception> 1209/// <exception cref="ArgumentException">No overload of the canonical 'BitwiseOr' function accepts arguments with the result types of <paramref name="value1"/> and <paramref name="value2"/>.</exception> 1225/// <exception cref="ArgumentException">No overload of the canonical 'BitwiseNot' function accepts an argument with the result type of <paramref name="value"/>.</exception> 1241/// <exception cref="ArgumentException">No overload of the canonical 'BitwiseXor' function accepts arguments with the result types of <paramref name="value1"/> and <paramref name="value2"/>.</exception>
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
1804/// <exception cref="ArgumentException">If the specified type metadata belongs to a metadata workspace other than the workspace of the command tree</exception> 1805/// <exception cref="ArgumentException">If the specified type metadata belongs to a dataspace other than the dataspace of the command tree</exception>
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\EnumerableValidator.cs (3)
83/// <exception cref="ArgumentException">If <see cref="ExpectedElementCount"/> is set and the actual number of input elements is not equal to this value.</exception> 84/// <exception cref="ArgumentException">If <see cref="ExpectedElementCount"/> is -1, <see cref="AllowEmpty"/> is set to <c>false</c> and the input enumerable is empty.</exception> 85/// <exception cref="ArgumentException">If <see cref="GetName"/> is set and a duplicate name is derived for more than one input element.</exception>
System\Data\Common\CommandTrees\ExpressionBuilder\Spatial\SpatialEdmFunctions.cs (88)
38/// <exception cref="ArgumentException">No overload of the canonical 'GeometryFromText' function accept an argument with the result type of <paramref name="wellKnownText"/>.</exception> 54/// <exception cref="ArgumentException">No overload of the canonical 'GeometryFromText' function accepts arguments with the result types of <paramref name="wellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 71/// <exception cref="ArgumentException">No overload of the canonical 'GeometryPointFromText' function accepts arguments with the result types of <paramref name="pointWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 88/// <exception cref="ArgumentException">No overload of the canonical 'GeometryLineFromText' function accepts arguments with the result types of <paramref name="lineWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 105/// <exception cref="ArgumentException">No overload of the canonical 'GeometryPolygonFromText' function accepts arguments with the result types of <paramref name="polygonWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 122/// <exception cref="ArgumentException">No overload of the canonical 'GeometryMultiPointFromText' function accepts arguments with the result types of <paramref name="multiPointWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 143/// <exception cref="ArgumentException">No overload of the canonical 'GeometryMultiLineFromText' function accepts arguments with the result types of <paramref name="multiLineWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 164/// <exception cref="ArgumentException">No overload of the canonical 'GeometryMultiPolygonFromText' function accepts arguments with the result types of <paramref name="multiPolygonWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 183/// <exception cref="ArgumentException">No overload of the canonical 'GeometryCollectionFromText' function accepts arguments with the result types of <paramref name="geometryCollectionWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 204/// <exception cref="ArgumentException">No overload of the canonical 'GeometryFromBinary' function accepts an argument with the result type of <paramref name="wellKnownBinaryValue"/>.</exception> 220/// <exception cref="ArgumentException">No overload of the canonical 'GeometryFromBinary' function accepts arguments with the result types of <paramref name="wellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 237/// <exception cref="ArgumentException">No overload of the canonical 'GeometryPointFromBinary' function accepts arguments with the result types of <paramref name="pointWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 254/// <exception cref="ArgumentException">No overload of the canonical 'GeometryLineFromBinary' function accepts arguments with the result types of <paramref name="lineWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 271/// <exception cref="ArgumentException">No overload of the canonical 'GeometryPolygonFromBinary' function accepts arguments with the result types of <paramref name="polygonWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 288/// <exception cref="ArgumentException">No overload of the canonical 'GeometryMultiPointFromBinary' function accepts arguments with the result types of <paramref name="multiPointWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 309/// <exception cref="ArgumentException">No overload of the canonical 'GeometryMultiLineFromBinary' function accepts arguments with the result types of <paramref name="multiLineWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 330/// <exception cref="ArgumentException">No overload of the canonical 'GeometryMultiPolygonFromBinary' function accepts arguments with the result types of <paramref name="multiPolygonWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 349/// <exception cref="ArgumentException">No overload of the canonical 'GeometryCollectionFromBinary' function accepts arguments with the result types of <paramref name="geometryCollectionWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 368/// <exception cref="ArgumentException">No overload of the canonical 'GeometryFromGml' function accepts an argument with the result type of <paramref name="geometryMarkup"/>.</exception> 385/// <exception cref="ArgumentException">No overload of the canonical 'GeometryFromGml' function accepts arguments with the result types of <paramref name="geometryMarkup"/> and <paramref name="coordinateSystemId"/>.</exception> 406/// <exception cref="ArgumentException">No overload of the canonical 'GeographyFromText' function accepts an argument with the result type of <paramref name="wellKnownText"/>.</exception> 422/// <exception cref="ArgumentException">No overload of the canonical 'GeographyFromText' function accepts arguments with the result types of <paramref name="wellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 439/// <exception cref="ArgumentException">No overload of the canonical 'GeographyPointFromText' function accepts arguments with the result types of <paramref name="pointWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 456/// <exception cref="ArgumentException">No overload of the canonical 'GeographyLineFromText' function accepts arguments with the result types of <paramref name="lineWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 473/// <exception cref="ArgumentException">No overload of the canonical 'GeographyPolygonFromText' function accepts arguments with the result types of <paramref name="polygonWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 490/// <exception cref="ArgumentException">No overload of the canonical 'GeographyMultiPointFromText' function accepts arguments with the result types of <paramref name="multiPointWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 511/// <exception cref="ArgumentException">No overload of the canonical 'GeographyMultiLineFromText' function accepts arguments with the result types of <paramref name="multiLineWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 532/// <exception cref="ArgumentException">No overload of the canonical 'GeographyMultiPolygonFromText' function accepts arguments with the result types of <paramref name="multiPolygonWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 551/// <exception cref="ArgumentException">No overload of the canonical 'GeographyCollectionFromText' function accepts arguments with the result types of <paramref name="geographyCollectionWellKnownText"/> and <paramref name="coordinateSystemId"/>.</exception> 572/// <exception cref="ArgumentException">No overload of the canonical 'GeographyFromBinary' function accepts an argument with the result type of <paramref name="wellKnownBinaryValue"/>.</exception> 588/// <exception cref="ArgumentException">No overload of the canonical 'GeographyFromBinary' function accepts arguments with the result types of <paramref name="wellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 605/// <exception cref="ArgumentException">No overload of the canonical 'GeographyPointFromBinary' function accepts arguments with the result types of <paramref name="pointWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 622/// <exception cref="ArgumentException">No overload of the canonical 'GeographyLineFromBinary' function accepts arguments with the result types of <paramref name="lineWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 639/// <exception cref="ArgumentException">No overload of the canonical 'GeographyPolygonFromBinary' function accepts arguments with the result types of <paramref name="polygonWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 656/// <exception cref="ArgumentException">No overload of the canonical 'GeographyMultiPointFromBinary' function accepts arguments with the result types of <paramref name="multiPointWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 677/// <exception cref="ArgumentException">No overload of the canonical 'GeographyMultiLineFromBinary' function accepts arguments with the result types of <paramref name="multiLineWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 698/// <exception cref="ArgumentException">No overload of the canonical 'GeographyMultiPolygonFromBinary' function accepts arguments with the result types of <paramref name="multiPolygonWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 717/// <exception cref="ArgumentException">No overload of the canonical 'GeographyCollectionFromBinary' function accepts arguments with the result types of <paramref name="geographyCollectionWellKnownBinaryValue"/> and <paramref name="coordinateSystemId"/>.</exception> 736/// <exception cref="ArgumentException">No overload of the canonical 'GeographyFromGml' function accepts an argument with the result type of <paramref name="geographyMarkup"/>.</exception> 753/// <exception cref="ArgumentException">No overload of the canonical 'GeographyFromGml' function accepts arguments with the result types of <paramref name="geographyMarkup"/> and <paramref name="coordinateSystemId"/>.</exception> 777/// <exception cref="ArgumentException">No overload of the canonical 'CoordinateSystemId' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 792/// <exception cref="ArgumentException">No overload of the canonical 'SpatialTypeName' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 807/// <exception cref="ArgumentException">No overload of the canonical 'SpatialDimension' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 822/// <exception cref="ArgumentException">No overload of the canonical 'SpatialEnvelope' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 837/// <exception cref="ArgumentException">No overload of the canonical 'AsBinary' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 852/// <exception cref="ArgumentException">No overload of the canonical 'AsGml' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 868/// <exception cref="ArgumentException">No overload of the canonical 'AsText' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 883/// <exception cref="ArgumentException">No overload of the canonical 'IsEmptySpatial' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 898/// <exception cref="ArgumentException">No overload of the canonical 'IsSimpleGeometry' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 912/// <exception cref="ArgumentException">No overload of the canonical 'SpatialBoundary' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 927/// <exception cref="ArgumentException">No overload of the canonical 'IsValidGeometry' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 948/// <exception cref="ArgumentException">No overload of the canonical 'SpatialEquals' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 966/// <exception cref="ArgumentException">No overload of the canonical 'SpatialDisjoint' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 984/// <exception cref="ArgumentException">No overload of the canonical 'SpatialIntersects' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 1000/// <exception cref="ArgumentException">No overload of the canonical 'SpatialTouches' function accepts arguments with the result types of <paramref name="geometryValue1"/> and <paramref name="geometryValue2"/>.</exception> 1016/// <exception cref="ArgumentException">No overload of the canonical 'SpatialCrosses' function accepts arguments with the result types of <paramref name="geometryValue1"/> and <paramref name="geometryValue2"/>.</exception> 1032/// <exception cref="ArgumentException">No overload of the canonical 'SpatialWithin' function accepts arguments with the result types of <paramref name="geometryValue1"/> and <paramref name="geometryValue2"/>.</exception> 1048/// <exception cref="ArgumentException">No overload of the canonical 'SpatialContains' function accepts arguments with the result types of <paramref name="geometryValue1"/> and <paramref name="geometryValue2"/>.</exception> 1064/// <exception cref="ArgumentException">No overload of the canonical 'SpatialOverlaps' function accepts arguments with the result types of <paramref name="geometryValue1"/> and <paramref name="geometryValue2"/>.</exception> 1081/// <exception cref="ArgumentException">No overload of the canonical 'SpatialRelate' function accepts arguments with the result types of <paramref name="geometryValue1"/>, <paramref name="geometryValue2"/>, and <paramref name="intersectionPatternMatrix"/>.</exception> 1102/// <exception cref="ArgumentException">No overload of the canonical 'SpatialBuffer' function accepts arguments with the result types of <paramref name="spatialValue"/> and <paramref name="distance"/>.</exception> 1120/// <exception cref="ArgumentException">No overload of the canonical 'Distance' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 1135/// <exception cref="ArgumentException">No overload of the canonical 'SpatialConvexHull' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1152/// <exception cref="ArgumentException">No overload of the canonical 'SpatialIntersection' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 1170/// <exception cref="ArgumentException">No overload of the canonical 'SpatialUnion' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 1188/// <exception cref="ArgumentException">No overload of the canonical 'SpatialDifference' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 1206/// <exception cref="ArgumentException">No overload of the canonical 'SpatialSymmetricDifference' function accepts arguments with the result types of <paramref name="spatialValue1"/> and <paramref name="spatialValue2"/>.</exception> 1225/// <exception cref="ArgumentException">No overload of the canonical 'SpatialElementCount' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1243/// <exception cref="ArgumentException">No overload of the canonical 'SpatialElementAt' function accepts arguments with the result types of <paramref name="spatialValue"/> and <paramref name="indexValue"/>.</exception> 1263/// <exception cref="ArgumentException">No overload of the canonical 'XCoordinate' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1277/// <exception cref="ArgumentException">No overload of the canonical 'YCoordinate' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1291/// <exception cref="ArgumentException">No overload of the canonical 'Elevation' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1305/// <exception cref="ArgumentException">No overload of the canonical 'Measure' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1319/// <exception cref="ArgumentException">No overload of the canonical 'Latitude' function accepts an argument with the result type of <paramref name="geographyValue"/>.</exception> 1333/// <exception cref="ArgumentException">No overload of the canonical 'Longitude' function accepts an argument with the result type of <paramref name="geographyValue"/>.</exception> 1351/// <exception cref="ArgumentException">No overload of the canonical 'SpatialLength' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1365/// <exception cref="ArgumentException">No overload of the canonical 'StartPoint' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1379/// <exception cref="ArgumentException">No overload of the canonical 'EndPoint' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1393/// <exception cref="ArgumentException">No overload of the canonical 'IsClosedSpatial' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1407/// <exception cref="ArgumentException">No overload of the canonical 'IsRing' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1425/// <exception cref="ArgumentException">No overload of the canonical 'PointCount' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1442/// <exception cref="ArgumentException">No overload of the canonical 'PointAt' function accepts arguments with the result types of <paramref name="spatialValue"/> and <paramref name="indexValue"/>.</exception> 1461/// <exception cref="ArgumentException">No overload of the canonical 'Area' function accepts an argument with the result type of <paramref name="spatialValue"/>.</exception> 1475/// <exception cref="ArgumentException">No overload of the canonical 'Centroid' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1490/// <exception cref="ArgumentException">No overload of the canonical 'PointOnSurface' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1508/// <exception cref="ArgumentException">No overload of the canonical 'ExteriorRing' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1522/// <exception cref="ArgumentException">No overload of the canonical 'InteriorRingCount' function accepts an argument with the result type of <paramref name="geometryValue"/>.</exception> 1539/// <exception cref="ArgumentException">No overload of the canonical 'InteriorRingAt' function accepts arguments with the result types of <paramref name="geometryValue"/> and <paramref name="indexValue"/>.</exception>
System\Data\Common\DbProviderServices.cs (1)
288catch (ArgumentException e)
System\Data\Common\EntityUtil.cs (78)
261static internal ArgumentException Argument(string error) { 264static internal ArgumentException Argument(string error, Exception inner) { 267static internal ArgumentException Argument(string error, string parameter) { 270static internal ArgumentException Argument(string error, string parameter, Exception inner) { 309static internal ArgumentException InvalidStringArgument(string parameterName) { 538static internal ArgumentException MemberInvalidIdentity(string identity, string parameter) { 542static internal ArgumentException ArrayTooSmall(string parameter) { 545static internal ArgumentException ItemDuplicateIdentity(string identity, string parameter, Exception inner) { 548static internal ArgumentException ItemInvalidIdentity(string identity, string parameter) { 572static internal ArgumentException NotBinaryTypeForTypeUsage() { 575static internal ArgumentException NotDateTimeTypeForTypeUsage() { 578static internal ArgumentException NotDateTimeOffsetTypeForTypeUsage() 582static internal ArgumentException NotTimeTypeForTypeUsage() 586static internal ArgumentException NotDecimalTypeForTypeUsage() { 589static internal ArgumentException NotStringTypeForTypeUsage() { 593static internal ArgumentException InvalidEntitySetName(string name) { 596static internal ArgumentException InvalidRelationshipSetName(string name) { 599static internal ArgumentException InvalidEDMVersion(double edmVersion) 605static internal ArgumentException EntitySetInAnotherContainer(string parameter) { 613static internal ArgumentException MinAndMaxValueMustBeSameForConstantFacet(string facetName, string typeName) { 616static internal ArgumentException MissingDefaultValueForConstantFacet(string facetName, string typeName) { 619static internal ArgumentException BothMinAndMaxValueMustBeSpecifiedForNonConstantFacet(string facetName, string typeName) { 622static internal ArgumentException MinAndMaxValueMustBeDifferentForNonConstantFacet(string facetName, string typeName) { 625static internal ArgumentException MinAndMaxMustBePositive(string facetName, string typeName) { 628static internal ArgumentException MinMustBeLessThanMax(string minimumValue, string facetName, string typeName) { 631static internal ArgumentException EntitySetNotInCSpace(string name) { 635static internal ArgumentException TypeNotInEntitySet(string entitySetName, string rootEntityTypeName, string entityTypeName) { 639static internal ArgumentException AssociationSetNotInCSpace(string name) { 643static internal ArgumentException TypeNotInAssociationSet(string setName, string rootEntityTypeName, string typeName) { 757internal static ArgumentException InvalidTypeForComplexTypeProperty(string argument) { 807internal static ArgumentException InvalidModifiedPropertyName(string propertyName) { 813internal static ArgumentException DetachedObjectStateEntriesDoesNotExistInObjectStateManager() { 885internal static ArgumentException ChangeOnUnmappedProperty(string entityPropertyName) { 889internal static ArgumentException ChangeOnUnmappedComplexProperty(string complexPropertyName) { 893internal static ArgumentException EntityTypeDoesNotMatchEntitySet(string entityType, string entitysetName, string argument) { 1003internal static ArgumentException IncompatibleArgument() { 1034internal static ArgumentException CannotSetSpecialKeys() { 1107internal static ArgumentException UnableToFindRelationshipTypeInMetadata(string relationshipName, string parameterName) { 1110internal static ArgumentException InvalidTargetRole(string relationshipName, string targetRoleName, string parameterName) { 1207internal static ArgumentException InvalidConnection(bool isConnectionConstructor, Exception innerException) 1218internal static ArgumentException InvalidConnectionString(string parameter, Exception inner) { 1221internal static ArgumentException InvalidConnection(string parameter, Exception inner) { 1227internal static ArgumentException InvalidDefaultContainerName(string parameter, string defaultContainerName) { 1264internal static ArgumentException InvalidCommandTimeout(string argument) { 1305internal static ArgumentException QualfiedEntitySetName(string parameterName) { 1308internal static ArgumentException ContainerQualifiedEntitySetNameRequired(string argument) { 1314internal static ArgumentException EntitiesHaveDifferentType(string originalEntityTypeName, string changedEntityTypeName) { 1331internal static ArgumentException InvalidEntitySetOnEntity(string entitySetName, Type entityType, string parameter) { 1334internal static ArgumentException InvalidEntityTypeForObjectSet(string tEntityType, string entitySetType, string entitySetName, string parameter) { 1341internal static ArgumentException MultipleEntitySetsFoundInSingleContainer(string entityTypeName, string entityContainerName, string exceptionParameterName) { 1345internal static ArgumentException MultipleEntitySetsFoundInAllContainers(string entityTypeName, string exceptionParameterName) { 1349internal static ArgumentException NoEntitySetFoundForType(string entityTypeName, string exceptionParameterName) { 1360internal static ArgumentException InvalidRelationshipStateArgument(string paramName) 1365internal static ArgumentException InvalidEntityStateArgument(string paramName) 1382internal static ArgumentException ComplexChangeRequestedOnScalarProperty(string propertyName) 1388internal static ArgumentException SpanPathSyntaxError() { 1396static internal ArgumentException ADP_InvalidMultipartNameDelimiterUsage() 1406static internal ArgumentException InvalidSizeValue(int value) 1411static internal ArgumentException ConnectionStringSyntax(int index) 1419internal static ArgumentException EntitySetDoesNotMatch(string argument, string entitySetName) { 1425internal static ArgumentException IncorrectNumberOfKeyValuePairs(string argument, string typeName, int expectedNumFields, int actualNumFields) { 1432internal static ArgumentException IncorrectValueType(string argument, string keyField, string expectedTypeName, string actualTypeName) { 1438internal static ArgumentException NoCorrespondingOSpaceTypeForEnumKeyField(string argument, string keyField, string cspaceTypeName) { 1444internal static ArgumentException MissingKeyValue(string argument, string keyField, string typeName) { 1447internal static ArgumentException MissingKeyValue(string argument, string keyField, string typeName, Exception inner) { 1458internal static ArgumentException NoNullsAllowedInKeyValuePairs(string argument) { 1461internal static ArgumentException EntityKeyMustHaveValues(string argument) { 1464internal static ArgumentException InvalidQualifiedEntitySetName() { 1467internal static ArgumentException EntityKeyInvalidName(string invalidName) { 1573static internal ArgumentException InvalidDataType(TypeCode typecode) { 1577static internal ArgumentException UnknownDataTypeCode(Type dataType, TypeCode typeCode) { 1687static internal ArgumentException CollectionParameterElementIsNull(string parameterName) { 1690static internal ArgumentException CollectionParameterElementIsNullOrEmpty(string parameterName) { 1723static internal ArgumentException EntityParameterCollectionRemoveInvalidObject() 1727static internal ArgumentException EntityParameterContainedByAnotherCollection() 1814static internal ArgumentException KeywordNotSupported(string keyword) 1819static internal ArgumentException ADP_KeywordNotSupported(string keyword) 2108catch (System.ArgumentException)
System\Data\EntityClient\EntityCommand.cs (1)
846catch (ArgumentException e)
System\Data\EntityClient\EntityConnection.cs (1)
1262catch (ArgumentException e)
System\Data\EntityClient\EntityParameter.cs (1)
175catch (ArgumentException e)
System\Data\EntityKey.cs (1)
372/// <exception cref="ArgumentException">the entity set could not be located in the workspace</exception>
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (2)
202catch (ArgumentException) 251catch (ArgumentException e)
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
60/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception> 158/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception>
System\Data\Mapping\MappingItemCollection.cs (2)
69/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception> 95/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception>
System\Data\Mapping\StorageMappingItemCollection.cs (3)
303/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception> 336/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception> 709catch (ArgumentException e)
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
154catch (ArgumentException duplicateKey)
System\Data\Metadata\AspProxy.cs (1)
171catch (ArgumentException e)
System\Data\Metadata\Edm\AssociationType.cs (1)
106/// <exception cref="System.ArgumentException">Thrown if the member is not an AssociationEndMember</exception>
System\Data\Metadata\Edm\ComplexType.cs (1)
86/// <exception cref="System.ArgumentException">Thrown if the member is not a EdmProperty</exception>
System\Data\Metadata\Edm\EdmProperty.cs (1)
28/// <exception cref="System.ArgumentException">Thrown if name argument is empty string</exception>
System\Data\Metadata\Edm\EdmType.cs (1)
157/// <exception cref="System.ArgumentException">Thrown if the value passed in for setter will create a loop in the inheritance chain</exception>
System\Data\Metadata\Edm\EntityContainer.cs (1)
30/// <exception cref="System.ArgumentException">Thrown if the name argument is empty string</exception>
System\Data\Metadata\Edm\EntitySetBaseCollection.cs (3)
84/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an EntitySet with the given identity</exception> 106/// <exception cref="System.ArgumentException">Thrown if the EntitySetBase that is being added already belongs to another EntityContainer</exception> 107/// <exception cref="System.ArgumentException">Thrown if the EntitySetCollection already contains an EntitySet with the same identity</exception>
System\Data\Metadata\Edm\EntityType.cs (1)
91/// <exception cref="System.ArgumentException">Thrown if the member is not a EdmProperty</exception>
System\Data\Metadata\Edm\EnumMember.cs (1)
45/// <exception cref="System.ArgumentException">Thrown if name argument is empty string</exception>
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (2)
97/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an item with the given identity</exception> 115/// <exception cref="System.ArgumentException">Thrown if identity argument passed in is empty string</exception>
System\Data\Metadata\Edm\FunctionParameter.cs (1)
32/// <exception cref="System.ArgumentException">Thrown if name argument is empty string</exception>
System\Data\Metadata\Edm\ItemCollection.cs (9)
85/// <exception cref="System.ArgumentException">Thrown if the item that is being added already belongs to another ItemCollection</exception> 86/// <exception cref="System.ArgumentException">Thrown if the ItemCollection already contains an item with the same identity</exception> 100/// <exception cref="System.ArgumentException">Thrown if the item that is being added already belongs to another ItemCollection</exception> 101/// <exception cref="System.ArgumentException">Thrown if the ItemCollection already contains an item with the same identity</exception> 129/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an item with the given identity</exception> 178/// <exception cref="System.ArgumentException">Thrown if no item is found with the given identity</exception> 248/// <exception cref="System.ArgumentException">Thrown if the ItemCollection for this space does not have a type with the given name and namespaceName</exception> 387/// <exception cref="System.ArgumentException">if no function is found with the given name or with given input parameters</exception> 434/// <exception cref="System.ArgumentException">Thrown if no entity container with the given name is found</exception>
System\Data\Metadata\Edm\MemberCollection.cs (4)
125/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an item with the given identity</exception> 145/// <exception cref="System.ArgumentException">Thrown if the member that is being added already belongs to another MemberCollection</exception> 146/// <exception cref="System.ArgumentException">Thrown if the MemberCollection already contains a member with the same identity</exception> 212/// <exception cref="System.ArgumentException">Thrown if the array argument passed in with respect to the arrayIndex passed in not big enough to hold the MemberCollection being copied</exception>
System\Data\Metadata\Edm\MetadataCollection.cs (15)
162/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an item with the given identity</exception> 185/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an item with the given identity</exception> 202/// <exception cref="System.ArgumentException">Thrown if the MetadataCollection already contains an item with the same identity</exception> 203/// <exception cref="System.ArgumentException">Thrown if the item passed into Setter has null or String.Empty identity</exception> 281/// <exception cref="System.ArgumentException">Thrown if the MetadataCollection already contains an item with the same identity</exception> 282/// <exception cref="System.ArgumentException">Thrown if the item passed into Setter has null or String.Empty identity</exception> 308/// <exception cref="System.ArgumentException">Thrown if the MetadataCollection already contains an item with the same identity</exception> 309/// <exception cref="System.ArgumentException">Thrown if the item passed into Setter has null or String.Empty identity</exception> 374/// <exception cref="System.ArgumentException">Thrown if the item that is being added already belongs to another ItemCollection</exception> 375/// <exception cref="System.ArgumentException">Thrown if the ItemCollection already contains an item with the same identity</exception> 453/// <exception cref="System.ArgumentException">Thrown if the item passed in has null or String.Empty identity</exception> 466/// <exception cref="System.ArgumentException">Thrown if identity argument passed in is empty string</exception> 478/// <exception cref="System.ArgumentException">Thrown if ignoreCase and an exact match does not exist, but has multiple inexact matches</exception> 551/// <exception cref="System.ArgumentException">Thrown if the item passed in has null or String.Empty identity</exception> 572/// <exception cref="System.ArgumentException">Thrown if the array argument passed in with respect to the arrayIndex passed in not big enough to hold the MetadataCollection being copied</exception>
System\Data\Metadata\Edm\NavigationProperty.cs (1)
29/// <exception cref="System.ArgumentException">Thrown if name argument is empty string</exception>
System\Data\Metadata\Edm\ReadOnlyMetadataCollection.cs (2)
160/// <exception cref="System.ArgumentException">Thrown if the Collection does not have an item with the given identity</exception> 172/// <exception cref="System.ArgumentException">Thrown if identity argument passed in is empty string</exception>
System\Data\Metadata\Edm\RelationshipEndMember.cs (1)
29/// <exception cref="System.ArgumentException">Thrown if name argument is empty string</exception>
System\Data\Metadata\Edm\RowType.cs (2)
33/// <exception cref="System.ArgumentException">Thrown if any individual property in the passed in properties argument is null</exception> 118/// <exception cref="System.ArgumentException">Thrown if the member is not a EdmProperty</exception>
System\Data\Metadata\EdmItemCollection.cs (1)
108/// <exception cref="ArgumentException"> Thrown if path name is not valid</exception>
System\Data\Metadata\MetadataArtifactLoader.cs (1)
482catch (ArgumentException e)
System\Data\Metadata\MetadataWorkspace.cs (28)
50/// <exception cref="ArgumentException">Throw when assembliesToConsider is empty or contains null, or cannot find the corresponding assembly in it</exception> 161/// <exception cref="ArgumentException">If <paramref name="query"/> contains metadata that cannot be resolved in this metadata workspace</exception> 162/// <exception cref="ArgumentException">If <paramref name="query"/> is not structurally valid because it contains unresolvable variable references</exception> 475/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have an item with the given identity</exception> 476/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 511/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have an item with the given identity</exception> 512/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 545/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 562/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have a type with the given name and namespaceName</exception> 563/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 599/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have a type with the given name and namespaceName</exception> 600/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 635/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have a EntityContainer with the given name</exception> 636/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 669/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have a EntityContainer with the given name</exception> 670/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 706/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have a EdmFunction with the given functionName</exception> 707/// <exception cref="System.ArgumentException">If the name or namespaceName is empty</exception> 708/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 726/// <exception cref="System.ArgumentException">If the ItemCollection for this space does not have a EdmFunction with the given functionName</exception> 727/// <exception cref="System.ArgumentException">If the name or namespaceName is empty</exception> 728/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 777/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 791/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 806/// <exception cref="System.ArgumentException">Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace</exception> 835/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception> 847/// <exception cref="ArgumentException"> Thrown if mapping space is not valid</exception> 900/// <exception cref="ArgumentException">Thrown if required and mapping space is not valid or registered</exception>
System\Data\Metadata\ObjectItemCollection.cs (1)
392catch (ArgumentException e)
System\Data\Metadata\StoreItemCollection.cs (1)
143/// <exception cref="ArgumentException"> Thrown if path name is not valid</exception>
System\Data\Metadata\StoreItemCollection.Loader.cs (1)
140catch (ArgumentException e)
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
727ArgumentException argException = EntityUtil.UnableToFindRelationshipTypeInMetadata(relationshipName, "relationshipName");
System\Data\Objects\ObjectContext.cs (8)
184/// <exception cref="ArgumentException">if connectionString is invalid</exception> 203/// <exception cref="ArgumentException">either connectionString or defaultContainerName is invalid</exception> 1964/// <exception cref="ArgumentException">collection contains null or non entities or entities not attached to this context</exception> 1988/// <exception cref="ArgumentException">entity is not attached to this context</exception> 2038catch (ArgumentException) 2554/// <exception cref="ArgumentException">If function is null or empty</exception> 2570/// <exception cref="ArgumentException">If function is null or empty</exception> 2601/// <exception cref="ArgumentException">If function is null or empty</exception>
System\Data\Objects\ObjectParameterCollection.cs (2)
176/// <exception cref="ArgumentException"> 181/// <exception cref="ArgumentException">
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (7)
212/// <exception cref="ArgumentException"> 397/// <exception cref="ArgumentException"> 429/// <exception cref="ArgumentException"> 461/// <exception cref="ArgumentException"> 501/// <exception cref="ArgumentException"> 540/// <exception cref="ArgumentException"> 617/// <exception cref="ArgumentException">
System\Data\Objects\ObjectStateManager.cs (5)
1768/// <exception cref="ArgumentException">if EntityState.Detached flag is set in state</exception> 1781/// <exception cref="ArgumentException">if EntityState.Detached flag is set in state</exception> 1986catch (ArgumentException ex) 2416/// <exception cref="ArgumentException">if key is not found</exception> 2426/// <exception cref="ArgumentException">if key is not found</exception>
System\Data\Spatial\DbGeography.cs (17)
88/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 102/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 116/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 130/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 144/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 162/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 180/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 196/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 227/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 258/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 272/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 286/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 300/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 314/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 332/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 350/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 366/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception>
System\Data\Spatial\DbGeometry.cs (17)
88/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 102/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 116/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 130/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 144/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 162/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 180/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 196/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 227/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 258/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 272/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 286/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 300/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 314/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 332/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 350/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 366/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception>
System\Data\Spatial\DbSpatialServices.cs (105)
72/// <exception cref="ArgumentException"><paramref name="providerValue"/> is not compatible with this spatial services implementation.</exception> 89/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 109/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 119/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 129/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 139/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 149/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 163/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 177/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 189/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 211/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 221/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 231/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 241/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 251/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 265/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 279/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 291/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 314/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 337/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 368/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 377/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 389/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 399/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 414/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 424/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 434/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 448/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 458/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 468/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 478/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 488/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 498/// <exception cref="ArgumentException"><paramref name="geographyValue"/> or <paramref name="otherGeography"/> is not compatible with this spatial services implementation.</exception> 511/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 521/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 534/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 543/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 552/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 561/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 574/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 583/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 592/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 601/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 614/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 624/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 637/// <exception cref="ArgumentException"><paramref name="geographyValue"/> is not compatible with this spatial services implementation.</exception> 674/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 683/// <exception cref="ArgumentException"><paramref name="providerValue"/> is not compatible with this spatial services implementation.</exception> 703/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 713/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 723/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 733/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 743/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 757/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 771/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 783/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 805/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 815/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 825/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 835/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 845/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 859/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 873/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 885/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 908/// <exception cref="ArgumentException"><paramref name="coordinateSystemId"/> is not valid.</exception> 940/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 949/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 998/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1007/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1019/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1029/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1044/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1054/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1064/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1074/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1084/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1094/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1104/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1114/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1126/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1140/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1150/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1169/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1179/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1189/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1199/// <exception cref="ArgumentException"><paramref name="geometryValue"/> or <paramref name="otherGeometry"/> is not compatible with this spatial services implementation.</exception> 1212/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1222/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1235/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1244/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1253/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1262/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1275/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1284/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1293/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1302/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1311/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1324/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1334/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1347/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1356/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1366/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1379/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1388/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception> 1398/// <exception cref="ArgumentException"><paramref name="geometryValue"/> is not compatible with this spatial services implementation.</exception>
System.Data.Entity.Design (16)
System\Data\Entity\Design\Common\EDesignUtil.cs (15)
69static internal ArgumentException SingleStoreEntityContainerExpected(string parameterName) 71ArgumentException e = new ArgumentException(Strings.SingleStoreEntityContainerExpected, parameterName); 74static internal ArgumentException InvalidStoreEntityContainer(string entityContainerName, string parameterName) 76ArgumentException e = new ArgumentException(Strings.InvalidNonStoreEntityContainer(entityContainerName), parameterName); 79static internal ArgumentException InvalidStringArgument(string parameterName) { 80ArgumentException e = new ArgumentException(Strings.InvalidStringArgument(parameterName)); 84static internal ArgumentException EdmReservedNamespace(string namespaceName) { 85ArgumentException e = new ArgumentException(Strings.ReservedNamespace(namespaceName)); 94static internal ArgumentException Argument(string parameter) 96ArgumentException e = new ArgumentException(parameter); 100static internal ArgumentException Argument(string message, Exception inner) 102ArgumentException e = new ArgumentException(message, inner); 140static internal ArgumentException InvalidNamespaceNameArgument(string namespaceName) 145static internal ArgumentException InvalidEntityContainerNameArgument(string entityContainerName) 150static internal ArgumentException DuplicateEntityContainerName(string newModelEntityContainerName, string storeEntityContainer)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
308catch (ArgumentException e)
System.Data.Services (10)
System\Data\Services\HttpProcessUtility.cs (3)
281catch (ArgumentException) 401if (e is FormatException || e is OverflowException || e is ArgumentException) 447catch (ArgumentException)
System\Data\Services\Providers\IDataServiceStreamProvider.cs (3)
93/// <exception cref="ArgumentException">entity does not represent an Entity Type which has a default stream attached to it.</exception> 149/// <exception cref="ArgumentException">entity does not represent an Entity Type which has a default stream attached to it.</exception> 180/// <exception cref="ArgumentException">entity does not represent an Entity Type which has a default stream attached to it.</exception>
System\Data\Services\Providers\ResourceType.cs (1)
963catch (ArgumentException exception)
System\Data\Services\UpdatableWrapper.cs (1)
111catch (ArgumentException e)
System\Data\Services\WebUtil.cs (2)
205/// <exception cref="ArgumentException">if the value is not valid.</exception> 220/// <exception cref="ArgumentException">if the value is not valid.</exception>
System.Data.Services.Client (34)
parent\Server\System\Data\Services\HttpProcessUtility.cs (2)
401if (e is FormatException || e is OverflowException || e is ArgumentException) 447catch (ArgumentException)
System\Data\Services\Client\DataServiceContext.cs (29)
132/// <exception cref="ArgumentException">if the <paramref name="serviceRoot"/> is not an absolute, well formed http or https URI without a query or fragment</exception> 769/// <exception cref="ArgumentException">If the entity specified is not being tracked.</exception> 791/// <exception cref="ArgumentException">The specified entity is either not tracked, is in the added state or it's not an MLE.</exception> 822/// <exception cref="ArgumentException">The specified entity is either not tracked, is in the added state or it's not an MLE.</exception> 838/// <exception cref="ArgumentException">The specified entity is either not tracked, is in the added state or it's not an MLE. 858/// <exception cref="ArgumentException">The specified entity is either not tracked, is in the added state or it's not an MLE.</exception> 884/// <exception cref="ArgumentException">The entity is not being tracked or the contentType is an empty string. 910/// <exception cref="ArgumentException">The entity is not being tracked. The entity has the MediaEntry attribute 1040/// <exception cref="ArgumentException">asyncResult did not originate from this instance or End was previously called</exception> 1057/// <exception cref="ArgumentException">!BaseUri.IsBaseOf(requestUri)</exception> 1259/// <exception cref="ArgumentException">if sourceProperty is empty</exception> 1376/// <exception cref="ArgumentException">if entitySetName is empty</exception> 1378/// <exception cref="ArgumentException">if entity does not have a key property</exception> 1394catch (ArgumentException) 1453catch (ArgumentException) 1473/// <exception cref="ArgumentException">if entitySetName is empty</exception> 1475/// <exception cref="ArgumentException">if entity does not have a key property</exception> 1490/// <exception cref="ArgumentException">if entitySetName is empty</exception> 1492/// <exception cref="ArgumentException">if entity does not have a key property</exception> 1570/// <exception cref="ArgumentException">if entity is detached</exception> 2518/// <exception cref="ArgumentException">if entity does not have a key property</exception> 2532/// <exception cref="ArgumentException">if entity does not have a key property</exception> 3442/// <exception cref="ArgumentException">if resource is not contained</exception> 3465/// <exception cref="ArgumentException">if source or target are not contained</exception> 3467/// <exception cref="ArgumentException">if source property empty</exception> 3469/// <exception cref="ArgumentException">If target doesn't match property type.</exception> 3550/// <exception cref="ArgumentException">if entitySetName was empty or contained only forward slash</exception> 3597/// <exception cref="ArgumentException">The specified entity is either not tracked, 5447catch (ArgumentException e)
System\Data\Services\Client\Error.cs (1)
25internal static ArgumentException Argument(string message, string parameterName)
System\Data\Services\Client\Util.cs (2)
159/// <exception cref="System.ArgumentException">if value is empty</exception> 176/// <exception cref="System.ArgumentException">if value is empty or contains null elements</exception>
System.Data.Services.Design (2)
System\Data\Entity\Design\Common\EDesignUtil.cs (2)
64static internal ArgumentException InvalidStringArgument(string parameterName) { 65ArgumentException e = new ArgumentException(Strings.InvalidStringArgument(parameterName));
System.Data.SqlXml (7)
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
170catch (ArgumentException) {
System\Xml\Xsl\Runtime\XsltFunctions.cs (3)
376} catch (ArgumentException) { // Operations with DateTime can throw this exception eventualy 422} catch (ArgumentException) { // Operations with DateTime can throw this exception eventualy 508} catch (System.ArgumentException) {
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
237} catch (System.ArgumentException) {
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
552} catch (ArgumentException) {
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
127catch (System.ArgumentException) {}
System.Drawing (10)
commonui\System\Drawing\BitmapSelector.cs (1)
60catch (ArgumentException) { // there are invalid characters in the path
commonui\System\Drawing\FontConverter.cs (1)
408private ArgumentException GetFormatException(string text, char separator){
commonui\System\Drawing\Icon.cs (1)
1076} catch(ArgumentException) { // GDI+ weirdness episode MMMCLXXXXIVI, sometime FromHicon crash with no real reason,
commonui\System\Drawing\Image.cs (2)
106catch (ArgumentException e) { 456catch (ArgumentException) {
commonui\System\Drawing\ImageConverter.cs (1)
246catch (ArgumentException) // may be caused by Marshal.PtrToStructure
commonui\System\Drawing\SystemFonts.cs (4)
241ex is ArgumentException || 377catch (ArgumentException) { 387catch (ArgumentException) { 430catch (ArgumentException) {
System.IdentityModel (61)
System\IdentityModel\Configuration\IdentityConfiguration.cs (7)
243catch (ArgumentException inner) 256catch (ArgumentException inner) 269catch (ArgumentException inner) 284catch (ArgumentException inner) 501catch (ArgumentException inner) 552catch (ArgumentException inner) 719catch (ArgumentException inner)
System\IdentityModel\Configuration\SecurityTokenServiceConfiguration.cs (1)
261/// <exception cref="ArgumentException">The provided value is not defined in the token handlers.</exception>
System\IdentityModel\CryptoHelper.cs (4)
172/// <exception cref="ArgumentException">When keySizeInBits is not a whole number of bytes.</exception> 193/// <exception cref="ArgumentException">When keySizeInBits is not a whole number of bytes.</exception> 219/// <exception cref="ArgumentException">When keySizeInBits is not a proper DES key size.</exception> 250/// <exception cref="ArgumentException">When keySizeInBits is not a proper DES key size.</exception>
System\IdentityModel\DeflateCookieTransform.cs (2)
42/// <exception cref="ArgumentException">The argument 'value' contains zero bytes.</exception> 87/// <exception cref="ArgumentException">The argument 'value' contains zero bytes.</exception>
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
52/// <exception cref="ArgumentException">The string 'referenceId' is either null or empty.</exception>
System\IdentityModel\Metadata\EntityId.cs (1)
36/// <exception cref="ArgumentException">If length of the id is larger than the maximum length.</exception>
System\IdentityModel\Metadata\MetadataSerializer.cs (3)
1072catch (ArgumentException) 1131catch (ArgumentException) 3334|| inner is ArgumentException
System\IdentityModel\ProtectedDataCookieTransform.cs (2)
38/// <exception cref="ArgumentException">The argument 'encoded' contains zero bytes.</exception> 74/// <exception cref="ArgumentException">The argument 'value' contains zero bytes.</exception>
System\IdentityModel\Protocols\WSTrust\ContextItem.cs (1)
44/// <exception cref="ArgumentException">Input argument 'name' or 'scope' is not an absolute URI.</exception>
System\IdentityModel\Protocols\WSTrust\Lifetime.cs (2)
26/// <exception cref="ArgumentException">When the given expiration time is 38/// <exception cref="ArgumentException">When the given expiration time is
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (1)
188/// <exception cref="ArgumentException">elementName is null or an empty string.</exception>
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (1)
168/// <exception cref="ArgumentException">elementName is null or an empty string.</exception>
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005RequestSerializer.cs (1)
131/// <exception cref="ArgumentException">elementName is null or an empty string.</exception>
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005ResponseSerializer.cs (1)
130/// <exception cref="ArgumentException">elementName is null or an empty string.</exception>
System\IdentityModel\RsaEncryptionCookieTransform.cs (4)
64/// <exception cref="ArgumentException">When the certificate has no private key.</exception> 65/// <exception cref="ArgumentException">When the certificate's key is not RSA.</exception> 138/// <exception cref="ArgumentException">The argument 'encoded' contains zero bytes.</exception> 258/// <exception cref="ArgumentException">The argument 'value' contains zero bytes.</exception>
System\IdentityModel\RsaSignatureCookieTransform.cs (4)
53/// <exception cref="ArgumentException">When the certificate has no private key.</exception> 54/// <exception cref="ArgumentException">When the certificate's key is not RSA.</exception> 132/// <exception cref="ArgumentException">The argument 'encoded' contains zero bytes.</exception> 227/// <exception cref="ArgumentException">The argument 'value' contains zero bytes.</exception>
System\IdentityModel\Tokens\AggregateTokenResolver.cs (1)
28/// <exception cref="ArgumentException">The input 'tokenResolver' list does not contain a valid
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (1)
179/// <exception cref="ArgumentException">The argument 'certificateThumbprint' or 'name' is either null or Empty.</exception>
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (1)
279/// <exception cref="ArgumentException">The <see cref="SecurityToken"/> is not an instance of <see cref="EncryptedSecurityToken"/>.</exception>
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
66/// <exception cref="ArgumentException">The token is not assignable from <see cref="KerberosReceiverSecurityToken"/>.</exception>
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
333return ((e is ArgumentException) || (e is FormatException) || (e is InvalidOperationException));
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
145/// <exception cref="ArgumentException">The token is not assignable from <see cref="RsaSecurityToken"/>.</exception>
System\IdentityModel\Tokens\Saml2Id.cs (1)
36/// <exception cref="ArgumentException">If the value is not a valid NCName.</exception>
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (6)
306/// <exception cref="ArgumentException">The token is not of assignable from <see cref="Saml2SecurityToken"/>.</exception> 413/// <exception cref="ArgumentException">If <paramref name="upn"/> is null or empty.</exception> 432/// <exception cref="ArgumentException">The input argument 'token' is not a <see cref="Saml2SecurityToken"/>.</exception> 606|| inner is ArgumentException 837|| inner is ArgumentException 1633/// <exception cref="ArgumentException">The input argument 'token' can not be cast as a 'Saml2SecurityToken'.</exception>
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (4)
769/// <exception cref="ArgumentException">The input argument 'token' is not a SamlSecurityToken.</exception> 952/// <exception cref="ArgumentException">The token is not assignable from <see cref="SamlSecurityToken"/>.</exception> 954/// <exception cref="ArgumentException">SamlSecurityToken.Assertion is null.</exception> 1060/// <exception cref="ArgumentException">If <paramref name="upn"/> is null or empty.</exception>
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
283/// <exception cref="ArgumentException">The input argument 'tokenString' is null or empty.</exception> 399/// <exception cref="ArgumentException">The input argument 'tokenString' is null or empty.</exception>
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
577/// <exception cref="ArgumentException">The token is not assignable from <see cref="SessionSecurityToken"/>.</exception>
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (2)
49/// <exception cref="ArgumentException">The token is not assignable from<see cref="UserNameSecurityToken"/>.</exception> 51/// <exception cref="ArgumentException">If username is not if the form 'user\domain'.</exception>
System\IdentityModel\Tokens\X509DataSecurityKeyIdentifierClauseSerializer.cs (1)
111/// <exception cref="ArgumentException">The parameter 'securityKeyIdentifierClause' is not a supported clause type.</exception>
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
491/// <exception cref="ArgumentException">The token is not assignable from <see cref="X509SecurityToken"/>.</exception> 640/// <exception cref="ArgumentException">The token is not of type X509SecurityToken.</exception>
System.IO.Log (1)
System\IO\Log\FileRecordSequenceHelper.cs (1)
307catch (ArgumentException exception)
System.Numerics (6)
System\Numerics\BigNumber.cs (3)
305internal static bool TryValidateParseStyleInteger(NumberStyles style, out ArgumentException e) { 324ArgumentException e; 357ArgumentException e;
System\Numerics\Vector2_Intrinsics.cs (1)
62/// <exception cref="ArgumentException">If number of elements in source vector is greater than those available in destination array
System\Numerics\Vector3_Intrinsics.cs (1)
75/// <exception cref="ArgumentException">If number of elements in source vector is greater than those available in destination array.</exception>
System\Numerics\Vector4_Intrinsics.cs (1)
103/// <exception cref="ArgumentException">If number of elements in source vector is greater than those available in destination array.</exception>
System.Runtime.DurableInstancing (3)
System\Runtime\PersistencePipeline.cs (3)
92catch (ArgumentException exception) 106catch (ArgumentException exception) 147catch (ArgumentException exception)
System.Runtime.Serialization (31)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
59catch (ArgumentException exception)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (4)
216catch (ArgumentException exception) 246catch (ArgumentException exception) 318catch (ArgumentException exception) 356catch (ArgumentException exception)
System\Runtime\Serialization\Json\XmlJsonReader.cs (3)
695catch (ArgumentException exception) 721catch (ArgumentException exception) 1020catch (ArgumentException exception)
System\Runtime\Serialization\XmlReaderDelegator.cs (5)
504catch (ArgumentException exception) 724catch (ArgumentException exception) 746catch (ArgumentException exception) 770catch (ArgumentException exception) 787catch (ArgumentException exception)
System\Xml\XmlBufferReader.cs (2)
493catch (ArgumentException exception) 515catch (ArgumentException exception)
System\Xml\XmlConverter.cs (13)
71catch (ArgumentException exception) 100catch (ArgumentException exception) 128catch (ArgumentException exception) 156catch (ArgumentException exception) 184catch (ArgumentException exception) 212catch (ArgumentException exception) 237catch (ArgumentException exception) 249catch (ArgumentException exception) 273catch (ArgumentException exception) 294catch (ArgumentException exception) 324catch (ArgumentException exception) 345catch (ArgumentException exception) 819catch (ArgumentException)
System\Xml\XmlDictionaryReader.cs (3)
867catch (ArgumentException exception) 898catch (ArgumentException exception) 930catch (ArgumentException exception)
System.ServiceModel (26)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
195catch (ArgumentException)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
497catch (ArgumentException e)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3366catch (ArgumentException ex)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
189catch (ArgumentException ex)
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
407catch (ArgumentException e)
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
849internal static ArgumentException ThrowHelperArgument(string paramName, string message, Message msg) 851return (ArgumentException)TraceUtility.ThrowHelperError(new ArgumentException(message, paramName), msg);
System\ServiceModel\FaultException.cs (1)
257catch (ArgumentException)
System\ServiceModel\MsmqException.cs (3)
93faultSender = false; faultReceiver = false; outerExceptionType = typeof(ArgumentException); break; 95faultSender = false; faultReceiver = false; outerExceptionType = typeof(ArgumentException); break; 97faultSender = true; faultReceiver = true; outerExceptionType = typeof(ArgumentException); break;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
686|| e is ArgumentException
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
72|| (e is ArgumentException));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
206return ((e is ArgumentException) || (e is FormatException) || (e is InvalidOperationException));
System\ServiceModel\Security\WSTrustServiceContract.cs (4)
1922/// <exception cref="ArgumentException">Either 'prefix' or 'ns' is null or empty string.</exception> 1969/// <exception cref="ArgumentException">The parameter 'ns' is either null or String.Empty.</exception> 2031/// <exception cref="ArgumentException">The parameter 'ns' is either null or String.Empty.</exception> 2084/// <exception cref="ArgumentException">The parameter 'operationName' is null or Empty.</exception>
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (2)
894catch (ArgumentException e) 982catch (ArgumentException e)
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (1)
241catch (ArgumentException e)
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
632catch (ArgumentException e)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
753catch (ArgumentException e) 1046catch (ArgumentException e)
System\ServiceModel\Transactions\OleTxTransactionInfo.cs (1)
33catch (ArgumentException e)
System\ServiceModel\Transactions\WhereaboutsReader.cs (1)
156catch (ArgumentException e)
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\ServiceParser.cs (2)
500catch (ArgumentException) 684catch (ArgumentException e)
System\ServiceModel\Activation\ServiceRouteHandler.cs (1)
84catch (ArgumentException)
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (1)
196catch (ArgumentException ex)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
679catch (ArgumentException)
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (2)
247catch (ArgumentException argumentException) 606catch (ArgumentException argumentException)
System.ServiceModel.Internals (4)
System\Runtime\ExceptionTrace.cs (3)
174public ArgumentException Argument(string paramName, string message) 176return TraceException<ArgumentException>(new ArgumentException(message, paramName)); 189public ArgumentException ArgumentNullOrEmpty(string paramName)
System\Runtime\Fx.cs (1)
435catch (ArgumentException)
System.ServiceModel.Web (1)
System\ServiceModel\Web\CachingParameterInspector.cs (1)
197catch (ArgumentException)
System.Transactions (1)
System\Transactions\TransactionState.cs (1)
5347catch (ArgumentException e)
System.Web (36)
Cache\SqlCacheDependency.cs (1)
414catch (ArgumentException) {
Compilation\BaseResourcesBuildProvider.cs (2)
67catch (ArgumentException e) { 122catch (ArgumentException) {
Compilation\BuildManager.cs (1)
1322catch (ArgumentException e) {
Compilation\MultiTargetingUtil.cs (2)
178catch (ArgumentException e) { 385catch (ArgumentException e) {
Configuration\MachineKeySection.cs (2)
1015catch (ArgumentException) 1035catch (ArgumentException)
Configuration\serverconfig.cs (1)
85catch (ArgumentException) {
Configuration\WebConfigurationHost.cs (1)
504catch (ArgumentException) {
DataAccess\SqlConnectionHelper.cs (1)
294catch (ArgumentException e) {
ModelBinding\Error.cs (7)
14public static ArgumentException Common_TypeMustImplementInterface(Type providedType, Type requiredInterfaceType, string parameterName) { 20public static ArgumentException GenericModelBinderProvider_ParameterMustSpecifyOpenGenericType(Type specifiedType, string parameterName) { 26public static ArgumentException GenericModelBinderProvider_TypeArgumentCountMismatch(Type modelType, Type modelBinderType) { 39public static ArgumentException ModelBinderUtil_ModelCannotBeNull(Type expectedType) { 46public static ArgumentException ModelBinderUtil_ModelInstanceIsWrong(Type actualType, Type expectedType) { 53public static ArgumentException ModelBinderUtil_ModelMetadataCannotBeNull() { 58public static ArgumentException ModelBinderUtil_ModelTypeIsWrong(Type actualType, Type expectedType) {
Security\ADMembershipProvider.cs (1)
401catch( ArgumentException e )
Security\MembershipPasswordAttribute.cs (1)
199catch (ArgumentException ex) {
Security\SQLMembershipProvider.cs (1)
140catch( ArgumentException e )
State\SessionStateUtil.cs (1)
45catch (ArgumentException) {
UI\BatchParser.cs (1)
318catch (ArgumentException) {}
UI\MasterPage.cs (1)
159catch (ArgumentException) {
UI\Page.cs (1)
2676catch (ArgumentException) {
UI\SimpleWebHandlerParser.cs (1)
285catch (ArgumentException) {
UI\TagNameToTypeMapper.cs (1)
446catch (ArgumentException) {
UI\TemplateParser.cs (1)
2762catch (ArgumentException) {
Util\ExceptionUtil.cs (4)
12static internal ArgumentException ParameterInvalid(string parameter) { 16static internal ArgumentException ParameterNullOrEmpty(string parameter) { 20static internal ArgumentException PropertyInvalid(string property) { 24static internal ArgumentException PropertyNullOrEmpty(string property) {
Util\FileUtil.cs (1)
261catch (ArgumentException) {
Util\ProviderUtil.cs (3)
45if (e is ArgumentException || e is FormatException || e is OverflowException) { 85if (e is ArgumentException || e is FormatException || e is OverflowException) { 126if (e is ArgumentException || e is FormatException || e is OverflowException) {
System.Web.ApplicationServices (4)
Security\MembershipProvider.cs (1)
106catch (ArgumentException) {
Security\MembershipUser.cs (3)
199catch (ArgumentException) { 243catch (ArgumentException) { 313catch (ArgumentException) {
System.Web.DataVisualization (35)
Common\Annotation\AnnotationBase.cs (1)
3338catch (ArgumentException)
Common\Annotation\ImageAnnotation.cs (1)
717 catch(ArgumentException)
Common\Annotation\LineAnnotation.cs (1)
693catch (ArgumentException)
Common\Annotation\PolygonAnnotation.cs (1)
762catch (ArgumentException)
Common\ChartTypes\AreaChart.cs (1)
561catch (ArgumentException)
Common\ChartTypes\FunnelChart.cs (2)
2345catch (ArgumentException) 2361 catch(ArgumentException)
Common\ChartTypes\KagiChart.cs (1)
602catch (ArgumentException)
Common\ChartTypes\LineChart.cs (1)
936catch (ArgumentException)
Common\ChartTypes\PieChart.cs (2)
850catch (ArgumentException) 2986catch (ArgumentException)
Common\ChartTypes\RadarChart.cs (1)
917catch (ArgumentException)
Common\ChartTypes\RangeChart.cs (1)
1783catch (ArgumentException)
Common\ChartTypes\StackedAreaChart.cs (1)
733catch (ArgumentException)
Common\ChartTypes\StepLineChart.cs (2)
144catch (ArgumentException) 179catch (ArgumentException)
Common\ChartTypes\StockChart.cs (4)
758catch (ArgumentException) 781catch (ArgumentException) 1587catch (ArgumentException) 1606catch (ArgumentException)
Common\Converters\AxisConverters.cs (2)
197catch (ArgumentException) 413catch (ArgumentException)
Common\DataManager\DataSeries.cs (1)
2393catch (ArgumentException)
Common\Formulas\FormulaHelpers.cs (1)
1618catch (ArgumentException)
Common\General\Axis.cs (2)
2103catch (ArgumentException) 2205catch (ArgumentException)
Common\General\AxisScrollZoom.cs (1)
1740catch (ArgumentException)
Common\General\Chart.cs (1)
324catch (ArgumentException)
Common\General\ChartGraphics3D.cs (1)
2429catch (ArgumentException)
Common\Utilities\ImageLoader.cs (1)
301catch (ArgumentException)
Common\Utilities\XmlSerializer.cs (2)
789catch (ArgumentException) 806catch (ArgumentException)
WebForm\ChartWebControl.cs (2)
916catch (ArgumentException) 3220catch (ArgumentException) { }
WebForm\General\ChartHttpHandler.cs (1)
1149catch (ArgumentException)
System.Web.DynamicData (2)
DynamicData\FilterRepeater.cs (1)
174} catch (ArgumentException e) {
DynamicData\FilterUserControlBase.cs (1)
163} catch (ArgumentException e) {
System.Web.Entity.Design (2)
parent\parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
60catch (ArgumentException) { // there are invalid characters in the path
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
788catch (ArgumentException ex)
System.Web.Extensions (1)
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
152catch (System.ArgumentException)
System.Web.Mobile (2)
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
941catch(ArgumentException ex) 1201catch(ArgumentException ex)
System.Web.Services (3)
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
145ArgumentException exception = new ArgumentException(Res.GetString(Res.WebInvalidFormat));
System\Web\Services\Protocols\RequestResponse.cs (1)
237catch (System.ArgumentException e)
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
730else if (serverMethod != null && serverMethod.rpc && helper.Version == SoapProtocolVersion.Soap12 && e is ArgumentException)
System.Windows.Forms (11)
parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
60catch (ArgumentException) { // there are invalid characters in the path
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
991if ((e is ArgumentException) || (e is CryptographicException))
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
1789} catch (ArgumentException) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2FontConverter.cs (1)
82catch(ArgumentException) {
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
11665catch (ArgumentException)
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
357catch (ArgumentException) {
winforms\Managed\System\WinForms\FeatureSupport.cs (2)
50catch (ArgumentException) {} 85catch (ArgumentException) {}
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
130catch (ArgumentException)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1104catch (System.ArgumentException) {
winforms\Managed\System\WinForms\ToolTip.cs (1)
2622catch (ArgumentException) {
System.Windows.Forms.DataVisualization (32)
Common\Annotation\AnnotationBase.cs (1)
3338catch (ArgumentException)
Common\Annotation\ImageAnnotation.cs (1)
717 catch(ArgumentException)
Common\Annotation\LineAnnotation.cs (1)
693catch (ArgumentException)
Common\Annotation\PolygonAnnotation.cs (1)
762catch (ArgumentException)
Common\ChartTypes\AreaChart.cs (1)
561catch (ArgumentException)
Common\ChartTypes\FunnelChart.cs (2)
2345catch (ArgumentException) 2361 catch(ArgumentException)
Common\ChartTypes\KagiChart.cs (1)
602catch (ArgumentException)
Common\ChartTypes\LineChart.cs (1)
936catch (ArgumentException)
Common\ChartTypes\PieChart.cs (2)
850catch (ArgumentException) 2986catch (ArgumentException)
Common\ChartTypes\RadarChart.cs (1)
917catch (ArgumentException)
Common\ChartTypes\RangeChart.cs (1)
1783catch (ArgumentException)
Common\ChartTypes\StackedAreaChart.cs (1)
733catch (ArgumentException)
Common\ChartTypes\StepLineChart.cs (2)
144catch (ArgumentException) 179catch (ArgumentException)
Common\ChartTypes\StockChart.cs (4)
758catch (ArgumentException) 781catch (ArgumentException) 1587catch (ArgumentException) 1606catch (ArgumentException)
Common\Converters\AxisConverters.cs (2)
197catch (ArgumentException) 413catch (ArgumentException)
Common\DataManager\DataSeries.cs (1)
2393catch (ArgumentException)
Common\Formulas\FormulaHelpers.cs (1)
1618catch (ArgumentException)
Common\General\Axis.cs (2)
2103catch (ArgumentException) 2205catch (ArgumentException)
Common\General\AxisScrollZoom.cs (1)
1740catch (ArgumentException)
Common\General\Chart.cs (1)
324catch (ArgumentException)
Common\General\ChartGraphics3D.cs (1)
2429catch (ArgumentException)
Common\Utilities\ImageLoader.cs (1)
301catch (ArgumentException)
Common\Utilities\XmlSerializer.cs (2)
789catch (ArgumentException) 806catch (ArgumentException)
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\TypeSystem\AssemblyLoader.cs (1)
98catch (ArgumentException)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
482catch (ArgumentException)
AuthoringOM\Utility.cs (1)
42catch (ArgumentException)
System.Workflow.Runtime (1)
WorkflowExecutor.cs (1)
376catch (ArgumentException e)
System.WorkflowServices (3)
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (3)
89ArgumentException exception = new ArgumentException( 106ArgumentException exception = new ArgumentException( 123ArgumentException exception = new ArgumentException(
System.Xml (17)
System\Xml\Core\XmlTextReaderImpl.cs (4)
3017catch ( ArgumentException innerEx) { 3210catch ( ArgumentException ) { 3235catch ( ArgumentException ) { 7033catch ( ArgumentException e ) {
System\Xml\Schema\DataTypeImplementation.cs (8)
544catch (ArgumentException e) { //Catching for exceptions thrown by ValueConverter 983catch (ArgumentException e) { //Catching for exceptions thrown by ValueConverter 1189catch (ArgumentException e) { //Catching for exceptions thrown by ValueConverter 1870catch (ArgumentException e) { 2229catch (ArgumentException e) { 2321catch (ArgumentException e) { 2503catch (ArgumentException e) { 2820catch (ArgumentException e) {
System\Xml\Schema\Preprocessor.cs (1)
1694catch (ArgumentException) {
System\Xml\Serialization\XmlSchemaImporter.cs (1)
400catch (ArgumentException) {
System\Xml\XmlConvert.cs (2)
1331catch (ArgumentException) { 1685internal static ArgumentException CreateInvalidNameArgumentException(string name, string argumentName) {
System\Xml\XPath\Internal\CompiledXPathExpr.cs (1)
139catch (System.ArgumentException) {
System.Xml.Linq (5)
System\Xml\Linq\XLinq.cs (5)
2066/// <exception cref="ArgumentException"> 4345/// <exception cref="ArgumentException"> 4380/// <exception cref="ArgumentException"> 5834catch (ArgumentException) { 5877catch (ArgumentException) {
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\Misc.cs (1)
1860if (ex is ArgumentException || ex is SystemException)
WindowsBase (82)
Base\MS\Internal\ContentType.cs (6)
82/// <exception cref="ArgumentException">If the contentType string has leading or 84/// <exception cref="ArgumentException">If the contentType string invalid CR-LF characters</exception> 423/// <exception cref="ArgumentException">If the typeAndSubType parameter does not have the "/" character</exception> 443/// <exception cref="ArgumentException">If the string does not have the required "="</exception> 553/// <exception cref="ArgumentException">If the token is Empty</exception> 579/// <exception cref="ArgumentException">If the paramter value is empty</exception>
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileStorageReference.cs (1)
135/// <exception cref="ArgumentException">if leading or trailing path delimiter</exception>
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileStreamReference.cs (2)
72/// <exception cref="ArgumentException">streamName cannot be null or empty</exception> 147/// <exception cref="ArgumentException">if leading or trailing path delimiter</exception>
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
393catch (ArgumentException argEx)
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
185/// <exception cref="ArgumentException">If partName is a piece uri.</exception>
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
618catch (ArgumentException ae)
Base\System\IO\Packaging\Package.cs (10)
281/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 303/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 353/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 377/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 395/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 642/// <exception cref="ArgumentException">If TargetMode is TargetMode.Internal and the targetUri is an absolute Uri </exception> 643/// <exception cref="ArgumentException">If relationship is being targeted to a relationship part</exception> 664/// <exception cref="ArgumentException">If TargetMode is TargetMode.Internal and the targetUri is an absolute Uri </exception> 665/// <exception cref="ArgumentException">If relationship is being targeted to a relationship part</exception> 726/// <exception cref="ArgumentException">If parameter "relationshipType" is an empty string</exception>
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
655/// <exception cref="ArgumentException">signatures must be non-empty and cannot refer to parts other than signature parts.</exception>
Base\System\IO\Packaging\PackagePart.cs (7)
94/// <exception cref="ArgumentException">If parameter "partUri" does not conform to the valid partUri syntax</exception> 123/// <exception cref="ArgumentException">If parameter "partUri" does not conform to the valid partUri syntax</exception> 412/// <exception cref="ArgumentException">If TargetMode is TargetMode.Internal and the targetUri is an absolute Uri </exception> 413/// <exception cref="ArgumentException">If relationship is being targeted to a relationship part</exception> 436/// <exception cref="ArgumentException">If TargetMode is TargetMode.Internal and the targetUri is an absolute Uri </exception> 437/// <exception cref="ArgumentException">If relationship is being targeted to a relationship part</exception> 502/// <exception cref="ArgumentException">If parameter "relationshipType" is an empty string</exception>
Base\System\IO\Packaging\PackageRelationshipSelector.cs (2)
47/// <exception cref="ArgumentException">If PackageRelationshipSelectorType.Type and selection criteria is not valid relationship type</exception> 48/// <exception cref="ArgumentException">If sourceUri is not "/" to indicate the PackageRoot, then it must conform to the
Base\System\IO\Packaging\PackUriHelper.cs (45)
63/// <exception cref="ArgumentException">If packageUri parameter is not an absolute Uri</exception> 80/// <exception cref="ArgumentException">If packageUri parameter is not an absolute Uri</exception> 81/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 100/// <exception cref="ArgumentException">If packageUri parameter is not an absolute Uri</exception> 101/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 102/// <exception cref="ArgumentException">If fragment parameter is empty or does not start with a "#"</exception> 165/// <exception cref="ArgumentException">If packUri parameter is not an absolute Uri</exception> 166/// <exception cref="ArgumentException">If packUri parameter does not have "pack://" scheme</exception> 167/// <exception cref="ArgumentException">If inner packageUri extracted from the packUri has a fragment component</exception> 191/// <exception cref="ArgumentException">If packUri parameter is not an absolute Uri</exception> 192/// <exception cref="ArgumentException">If packUri parameter does not have "pack://" scheme</exception> 193/// <exception cref="ArgumentException">If partUri extracted from packUri does not conform to the valid partUri syntax</exception> 219/// <exception cref="ArgumentException">If partUri parameter is an absolute Uri</exception> 220/// <exception cref="ArgumentException">If partUri parameter is empty</exception> 221/// <exception cref="ArgumentException">If partUri parameter ends with "/"</exception> 222/// <exception cref="ArgumentException">If partUri parameter starts with two "/"</exception> 223/// <exception cref="ArgumentException">If partUri parameter has a fragment</exception> 263/// <exception cref="ArgumentException">If either sourcePartUri or targetUri parameter is an absolute Uri</exception> 264/// <exception cref="ArgumentException">If sourcePartUri parameter does not conform to the valid partUri syntax</exception> 294/// <exception cref="ArgumentException">If either sourcePartUri or targetPartUri parameter does not conform to the valid partUri syntax</exception> 317/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 337/// <exception cref="ArgumentException">If either of the Uris are not absolute or if either of the Uris are not with pack:// scheme</exception> 338/// <exception cref="ArgumentException">If firstPackUri or secondPackUri parameter is not an absolute Uri</exception> 339/// <exception cref="ArgumentException">If firstPackUri or secondPackUri parameter does not have "pack://" scheme</exception> 387/// <exception cref="ArgumentException">If firstPartUri or secondPartUri parameter does not conform to the valid partUri syntax</exception> 411/// <exception cref="ArgumentException">If partUri parameter is an absolute Uri</exception> 412/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri Syntax</exception> 433/// <exception cref="ArgumentException">If the input Uri is a relationship part Uri itself</exception> 435/// <exception cref="ArgumentException">If partUri parameter is an absolute Uri</exception> 436/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri Syntax</exception> 488/// <exception cref="ArgumentException">If relationshipPartUri parameter is an absolute Uri</exception> 489/// <exception cref="ArgumentException">If relationshipPartUri parameter does not conform to the valid partUri Syntax</exception> 490/// <exception cref="ArgumentException">If the relationshipPartUri is not a relationship part Uri itself</exception> 491/// <exception cref="ArgumentException">If the resultant Uri obtained is a relationship part Uri</exception> 613/// <exception cref="ArgumentException">If partUri parameter is an absolute Uri</exception> 614/// <exception cref="ArgumentException">If partUri parameter is empty</exception> 615/// <exception cref="ArgumentException">If partUri parameter does not start with a "/"</exception> 616/// <exception cref="ArgumentException">If partUri parameter starts with two "/"</exception> 617/// <exception cref="ArgumentException">If partUri parameter ends with a "/"</exception> 618/// <exception cref="ArgumentException">If partUri parameter has a fragment</exception> 619/// <exception cref="ArgumentException">If partUri parameter has some escaped characters that should not be escaped 837private static ArgumentException GetExceptionIfAbsoluteUri(Uri uri) 852private static ArgumentException GetExceptionIfFragmentPresent(string partName) 867private static ArgumentException GetExceptionIfPartNameEndsWithSlash(string partName) 890private static ArgumentException GetExceptionIfPartNameStartsWithTwoSlashes(string partName)
Base\System\IO\Packaging\ZipPackage.cs (2)
71/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception> 162/// <exception cref="ArgumentException">If partUri parameter does not conform to the valid partUri syntax</exception>
Base\System\Windows\AttachedPropertyBrowsableForTypeAttribute.cs (1)
126catch(ArgumentException)
Shared\MS\Win32\SafeNativeMethodsCLR.cs (1)
578/// <exception cref="ArgumentException">The handle <paramref name="hProcess"/> is not valid</exception>
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
90catch (ArgumentException)
WsatConfig (5)
Configuration\CertificateManager.cs (2)
180catch (ArgumentException) 292catch (ArgumentException)
Configuration\MsdtcClusterUtils.cs (1)
338catch (ArgumentException)
Configuration\RemoteHelper.cs (1)
176catch (ArgumentException e) // if the path in the remote registry is invalid...
Configuration\StdRegProviderWrapper.cs (1)
381catch (ArgumentException e)
WsatUI (7)
Configuration\ETWWsatTraceSession.cs (1)
178catch (ArgumentException)
Configuration\MsdtcClusterUtils.cs (1)
338catch (ArgumentException)
Configuration\RegistryHelper.cs (2)
70catch (ArgumentException e) 114catch (ArgumentException e)
Configuration\RemoteHelper.cs (1)
176catch (ArgumentException e) // if the path in the remote registry is invalid...
Configuration\StdRegProviderWrapper.cs (1)
381catch (ArgumentException e)
MMCUI\WsatSecurityModel.cs (1)
164catch (ArgumentException) // invalid account, do not consider it