system\delegate.cs (18)
78throw new ArgumentException(Environment.GetResourceString("Arg_UnboundGenParam"), "target");
86throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "target");
384throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type");
386throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type");
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");
495throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type");
499throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "method");
502throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "type");
546throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type");
550throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "method");
553throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "type");
618throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "type");
621throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type");
653throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "method");
656throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type");
system\enum.cs (26)
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");
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\globalization\compareinfo.cs (13)
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\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\io\file.cs (10)
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");
1038throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path");
1053throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path");
1242throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName");
1244throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName");
system\io\isolatedstorage\isolatedstoragefile.cs (11)
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");
system\reflection\emit\assemblybuilder.cs (16)
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");
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");
1573throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
1771throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "assemblyFileName");
1773throw new ArgumentException(Environment.GetResourceString("Argument_NotSimpleFileName"), "assemblyFileName");
system\reflection\emit\typebuilder.cs (24)
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");
136throw new ArgumentException(Environment.GetResourceString("Argument_ConstructorNeedGenericDeclaringType"), "constructor");
140throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "type");
147throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorDeclaringType"), "type");
157throw new ArgumentException(Environment.GetResourceString("Argument_FieldNeedGenericDeclaringType"), "field");
161throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "type");
168throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFieldDeclaringType"), "type");
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");
868throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
1530throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
1548throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"caType");
1702throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
2169throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
2226throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
2228throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name");
system\reflection\module.cs (12)
675throw new ArgumentException(Environment.GetResourceString("Argument_InvalidToken", tk, this),
709throw new ArgumentException("metadataToken",
717throw new ArgumentException("metadataToken",
771throw new ArgumentException(Environment.GetResourceString("Argument_ResolveField", tk, this), "metadataToken");
794throw new ArgumentException("metadataToken",
802throw new ArgumentException("metadataToken",
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");
904throw new ArgumentException("metadataToken",
1026throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
1041throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
system\rttype.cs (27)
3161throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "ifaceType");
4062throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType");
4079throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType");
4100throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType");
4168throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value");
4214throw new ArgumentException(Environment.GetResourceString("Argument_GenericArgsCount"), "instantiation");
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");
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");
system\runtime\interopservices\marshal.cs (29)
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");
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\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\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\string.cs (12)
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");
1804throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType");
2011throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType");
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\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\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 (8)
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");
1008throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleIncorrectType", this.GetType().ToString()), "other");
AuthoringOM\DependencyObject.cs (18)
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");
563throw new ArgumentException(SR.GetString(SR.Error_DPAddHandlerNonEvent), "dependencyEvent");