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\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\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\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\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 (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\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\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\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\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\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\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\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\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\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\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 (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");
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");
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\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\ExpressionHelper.cs (1)
66catch (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\DesignerView.Commands.cs (1)
1112catch (ArgumentException)
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) {