4683 references to GetResourceString
mscorlib (4683)
microsoft\win32\registrykey.cs (9)
687throw new ArgumentException(Environment.GetResourceString("Arg_RegKeyOutOfRange")); 698throw new ArgumentException(Environment.GetResourceString("Arg_DllInitFailure")); 1273throw new IOException(Environment.GetResourceString("Arg_RegGetOverflowBug"), e); 1298throw new IOException(Environment.GetResourceString("Arg_RegGetOverflowBug"), e); 1326throw new IOException(Environment.GetResourceString("Arg_RegGetOverflowBug"), e); 1344throw new IOException(Environment.GetResourceString("Arg_RegGetOverflowBug"), e); 1463throw new ArgumentException(Environment.GetResourceString("Arg_RegValStrLenBug")); 1467throw new ArgumentException(Environment.GetResourceString("Arg_RegBadKeyKind"), "valueKind"); 1694throw new IOException(Environment.GetResourceString("Arg_RegKeyNotFound"), errorCode);
microsoft\win32\win32native.cs (2)
344throw new ArgumentException(Environment.GetResourceString("Argument_InvalidREG_TZI_FORMAT"), "bytes"); 983throw new NotSupportedException(Environment.GetResourceString("NotSupported_FileStreamOnNonFiles"));
system\__filters.cs (5)
38throw new InvalidFilterCriteriaException(Environment.GetResourceString("RFLCT.FltCritInt")); 51throw new InvalidFilterCriteriaException(Environment.GetResourceString("RFLCT.FltCritInt")); 83throw new InvalidFilterCriteriaException(Environment.GetResourceString("RFLCT.FltCritInt")); 113throw new InvalidFilterCriteriaException(Environment.GetResourceString("RFLCT.FltCritString")); 139throw new InvalidFilterCriteriaException(Environment.GetResourceString("RFLCT.FltCritString"));
system\_localdatastore.cs (3)
146throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SlotHasBeenFreed")); 180throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SlotHasBeenFreed")); 213throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SlotHasBeenFreed"));
system\_localdatastoremgr.cs (1)
323throw new ArgumentException(Environment.GetResourceString("Argument_ALSInvalidSlot"));
system\accessviolationexception.cs (1)
26: base(Environment.GetResourceString("Arg_AccessViolationException"))
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 (11)
78throw new NotSupportedException(Environment.GetResourceString("NotSupported_CreateInstanceWithTypeBuilder")); 93throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonUrlAttrOnMBR")); 98throw new NotSupportedException(Environment.GetResourceString("NotSupported_ActivAttrOnNonMBR" )); 104throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"type"); 190throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "type"); 204throw new MissingMethodException(Environment.GetResourceString("Arg_NoDefCTor")); 317throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 383throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 491throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 562throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 645throw new TypeLoadException(Environment.GetResourceString( "Argument_TypeMustBeVisibleFromCom" ));
system\AggregateException.cs (8)
45: base(Environment.GetResourceString("AggregateException_ctor_DefaultMessage")) 90this(Environment.GetResourceString("AggregateException_ctor_DefaultMessage"), innerExceptions) 104this(Environment.GetResourceString("AggregateException_ctor_DefaultMessage"), innerExceptions) 168throw new ArgumentException(Environment.GetResourceString("AggregateException_ctor_InnerExceptionNull")); 187this(Environment.GetResourceString("AggregateException_ctor_DefaultMessage"), innerExceptionInfos) 247throw new ArgumentException(Environment.GetResourceString("AggregateException_ctor_InnerExceptionNull")); 275throw new SerializationException(Environment.GetResourceString("AggregateException_DeserializationFailure")); 450Environment.GetResourceString("AggregateException_ToString"),
system\AppContext\AppContext.cs (2)
100throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "switchName"); 204throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "switchName");
system\appdomain.cs (34)
164throw new ArgumentException(Environment.GetResourceString("Arg_MustBeStatic"), 482throw new InvalidOperationException(Environment.GetResourceString("Argument_InvalidHandle")); 546throw new TypeLoadException(Environment.GetResourceString("Argument_NoDomainManager"), e); 550throw new TypeLoadException(Environment.GetResourceString("Argument_NoDomainManager"), e); 554throw new TypeLoadException(Environment.GetResourceString("Argument_NoDomainManager"), e); 559throw new TypeLoadException(Environment.GetResourceString("Argument_NoDomainManager")); 1040throw new PolicyException(Environment.GetResourceString("Policy_NoExecutionPermission"), 1690throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 1777throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 1900throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 1960throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 1996throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 2051throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 2081throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 2219sb.Append(Environment.GetResourceString("Loader_Name") + fn); 2224sb.Append(Environment.GetResourceString("Loader_NoContextPolicies") 2227sb.Append(Environment.GetResourceString("Loader_ContextPolicies") 2386throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SetData")); 2400throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SetData")); 2613throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 2619throw new PolicyException(Environment.GetResourceString("Policy_PolicyAlreadySet")); 2678throw new PolicyException(Environment.GetResourceString("Policy_PrincipalTwice")); 2953throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); 3386throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 3417throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_String")); 3466throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AppDomainSandboxAPINeedsExplicitAppBase")); 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")); 4793throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM")); 4809throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM")); 4827throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM")); 4847throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM"));
system\appdomainmanager.cs (1)
63throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_String"));
system\AppDomainSetup.cs (4)
356throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 432throw new MemberAccessException(Environment.GetResourceString("AppDomain_AppBaseNotSet")); 648throw new ArgumentException(Environment.GetResourceString("Argument_NPMSInvalidName"), "functionName"); 717throw new MemberAccessException(Environment.GetResourceString("AppDomain_RequireApplicationName"));
system\appdomainunloadedexception.cs (1)
26: base(Environment.GetResourceString("Arg_AppDomainUnloadedException")) {
system\applicationactivator.cs (3)
52throw new ArgumentException(Environment.GetResourceString("Argument_NoMain")); 153throw new ArgumentException(Environment.GetResourceString("Arg_MissingActivationArguments")); 168throw new PolicyException(Environment.GetResourceString("Policy_NoExecutionPermission"),
system\applicationexception.cs (1)
35: base(Environment.GetResourceString("Arg_ApplicationException")) {
system\applicationid.cs (1)
40throw new ArgumentException(Environment.GetResourceString("Argument_EmptyApplicationName"));
system\argiterator.cs (1)
140throw new NotSupportedException(Environment.GetResourceString("NotSupported_NYI"));
system\argumentexception.cs (1)
36: base(Environment.GetResourceString("Arg_ArgumentException")) {
system\argumentnullexception.cs (2)
32: base(Environment.GetResourceString("ArgumentNull_Generic")) { 38: base(Environment.GetResourceString("ArgumentNull_Generic"), paramName) {
system\argumentoutofrangeexception.cs (1)
37_rangeMessage = Environment.GetResourceString("Arg_ArgumentOutOfRangeException");
system\arithmeticexception.cs (1)
30: base(Environment.GetResourceString("Arg_ArithmeticException")) {
system\array.cs (109)
52throw new ArgumentOutOfRangeException("newSize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 77throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 85throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"elementType"); 95throw new ArgumentOutOfRangeException((length1 < 0 ? "length1" : "length2"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 103throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"elementType"); 116throw new ArgumentOutOfRangeException("length1", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 118throw new ArgumentOutOfRangeException("length2", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 120throw new ArgumentOutOfRangeException("length3", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 129throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "elementType"); 145throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 152throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "elementType"); 160throw new ArgumentOutOfRangeException("lengths["+i+']', Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 172throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 183throw new ArgumentOutOfRangeException("len", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 201throw new ArgumentException(Environment.GetResourceString("Arg_RanksAndBounds")); 203throw new ArgumentException(Environment.GetResourceString("Arg_NeedAtLeast1Rank")); 210throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"), "elementType"); 218throw new ArgumentOutOfRangeException("lengths["+i+']', Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 323throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 332throw new ArgumentOutOfRangeException("sourceIndex", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 334throw new ArgumentOutOfRangeException("destinationIndex", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 336throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 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")); 416throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 426throw new ArgumentOutOfRangeException("index1", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 428throw new ArgumentOutOfRangeException("index2", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 438throw new ArgumentOutOfRangeException("index1", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 440throw new ArgumentOutOfRangeException("index2", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 442throw new ArgumentOutOfRangeException("index3", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 454throw new ArgumentException(Environment.GetResourceString("Arg_RankIndices")); 463throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 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")); 535throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 545throw new ArgumentOutOfRangeException("index1", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 547throw new ArgumentOutOfRangeException("index2", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 557throw new ArgumentOutOfRangeException("index1", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 559throw new ArgumentOutOfRangeException("index2", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 561throw new ArgumentOutOfRangeException("index3", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 573throw new ArgumentException(Environment.GetResourceString("Arg_RankIndices")); 582throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 712throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 732throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 737throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 742throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 760throw new ArgumentException(Environment.GetResourceString("ArgumentException_OtherNotArrayOfCorrectLength"), "other"); 917throw new ArgumentOutOfRangeException((index<lb ? "index" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 919throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 921throw new RankException(Environment.GetResourceString("Rank_MultiDimNotSupported")); 944throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 964throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 1015throw new ArgumentOutOfRangeException((index<0 ? "index" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1017throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1061throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 1072throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_HugeArrayNotSupported")); 1156throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1160throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1225throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1231throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1237throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1319throw new RankException(Environment.GetResourceString("Rank_MultiDimNotSupported")); 1325throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1327throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1397throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1401throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1465throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1467throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1469throw new ArgumentOutOfRangeException("endIndex", Environment.GetResourceString("ArgumentOutOfRange_EndIndexStartIndex")); 1471throw new RankException(Environment.GetResourceString("Rank_MultiDimNotSupported")); 1542throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1547throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1554throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1559throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1598throw new ArgumentOutOfRangeException((index<0 ? "index" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1600throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1602throw new RankException(Environment.GetResourceString("Rank_MultiDimNotSupported")); 1739throw new RankException(Environment.GetResourceString("Rank_MultiDimNotSupported")); 1741throw new ArgumentException(Environment.GetResourceString("Arg_LowerBoundsMustMatch")); 1743throw new ArgumentOutOfRangeException((length<0 ? "length" : "index"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1745throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1826throw new ArgumentOutOfRangeException((length<0 ? "length" : "index"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1828throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1859throw new ArgumentOutOfRangeException((length<0 ? "length" : "index"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1861throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2021throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2043throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2061throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2114throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2340throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2359throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2378throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2431throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2599if (_index < 0) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2600if (_index >= _endIndex) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2677if (index < startIndex) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2678if (_complete) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2762throw new ArgumentException(Environment.GetResourceString("Rank_MultiDimNotSupported")); 2806throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 2824throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2837throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 2842throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 2847throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 2880if (_index < 0) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2881if (_index >= _endIndex) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\arraysegment.cs (13)
53throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 55throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 57throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 151throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 162throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 174throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 202throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 236throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 250throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 266throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 277throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 319if (_current < _start) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 320if (_current >= _end) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\arraytypemismatchexception.cs (1)
31: base(Environment.GetResourceString("Arg_ArrayTypeMismatchException")) {
system\attribute.cs (15)
464throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 519throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 551throw new AmbiguousMatchException(Environment.GetResourceString("RFLCT.AmbigCust")); 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")); 664throw new AmbiguousMatchException(Environment.GetResourceString("RFLCT.AmbigCust")); 698throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 719throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 742throw new AmbiguousMatchException(Environment.GetResourceString("RFLCT.AmbigCust")); 762throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 797throw new ArgumentException(Environment.GetResourceString("Argument_MustHaveAttributeBaseClass")); 820throw new AmbiguousMatchException(Environment.GetResourceString("RFLCT.AmbigCust"));
system\badimageformatexception.cs (2)
34: base(Environment.GetResourceString("Arg_BadImageFormatException")) { 73_message = Environment.GetResourceString("Arg_BadImageFormatException");
system\bitconverter.cs (5)
367throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 371throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 375throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 435throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 437throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index"));
system\boolean.cs (2)
132throw new ArgumentException (Environment.GetResourceString("Arg_MustBeBoolean")); 163throw new FormatException(Environment.GetResourceString("Format_BadBoolean"));
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 (3)
61throw new ArgumentException(Environment.GetResourceString("Arg_MustBeByte")); 122throw new OverflowException(Environment.GetResourceString("Overflow_Byte"), e); 125if (i < MinValue || i > MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte"));
system\cannotunloadappdomainexception.cs (1)
26: base(Environment.GetResourceString("Arg_CannotUnloadAppDomainException")) {
system\char.cs (6)
137throw new ArgumentException (Environment.GetResourceString("Arg_MustBeChar")); 182throw new FormatException(Environment.GetResourceString("Format_NeedSingleChar")); 926throw new ArgumentOutOfRangeException("utf32", Environment.GetResourceString("ArgumentOutOfRange_InvalidUTF32")); 949throw new ArgumentOutOfRangeException("highSurrogate", Environment.GetResourceString("ArgumentOutOfRange_InvalidHighSurrogate")); 952throw new ArgumentOutOfRangeException("lowSurrogate", Environment.GetResourceString("ArgumentOutOfRange_InvalidLowSurrogate")); 972throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index"));
system\charenumerator.cs (4)
61throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 63throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 72throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 74throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\collections\arraylist.cs (147)
88throw new ArgumentNullException("c", Environment.GetResourceString("ArgumentNull_Collection")); 113throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 171if (index < 0 || index >= _size) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 176if (index < 0 || index >= _size) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 241throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 243throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 395throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 397throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 399throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 430throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 447throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 448if (count <0 || startIndex > _size - count) throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 460if (index < 0 || index > _size) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_ArrayListInsert")); 480throw new ArgumentNullException("c", Environment.GetResourceString("ArgumentNull_Collection")); 481if (index < 0 || index > _size) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 527throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 544throw new ArgumentOutOfRangeException((startIndex<0 ? "startIndex" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 552throw new ArgumentOutOfRangeException((startIndex>=_size ? "startIndex" : "count"), Environment.GetResourceString("ArgumentOutOfRange_BiggerThanCollection")); 596if (index < 0 || index >= _size) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 613throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 615throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 617throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 637throw new ArgumentOutOfRangeException("count",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 662throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 664throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 666throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 676if (c==null) throw new ArgumentNullException("c", Environment.GetResourceString("ArgumentNull_Collection")); 679if (index < 0 || index > _size - count) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 689throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 691throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 721throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 723throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 725throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 809if (value < Count) throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 859throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 861throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 888throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 913throw new ArgumentOutOfRangeException((index < 0) ? "index" : "arrayIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 915throw new ArgumentOutOfRangeException( "count" , Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 917throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 919throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 923throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 935throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 938throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 953if (startIndex < 0 || startIndex > this.Count) throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 954if (count < 0 || startIndex > this.Count - count) throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 978throw new ArgumentNullException("c", Environment.GetResourceString("ArgumentNull_Collection")); 979if (index < 0 || index > this.Count) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1014if (startIndex < 0 || startIndex >= _list.Count) throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1015if (count < 0 || count > startIndex + 1) throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1044throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1047throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1060throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1063throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1078throw new ArgumentNullException("c", Environment.GetResourceString("ArgumentNull_Collection")); 1083throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1097throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1100throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1106throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1109throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1193throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1195throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1626throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1630throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1650throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1654throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1658throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1703throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1707throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1718set { throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); } 1722throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1768throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1773throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1791throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1795throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1800throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1811throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1813throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1841throw new NotSupportedException(Environment.GetResourceString("NotSupported_FixedSizeCollection")); 1875throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1884throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1888throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1908throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1912throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1916throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1950throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1959throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1963throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 1975set { throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); } 1979throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2025throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2030throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2048throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2052throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2057throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2062throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2067throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2069throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2077throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2082throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2095throw new NotSupportedException(Environment.GetResourceString("NotSupported_ReadOnlyCollection")); 2127if (version != list._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 2142throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2144throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2151if (version != list._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 2179throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnderlyingArrayListChanged")); 2212throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2214throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2229if (value < Count) throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 2272throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 2274throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2276throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2287throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 2289throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2291throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2293throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2325throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2327throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2336throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2338throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2361throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2363throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2374throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2377throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 2387if (index < 0 || index > _baseSize) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2397if (index < 0 || index > _baseSize) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2431throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2433throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2443if (index < 0 || index >= _baseSize) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2454throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2456throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2471throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2473throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2484if (index < 0 || index >= _baseSize) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2493throw new ArgumentOutOfRangeException((index<0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2495throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2506if (index < 0 || index >= _baseSize) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2511if (index < 0 || index >= _baseSize) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2537throw new NotSupportedException(Environment.GetResourceString("NotSupported_RangeCollection")); 2566throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 2598throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2601throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2611throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\bitarray.cs (16)
47throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 196throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 211throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 247throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer")); 269throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer")); 291throw new ArgumentException(Environment.GetResourceString("Arg_ArrayLengthsDiffer")); 325throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 361throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 492if (version != bitarray._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 507throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 509throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 515if (version != bitarray._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\collectionbase.cs (5)
67throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 106throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 112throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 150if (index < 0) throw new ArgumentException(Environment.GetResourceString("Arg_RemoveArgNotFound")); 168throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index"));
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 (2)
1756throw new NotSupportedException(Environment.GetResourceString("ConcurrentCollection_SyncRoot_NotSupported")); 2122return Environment.GetResourceString(key);
system\Collections\Concurrent\ConcurrentQueue.cs (1)
202throw new NotSupportedException(Environment.GetResourceString("ConcurrentCollection_SyncRoot_NotSupported"));
system\Collections\Concurrent\ConcurrentStack.cs (4)
253throw new NotSupportedException(Environment.GetResourceString("ConcurrentCollection_SyncRoot_NotSupported")); 481throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ConcurrentStack_PushPopRange_CountOutOfRange")); 486throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ConcurrentStack_PushPopRange_StartOutOfRange")); 490throw new ArgumentException(Environment.GetResourceString("ConcurrentStack_PushPopRange_InvalidCount"));
system\collections\concurrent\OrderablePartitioner.cs (1)
135throw new NotSupportedException(Environment.GetResourceString("Partitioner_DynamicPartitionsNotSupported"));
system\collections\concurrent\Partitioner.cs (1)
102throw new NotSupportedException(Environment.GetResourceString("Partitioner_DynamicPartitionsNotSupported"));
system\collections\concurrent\PartitionerStatic.cs (6)
630throw new ObjectDisposedException(Environment.GetResourceString("PartitionerStatic_CanNotCallGetEnumeratorAfterSourceHasBeenDisposed")); 994throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1273throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1357throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1584throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1641throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext"));
system\collections\emptyreadonlydictionaryinternal.cs (18)
44throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 47throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 50throw new ArgumentException( Environment.GetResourceString("ArgumentOutOfRange_Index"), "index"); 79throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 86throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 90throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key"); 93throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 96throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 118throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 122throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key" ); 125throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 128throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 132throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 152throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 168throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 179throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 185throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 191throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen"));
system\collections\generic\arraysorthelper.cs (6)
165throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 182throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 529throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 551throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 941throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 1292throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e);
system\collections\generic\equalitycomparer.cs (3)
352throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 354throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 356throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\collections\generic\keynotfoundexception.cs (1)
29: base(Environment.GetResourceString("Arg_KeyNotFound")) {
system\collections\hashtable.cs (38)
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")); 274throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 284throw new ArgumentException(Environment.GetResourceString("Arg_HTCapacityOverflow")); 378throw new ArgumentNullException("d", Environment.GetResourceString("ArgumentNull_Dictionary")); 388throw new ArgumentNullException("d", Environment.GetResourceString("ArgumentNull_Dictionary")); 504throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 593throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Array")); 595throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 597throw new ArgumentOutOfRangeException("arrayIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 599throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 646throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 878throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 1042throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HashInsertFailed")); 1076throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 1203throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 1220throw new SerializationException(Environment.GetResourceString("Serialization_InvalidOnDeser")); 1275throw new SerializationException(Environment.GetResourceString("Serialization_MissingKeys")); 1278throw new SerializationException(Environment.GetResourceString("Serialization_MissingValues")); 1281throw new SerializationException(Environment.GetResourceString("Serialization_KeyValueDifferentSizes")); 1285throw new SerializationException(Environment.GetResourceString("Serialization_NullKey")); 1311throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 1313throw new ArgumentOutOfRangeException("arrayIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1316throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 1352throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 1354throw new ArgumentOutOfRangeException("arrayIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1357throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 1391throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 1468throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 1573if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1579if (version != hashtable.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 1596if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumOpCantHappen)); 1604if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumOpCantHappen)); 1617if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumOpCantHappen)); 1623if (version != hashtable.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 1720throw new ArgumentException(Environment.GetResourceString("Arg_HTCapacityOverflow"));
system\collections\listdictionaryinternal.cs (23)
37throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 52throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 58throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key"); 61throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 139throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 145throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "key" ); 148throw new ArgumentException(Environment.GetResourceString("Argument_NotSerializable"), "value"); 186throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 202throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 205throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 208throw new ArgumentException( Environment.GetResourceString("ArgumentOutOfRange_Index"), "index"); 227throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 273throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 282throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 291throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 299throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 315throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 337throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 339throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 342throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_Index"), "index"); 394throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 402throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 418throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion"));
system\collections\queue.cs (10)
60throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 141throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 143throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 147throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 188throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyQueue")); 204throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyQueue")); 415if (_version != _q._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 435throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 437throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 444if (_version != _q._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\sortedlist.cs (39)
112throw new ArgumentOutOfRangeException("initialCapacity", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 169throw new ArgumentNullException("d", Environment.GetResourceString("ArgumentNull_Dictionary")); 181if (key == null) throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 201throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 330throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Array")); 332throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 334throw new ArgumentOutOfRangeException("arrayIndex", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 336throw new ArgumentException(Environment.GetResourceString("Arg_ArrayPlusOffTooSmall")); 373throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 399if (index < 0 || index >= Count) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 447if (key == null) throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 468throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 501if (index < 0 || index >= Count) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 527if (index < 0 || index >= Count) throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 682throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 764if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 765if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 771if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 787if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 788if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 795if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 808if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 809if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 815if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 853throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 858throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 867throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 875throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 883throw new NotSupportedException(Environment.GetResourceString("NotSupported_KeyCollectionSet")); 893throw new ArgumentNullException("key", Environment.GetResourceString("ArgumentNull_Key")); 903throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 907throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 941throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 945throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 954throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 962throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 970throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 983throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite)); 987throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_SortedListNestedWrite));
system\collections\stack.cs (10)
49throw new ArgumentOutOfRangeException("initialCapacity", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 128throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 130throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 132throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 161throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyStack")); 170throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyStack")); 328if (_version != _stack._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 350if (_index == -2) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 351if (_index == -1) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 357if (_version != _stack._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\console.cs (34)
666throw new ArgumentOutOfRangeException("duration", duration, Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 686throw new IOException(Environment.GetResourceString("IO.IO_NoConsole")); 721throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor")); 862throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor"), "sourceForeColor"); 864throw new ArgumentException(Environment.GetResourceString("Arg_InvalidConsoleColor"), "sourceBackColor"); 870throw new ArgumentOutOfRangeException("sourceLeft", sourceLeft, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 872throw new ArgumentOutOfRangeException("sourceTop", sourceTop, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 874throw new ArgumentOutOfRangeException("sourceWidth", sourceWidth, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 876throw new ArgumentOutOfRangeException("sourceHeight", sourceHeight, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 881throw new ArgumentOutOfRangeException("targetLeft", targetLeft, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 883throw new ArgumentOutOfRangeException("targetTop", targetTop, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 973throw new IOException(Environment.GetResourceString("IO.IO_NoConsole")); 1045throw new ArgumentOutOfRangeException("width", width, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferLessThanWindowSize")); 1047throw new ArgumentOutOfRangeException("height", height, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferLessThanWindowSize")); 1094throw new ArgumentOutOfRangeException("width", width, Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 1096throw new ArgumentOutOfRangeException("height", height, Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 1113throw new ArgumentOutOfRangeException("width", Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowBufferSize")); 1119throw new ArgumentOutOfRangeException("height", Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowBufferSize")); 1223throw new ArgumentOutOfRangeException("left", left, Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowPos")); 1226throw new ArgumentOutOfRangeException("top", top, Environment.GetResourceString("ArgumentOutOfRange_ConsoleWindowPos")); 1278throw new ArgumentOutOfRangeException("left", left, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1280throw new ArgumentOutOfRangeException("top", top, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1295throw new ArgumentOutOfRangeException("left", left, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1297throw new ArgumentOutOfRangeException("top", top, Environment.GetResourceString("ArgumentOutOfRange_ConsoleBufferBoundaries")); 1322throw new ArgumentOutOfRangeException("value", value, Environment.GetResourceString("ArgumentOutOfRange_CursorSize")); 1394throw new InvalidOperationException(Environment.GetResourceString("ArgumentOutOfRange_ConsoleTitleTooLong")); 1408throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_ConsoleTitleTooLong")); 1502throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConsoleReadKeyOnFile")); 1577throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConsoleKeyAvailableOnFile")); 1632throw new IOException(Environment.GetResourceString("IO.IO_NoConsole")); 1647throw new IOException(Environment.GetResourceString("IO.IO_NoConsole")); 1851throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1872throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1893throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\consolekeyinfo.cs (1)
31throw new ArgumentOutOfRangeException("key", Environment.GetResourceString("ArgumentOutOfRange_ConsoleKey"));
system\contextmarshalexception.cs (1)
28: base(Environment.GetResourceString("Arg_ContextMarshalException")) {
system\convert.cs (91)
213throw new InvalidCastException(Environment.GetResourceString("InvalidCast_IConvertible")); 253throw new InvalidCastException(Environment.GetResourceString("InvalidCast_DBNull")); 255throw new InvalidCastException(Environment.GetResourceString("InvalidCast_Empty")); 257throw new ArgumentException(Environment.GetResourceString("Arg_UnknownTypeCode")); 313throw new InvalidCastException(Environment.GetResourceString("InvalidCast_DBNull")); 315throw new InvalidCastException(Environment.GetResourceString("InvalidCast_Empty")); 333throw new InvalidCastException(Environment.GetResourceString("InvalidCast_CannotCastNullToValueType")); 343throw new InvalidCastException(Environment.GetResourceString("InvalidCast_IConvertible")); 497if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_Char")); 507if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_Char")); 518if (value < 0 || value > Char.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char")); 525if (value > Char.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char")); 531if (value < 0 || value > Char.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char")); 538if (value > Char.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char")); 557throw new FormatException(Environment.GetResourceString(ResId.Format_NeedSingleChar)); 616if (value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 623if (value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 630if (value < SByte.MinValue || value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 637if (value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 644if (value < SByte.MinValue || value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 651if (value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 658if (value < SByte.MinValue || value > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 665if (value > (ulong)SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 725if (value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 732if (value < Byte.MinValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 738if (value < Byte.MinValue || value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 745if (value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 751if (value < Byte.MinValue || value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 758if (value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 764if (value < Byte.MinValue || value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 771if (value > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 824if (value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 840if (value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 846if (value < Int16.MinValue || value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 853if (value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 863if (value < Int16.MinValue || value > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 870if (value > (ulong)Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 933if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 945if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 952if (value < 0 || value > UInt16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 964if (value > UInt16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 972if (value < 0 || value > UInt16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 979if (value > UInt16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 1061if (value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1071if (value < Int32.MinValue || value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1078if (value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1104throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1158if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1170if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1182if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1194if (value < 0 || value > UInt32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1201if (value > UInt32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1219throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1298if (value > Int64.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int64")); 1365if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1377if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1389if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1401if (value < 0) throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1979throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 1984throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 1995throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2003throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 2013throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2021throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 2032throw new ArgumentException(Environment.GetResourceString("Arg_InvalidBase")); 2037throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 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")); 2161throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2163throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 2174throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_OffsetLength")); 2210throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2212throw new ArgumentOutOfRangeException("offsetIn", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 2214throw new ArgumentOutOfRangeException("offsetOut", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 2233throw new ArgumentOutOfRangeException("offsetIn", Environment.GetResourceString("ArgumentOutOfRange_OffsetLength")); 2246throw new ArgumentOutOfRangeException("offsetOut", Environment.GetResourceString("ArgumentOutOfRange_OffsetOut")); 2388throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2391throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 2394throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_OffsetLength")); 2550throw new FormatException(Environment.GetResourceString("Format_BadBase64Char")); 2590throw new FormatException(Environment.GetResourceString("Format_BadBase64CharArrayLength")); 2620throw new FormatException(Environment.GetResourceString("Format_BadBase64CharArrayLength")); 2631throw new FormatException(Environment.GetResourceString("Format_BadBase64Char")); 2640throw new FormatException(Environment.GetResourceString("Format_BadBase64CharArrayLength")); 2697throw new FormatException(Environment.GetResourceString("Format_BadBase64Char"));
system\datamisalignedexception.cs (1)
24: base(Environment.GetResourceString("Arg_DataMisalignedException"))
system\datetime.cs (40)
148throw new ArgumentOutOfRangeException("ticks", Environment.GetResourceString("ArgumentOutOfRange_DateTimeBadTicks")); 159throw new ArgumentOutOfRangeException("ticks", Environment.GetResourceString("ArgumentOutOfRange_DateTimeBadTicks")); 162throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 170throw new ArgumentOutOfRangeException("ticks", Environment.GetResourceString("ArgumentOutOfRange_DateTimeBadTicks")); 209throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 248throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 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")); 332throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 344throw new ArgumentException(Environment.GetResourceString("Argument_InvalidDateTimeKind"), "kind"); 358throw new ArgumentException(Environment.GetResourceString("Arg_DateTimeRange")); 367throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 407throw new SerializationException(Environment.GetResourceString("Serialization_MissingDateTimeData")); 411throw new SerializationException(Environment.GetResourceString("Serialization_DateTimeTicksOutOfRange")); 441throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_AddValue")); 503if (months < -120000 || months > 120000) throw new ArgumentOutOfRangeException("months", Environment.GetResourceString("ArgumentOutOfRange_DateTimeBadMonths")); 519throw new ArgumentOutOfRangeException("months", Environment.GetResourceString("ArgumentOutOfRange_DateArithmetic")); 543throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_DateArithmetic")); 557if (value < -10000 || value > 10000) throw new ArgumentOutOfRangeException("years", Environment.GetResourceString("ArgumentOutOfRange_DateTimeBadYears")); 582throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDateTime")); 611throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 624throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 631if (month < 1 || month > 12) throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 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"); 763throw new ArgumentOutOfRangeException("fileTime", Environment.GetResourceString("ArgumentOutOfRange_FileTimeInvalid")); 1185throw new ArgumentOutOfRangeException("fileTime", Environment.GetResourceString("ArgumentOutOfRange_DateTimeBadTicks")); 1198throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_FileTimeInvalid")); 1283throw new ArgumentOutOfRangeException("year", Environment.GetResourceString("ArgumentOutOfRange_Year")); 1340throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_DateArithmetic")); 1352throw new OverflowException(Environment.GetResourceString("Arg_OleAutDateInvalid")); 1385throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_FileTimeInvalid")); 1408throw new ArgumentException(Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 1415throw new ArgumentException(Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 1489throw new ArgumentOutOfRangeException("t", Environment.GetResourceString("ArgumentOutOfRange_DateArithmetic")); 1498throw new ArgumentOutOfRangeException("t", Environment.GetResourceString("ArgumentOutOfRange_DateArithmetic"));
system\datetimeoffset.cs (15)
88throw new ArgumentException(Environment.GetResourceString("Argument_OffsetLocalMismatch"), "offset"); 93throw new ArgumentException(Environment.GetResourceString("Argument_OffsetUtcMismatch"), "offset"); 116throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 137throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 159throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 458throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDateTimeOffset")); 525string.Format(Environment.GetResourceString("ArgumentOutOfRange_Range"), MinSeconds, MaxSeconds)); 538string.Format(Environment.GetResourceString("ArgumentOutOfRange_Range"), MinMilliseconds, MaxMilliseconds)); 554throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 786throw new ArgumentException(Environment.GetResourceString("Argument_OffsetPrecision"), "offset"); 789throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("Argument_OffsetOutOfRange")); 803throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("Argument_UTCOutOfRange")); 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\dbnull.cs (15)
25throw new NotSupportedException(Environment.GetResourceString("NotSupported_DBNullSerial")); 49throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 54throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 59throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 64throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 69throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 74throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 79throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 84throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 89throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 94throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 99throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 104throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 109throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); 114throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull"));
system\decimal.cs (20)
293throw new ArgumentException(Environment.GetResourceString("Arg_DecBitCtor")); 300throw new ArgumentOutOfRangeException("scale", Environment.GetResourceString("ArgumentOutOfRange_DecimalScale")); 317throw new SerializationException(Environment.GetResourceString("Overflow_Decimal"), e); 327throw new SerializationException(Environment.GetResourceString("Overflow_Decimal"), e); 341throw new ArgumentException(Environment.GetResourceString("Arg_DecBitCtor")); 409throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDecimal")); 789throw new ArgumentOutOfRangeException("decimals", Environment.GetResourceString("ArgumentOutOfRange_DecimalRound")); 828throw new OverflowException(Environment.GetResourceString("Overflow_Byte"), e); 830if (temp < Byte.MinValue || temp > Byte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Byte")); 846throw new OverflowException(Environment.GetResourceString("Overflow_SByte"), e); 848if (temp < SByte.MinValue || temp > SByte.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 862throw new OverflowException(Environment.GetResourceString("Overflow_Int16"), e); 864if (temp < Int16.MinValue || temp > Int16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 916throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 936throw new OverflowException(Environment.GetResourceString("Overflow_Int64")); 950throw new OverflowException(Environment.GetResourceString("Overflow_UInt16"), e); 952if (temp < UInt16.MinValue || temp > UInt16.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16")); 969throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 985throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1078throw new OverflowException(Environment.GetResourceString("Overflow_Char"), e);
system\defaultbinder.cs (13)
43throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "match"); 295throw new MissingMethodException(Environment.GetResourceString("MissingMember")); 378throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 491throw new MissingFieldException(Environment.GetResourceString("MissingField")); 511throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 528throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"types"); 534throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "match"); 588throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 610throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "match"); 699throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 708throw new NotSupportedException(Environment.GetResourceString("NotSupported_ChangeType")); 804throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 1079throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException"));
system\delegate.cs (27)
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")); 327throw new MulticastNotSupportedException(Environment.GetResourceString("Multicast_Combine")); 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 (3)
37throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"),"type"); 40throw new NotSupportedException(Environment.GetResourceString("NotSupported_GlobalMethodSerialization")); 296throw new NotSupportedException(Environment.GetResourceString("NotSupported_DelegateSerHolderSerial"));
system\deployment\cmsutils.cs (1)
27throw new ArgumentException(Environment.GetResourceString("Argument_NoMain"));
system\diagnostics\assert.cs (1)
91Environment.GetResourceString("InvalidOperation_DebuggerLaunchFailed"));
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)
432String windowTitle = Environment.GetResourceString(GetResourceNameForFailure(kind)); 493failureMessage = Environment.GetResourceString(resourceName);
system\diagnostics\eventing\eventdescriptor.cs (2)
78throw new ArgumentOutOfRangeException("id", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 96throw new ArgumentOutOfRangeException("task", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\diagnostics\eventing\eventsource.cs (22)
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")); 2114System.Diagnostics.Debugger.Log(0, null, Environment.GetResourceString("EventSource_VarArgsParameterMismatch") + "\r\n"); 2441ReportOutOfBandMessage(errorPrefix + ": " + Environment.GetResourceString("EventSource_EventTooBig"), true); 2442if (ThrowOnEventWriteErrors) throw new EventSourceException(Environment.GetResourceString("EventSource_EventTooBig"), innerEx); 2445ReportOutOfBandMessage(errorPrefix + ": " + Environment.GetResourceString("EventSource_NoFreeBuffers"), true); 2446if (ThrowOnEventWriteErrors) throw new EventSourceException(Environment.GetResourceString("EventSource_NoFreeBuffers"), innerEx); 2449ReportOutOfBandMessage(errorPrefix + ": " + Environment.GetResourceString("EventSource_NullInput"), true); 2450if (ThrowOnEventWriteErrors) throw new EventSourceException(Environment.GetResourceString("EventSource_NullInput"), innerEx); 2453ReportOutOfBandMessage(errorPrefix + ": " + Environment.GetResourceString("EventSource_TooManyArgs"), true); 2454if (ThrowOnEventWriteErrors) throw new EventSourceException(Environment.GetResourceString("EventSource_TooManyArgs"), innerEx); 2624throw new ArgumentException(Environment.GetResourceString("EventSource_ListenerNotFound")); 3319manifest.ManifestError(Environment.GetResourceString("EventSource_TypeMustDeriveFromEventSource")); 3321manifest.ManifestError(Environment.GetResourceString("EventSource_TypeMustBeSealedOrAbstract")); 3478throw new ArgumentException(Environment.GetResourceString("EventSource_StopsFollowStarts")); 3960throw new ArgumentException(Environment.GetResourceString("EventSource_InvalidEventFormat"), "settings"); 4591throw new InvalidOperationException(Environment.GetResourceString("EventSource_ListenerCreatedInsideCallback")); 6284ManifestError(Environment.GetResourceString("EventSource_MaxChannelExceeded"));
system\diagnostics\eventing\eventsourceexception.cs (2)
35public EventSourceException() : base(Environment.GetResourceString("EventSource_ListenerWriteFailure")) { } 55internal EventSourceException(Exception innerException) : base(Environment.GetResourceString("EventSource_ListenerWriteFailure"), innerException) { }
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (4)
85throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_AddScalarOutOfRange")); 272throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_PinArrayOutOfRange")); 278throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_DataDescriptorsOutOfRange")); 296throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_DataDescriptorsOutOfRange"));
System\Diagnostics\Eventing\TraceLogging\FieldMetadata.cs (4)
127throw new NotSupportedException(Environment.GetResourceString("EventSource_NotSupportedArrayOfNil")); 131throw new NotSupportedException(Environment.GetResourceString("EventSource_NotSupportedArrayOfBinary")); 137throw new NotSupportedException(Environment.GetResourceString("EventSource_NotSupportedArrayOfNullTerminatedString")); 159throw new NotSupportedException(Environment.GetResourceString("EventSource_TooManyFields"));
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
586throw new NotSupportedException(Environment.GetResourceString("EventSource_RecursiveTypeDefinition"));
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (1)
791throw new ArgumentException(Environment.GetResourceString("EvenHexDigits"), "traits");
System\Diagnostics\Eventing\TraceLogging\TraceLoggingMetadataCollector.cs (4)
231throw new NotSupportedException(Environment.GetResourceString("EventSource_NotSupportedNestedArraysEnums")); 243throw new NotSupportedException(Environment.GetResourceString("EventSource_NotSupportedNestedArraysEnums")); 254throw new InvalidOperationException(Environment.GetResourceString("EventSource_IncorrentlyAuthoredTypeInfo")); 273throw new NotSupportedException(Environment.GetResourceString("EventSource_NotSupportedCustomSerializedData"));
system\diagnostics\log.cs (1)
146throw new ArgumentOutOfRangeException("level", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\diagnostics\logswitch.cs (1)
41throw new ArgumentOutOfRangeException("Name", Environment.GetResourceString("Argument_StringZeroLength"));
system\diagnostics\stacktrace.cs (7)
351Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 371Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 422Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 444Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 646word_At = Environment.GetResourceString("Word_At"); 647inFileLineNum = Environment.GetResourceString("StackTrace_InFileLineNumber"); 755sb.Append(Environment.GetResourceString("Exception_EndStackTraceFromPreviousThrow"));
system\dividebyzeroexception.cs (1)
24: base(Environment.GetResourceString("Arg_DivideByZero")) {
system\dllnotfoundexception.cs (1)
24: base(Environment.GetResourceString("Arg_DllNotFoundException")) {
system\double.cs (1)
130throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDouble"));
system\duplicatewaitobjectexception.cs (1)
34_duplicateWaitObjectMessage = Environment.GetResourceString("Arg_DuplicateWaitObjectException");
system\entrypointnotfoundexception.cs (1)
23: base(Environment.GetResourceString("Arg_EntryPointNotFoundException")) {
system\enum.cs (35)
130throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 237throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 315return new ArgumentException(Environment.GetResourceString(m_failureMessageID)); 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"); 647throw new FormatException(Environment.GetResourceString("Format_InvalidEnumFormatSpecification")); 669throw new FormatException(Environment.GetResourceString("Format_InvalidEnumFormatSpecification")); 845throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 867throw new FormatException(Environment.GetResourceString("Format_InvalidEnumFormatSpecification")); 948throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 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 (13)
550throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ComputerName")); 903throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarValue")); 924throw new ArgumentException(Environment.GetResourceString("Argument_LongEnvVarValue")); 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")); 1128throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GetVersion")); 1133throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GetVersion")); 1332String s = GetResourceString(key); 1341return GetResourceString(key);
system\exception.cs (3)
114throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 412throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject")); 451" " + Environment.GetResourceString("Exception_EndOfInnerExceptionStack");
system\executionengineexception.cs (1)
30: base(Environment.GetResourceString("Arg_ExecutionEngineException")) {
system\fieldaccessexception.cs (1)
21: base(Environment.GetResourceString("Arg_FieldAccessException")) {
system\formatexception.cs (1)
23: base(Environment.GetResourceString("Arg_FormatException")) {
system\gc.cs (16)
147Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 152Environment.GetResourceString("ArgumentOutOfRange_MustBeNonNegInt32")); 163Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 168Environment.GetResourceString("ArgumentOutOfRange_MustBeNonNegInt32")); 222throw new ArgumentOutOfRangeException("generation", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 227throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_Enum")); 260throw new ArgumentOutOfRangeException("generation", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 273throw new ArgumentOutOfRangeException("generation", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 438Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper"), 448Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper"), 455throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotWithConcurrentGC")); 464throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotWithConcurrentGC")); 478throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 493throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 648throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 655throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized"));
system\globalization\calendar.cs (6)
210throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 249String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Argument_ResultCalendarRange"), 266throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_AddValue")); 820Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 842Environment.GetResourceString("ArgumentOutOfRange_Range"), 0, MillisPerSecond - 1)); 846throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond"));
system\globalization\charunicodeinfo.cs (3)
337throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 372throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 409throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index"));
system\globalization\chineselunisolarcalendar.cs (3)
322Environment.GetResourceString("ArgumentOutOfRange_Range"), MIN_LUNISOLAR_YEAR, MAX_LUNISOLAR_YEAR )); 335throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 343Environment.GetResourceString("ArgumentOutOfRange_Range"), MIN_LUNISOLAR_YEAR, MAX_LUNISOLAR_YEAR));
system\globalization\compareinfo.cs (30)
149throw new ArgumentException(Environment.GetResourceString("Argument_OnlyMscorlib")); 177throw new ArgumentException(Environment.GetResourceString("Argument_OnlyMscorlib")); 420throw new ArgumentException(Environment.GetResourceString("Argument_CompareOptionOrdinal"), "options"); 427throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 492throw new ArgumentOutOfRangeException((length1 < 0) ? "length1" : "length2", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 496throw new ArgumentOutOfRangeException((offset1 < 0) ? "offset1" : "offset2", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 500throw new ArgumentOutOfRangeException("string1", Environment.GetResourceString("ArgumentOutOfRange_OffsetLength")); 504throw new ArgumentOutOfRangeException("string2", Environment.GetResourceString("ArgumentOutOfRange_OffsetLength")); 510throw new ArgumentException(Environment.GetResourceString("Argument_CompareOptionOrdinal"), 516throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 573Environment.GetResourceString("ArgumentNull_String")); 594throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 628Environment.GetResourceString("ArgumentNull_String")); 647throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 779throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 782throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 794throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 816throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 833throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 837throw new ArgumentOutOfRangeException("count",Environment.GetResourceString("ArgumentOutOfRange_Count")); 847throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 969throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 977throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 989throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 1021throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options"); 1029throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1045throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 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\culturedata.cs (4)
946"culture", culture, Environment.GetResourceString("Argument_CultureNotSupported")); 978Environment.GetResourceString("ArgumentOutOfRange_Range"), CultureTypes.NeutralCultures, CultureTypes.FrameworkCultures)); 1192this.sLocalizedDisplayName = Environment.GetResourceString(resourceKey); 1517this.sLocalizedCountry = Environment.GetResourceString(resourceKey);
system\globalization\cultureinfo.cs (17)
332Environment.GetResourceString("ArgumentNull_String")); 354throw new CultureNotFoundException("name", name, Environment.GetResourceString("Argument_CultureNotSupported")); 389Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 408"culture", culture, Environment.GetResourceString("Argument_CultureNotSupported")); 432Environment.GetResourceString("InvalidOperation_SubclassedObject"), 466"m_name", m_name, Environment.GetResourceString("Argument_CultureNotSupported")); 583Environment.GetResourceString("ArgumentNull_String")); 590"cultureName", cultureName, Environment.GetResourceString("Argument_CultureNotSupported")); 1424Environment.GetResourceString("ArgumentNull_Obj")); 1460Environment.GetResourceString("ArgumentNull_Obj")); 1715throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1894Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 1902"culture", culture, Environment.GetResourceString("Argument_CultureNotSupported")); 1924"name", name, Environment.GetResourceString("Argument_CultureNotSupported")); 1953Environment.GetResourceString("Argument_OneOfCulturesNotSupported"), 1972String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name) 1983String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name)
system\globalization\culturenotfoundexception.cs (1)
105return Environment.GetResourceString("Argument_CultureNotSupported");
system\globalization\datetimeformat.cs (8)
329throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 342Environment.GetResourceString("Format_BadQuote"), quoteChar)); 510throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 674throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 697throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 860throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 890throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 1116throw new FormatException(Environment.GetResourceString("Format_InvalidString"));
system\globalization\datetimeformatinfo.cs (56)
425"m_name", m_name, Environment.GetResourceString("Argument_CultureNotSupported")); 593throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 597Environment.GetResourceString("ArgumentNull_String")); 616throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 619Environment.GetResourceString("ArgumentNull_Obj")); 708throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("Argument_InvalidCalendar")); 733Environment.GetResourceString("ArgumentNull_String")); 809throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 837throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 873throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 876Environment.GetResourceString("ArgumentNull_String")); 903throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 931throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 957throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 960Environment.GetResourceString("ArgumentNull_String")); 989throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 992Environment.GetResourceString("ArgumentNull_String")); 1028throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1031Environment.GetResourceString("ArgumentNull_String")); 1065throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1068Environment.GetResourceString("ArgumentNull_String")); 1096throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1099Environment.GetResourceString("ArgumentNull_String")); 1140throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1143Environment.GetResourceString("ArgumentNull_String")); 1180throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1183Environment.GetResourceString("ArgumentNull_String")); 1318throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1321Environment.GetResourceString("ArgumentNull_String")); 1360throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1363Environment.GetResourceString("ArgumentNull_String")); 1384Environment.GetResourceString("ArgumentNull_ArrayValue")); 1399throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1402Environment.GetResourceString("ArgumentNull_Array")); 1427throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1430Environment.GetResourceString("ArgumentNull_Array")); 1452throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1455Environment.GetResourceString("ArgumentNull_Array")); 1477throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1480Environment.GetResourceString("ArgumentNull_Array")); 1503throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1506Environment.GetResourceString("ArgumentNull_Array")); 1753throw new ArgumentException(Environment.GetResourceString("Format_BadFormatSpecifier"), "format"); 1991Environment.GetResourceString("ArgumentNull_Obj")); 2049throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 2052Environment.GetResourceString("ArgumentNull_Array")); 2057throw new ArgumentException(Environment.GetResourceString("Arg_ArrayZeroError"), "patterns"); 2065throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_ArrayValue")); 2099throw new ArgumentException(Environment.GetResourceString("Format_BadFormatSpecifier"), "format"); 2119throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 2123Environment.GetResourceString("ArgumentNull_Array")); 2147throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 2151Environment.GetResourceString("ArgumentNull_Array")); 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\datetimeparse.cs (2)
4180return new ArgumentNullException(result.failureArgumentName, Environment.GetResourceString(result.failureMessageID)); 4182return new FormatException(Environment.GetResourceString(result.failureMessageID));
system\globalization\eastasianlunisolarcalendar.cs (8)
125throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 148throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 160String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 172throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 195throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 199throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 249throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 635Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\globalization\encodingtable.cs (2)
98Environment.GetResourceString("Argument_EncodingNotSupported"), name), "name"); 121Environment.GetResourceString("Globalization.cp_" + codePageDataPtr[i].codePage));
system\globalization\gregoriancalendar.cs (21)
73Environment.GetResourceString( 163throw new ArgumentOutOfRangeException("m_type", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 258throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 292Environment.GetResourceString("ArgumentOutOfRange_Range"), 380throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 385throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 401Environment.GetResourceString("ArgumentOutOfRange_Range"), 405throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 445Environment.GetResourceString("ArgumentOutOfRange_Range"), 449throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 475throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 505throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 512Environment.GetResourceString("ArgumentOutOfRange_Range"), 1, MaxYear)); 525throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 533Environment.GetResourceString("ArgumentOutOfRange_Range"), 1, MaxYear)); 559Environment.GetResourceString("ArgumentOutOfRange_Range"), 1, MaxYear)); 561throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 572throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 602Environment.GetResourceString("ArgumentOutOfRange_Range"), 615Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 624Environment.GetResourceString("ArgumentOutOfRange_Range"), 1, MaxYear));
system\globalization\gregoriancalendarhelper.cs (16)
158throw new ArgumentOutOfRangeException("year", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 205throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 215throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 321throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 343Environment.GetResourceString("ArgumentOutOfRange_Range"), 349throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 359Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 390Environment.GetResourceString("ArgumentOutOfRange_Range"), 473throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 501throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_Era")); 544throw new ArgumentException(Environment.GetResourceString("Argument_NoEra")); 558throw new ArgumentException(Environment.GetResourceString("Argument_NoEra")); 572Environment.GetResourceString("ArgumentOutOfRange_Range"), 609Environment.GetResourceString("ArgumentOutOfRange_Range"), 644Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 658Environment.GetResourceString("ArgumentOutOfRange_Range"), m_minYear, m_maxYear));
system\globalization\hebrewcalendar.cs (10)
381Environment.GetResourceString("ArgumentOutOfRange_Range"), 404Environment.GetResourceString("ArgumentOutOfRange_Range"), 428Environment.GetResourceString("ArgumentOutOfRange_Range"), 436throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 447Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 463throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing")); 710Environment.GetResourceString("ArgumentOutOfRange_AddValue"))); 817throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 1054Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1067Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\hijricalendar.cs (14)
231Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper"), 350Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 358throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 369Environment.GetResourceString("ArgumentOutOfRange_Range"), 383Environment.GetResourceString("ArgumentOutOfRange_Range"), 390throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 479throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing")); 506Environment.GetResourceString("ArgumentOutOfRange_Range"), 643Environment.GetResourceString("ArgumentOutOfRange_Day"), 691Environment.GetResourceString("ArgumentOutOfRange_Day"), 701throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 724Environment.GetResourceString("ArgumentOutOfRange_Range"), 737Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 750Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\idnmapping.cs (44)
108Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 111Environment.GetResourceString("ArgumentOutOfRange_Index")); 114Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 149throw new ArgumentException(Environment.GetResourceString( 169throw new ArgumentException(Environment.GetResourceString( 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"); 231Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 234Environment.GetResourceString("ArgumentOutOfRange_Index")); 237Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 244Environment.GetResourceString("Argument_IdnBadPunycode")); 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( 367throw new ArgumentException(Environment.GetResourceString( 372throw new ArgumentException(Environment.GetResourceString( 393throw 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( 811throw 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(
system\globalization\japanesecalendar.cs (3)
488Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 497Environment.GetResourceString("ArgumentOutOfRange_Range"), 579Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\japaneselunisolarcalendar.cs (1)
209Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\juliancalendar.cs (11)
116throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 127Environment.GetResourceString("ArgumentOutOfRange_Range"), 135throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 155Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 166Environment.GetResourceString("ArgumentOutOfRange_Range"), 237Environment.GetResourceString("ArgumentOutOfRange_Range"), 384Environment.GetResourceString("ArgumentOutOfRange_Range"), 394throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadHourMinuteSecond")); 412Environment.GetResourceString("ArgumentOutOfRange_Range"), 425Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 434Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper"),
system\globalization\koreancalendar.cs (2)
246Environment.GetResourceString("ArgumentOutOfRange_Range"), 259Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\globalization\koreanlunisolarcalendar.cs (3)
1255Environment.GetResourceString("ArgumentOutOfRange_Range"), 1271throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 1279Environment.GetResourceString("ArgumentOutOfRange_Range"), MIN_LUNISOLAR_YEAR, MAX_LUNISOLAR_YEAR));
system\globalization\numberformatinfo.cs (36)
165Environment.GetResourceString("ArgumentNull_String")); 169throw new ArgumentException(Environment.GetResourceString("Argument_EmptyDecString")); 178Environment.GetResourceString("ArgumentNull_String")); 186Environment.GetResourceString("ArgumentNull_Array")); 191throw new ArgumentException(Environment.GetResourceString("Argument_InvalidNativeDigitCount"), propertyName); 200Environment.GetResourceString("ArgumentNull_ArrayValue")); 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); 261throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 329Environment.GetResourceString("ArgumentOutOfRange_Range"), 370throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGroupSize"), propName); 374throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGroupSize"), propName); 387Environment.GetResourceString("ArgumentNull_Obj")); 408Environment.GetResourceString("ArgumentNull_Obj")); 427Environment.GetResourceString("ArgumentNull_Obj")); 454Environment.GetResourceString("ArgumentNull_String")); 486Environment.GetResourceString("ArgumentNull_String")); 504Environment.GetResourceString("ArgumentOutOfRange_Range"), 526Environment.GetResourceString("ArgumentOutOfRange_Range"), 548Environment.GetResourceString("ArgumentOutOfRange_Range"), 570Environment.GetResourceString("ArgumentOutOfRange_Range"), 588Environment.GetResourceString("ArgumentNull_String")); 602Environment.GetResourceString("ArgumentNull_String")); 619Environment.GetResourceString("ArgumentOutOfRange_Range"), 658Environment.GetResourceString("ArgumentOutOfRange_Range"), 676Environment.GetResourceString("ArgumentNull_String")); 690Environment.GetResourceString("ArgumentNull_String")); 707Environment.GetResourceString("ArgumentOutOfRange_Range"), 745Environment.GetResourceString("ArgumentNull_String")); 759Environment.GetResourceString("ArgumentNull_String")); 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\Persiancalendar.cs (14)
134throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 143Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 151throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 162Environment.GetResourceString("ArgumentOutOfRange_Range"), 176Environment.GetResourceString("ArgumentOutOfRange_Range"), 183throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 269throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing")); 297Environment.GetResourceString("ArgumentOutOfRange_Range"), 457Environment.GetResourceString("ArgumentOutOfRange_Day"), 513Environment.GetResourceString("ArgumentOutOfRange_Day"), 523throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 545Environment.GetResourceString("ArgumentOutOfRange_Range"), 558Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 571Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\regioninfo.cs (4)
72throw new ArgumentException(Environment.GetResourceString("Argument_NoRegionInvariantCulture")); 89Environment.GetResourceString("Argument_InvalidCultureName"), name), "name"); 107throw new ArgumentException(Environment.GetResourceString("Argument_NoRegionInvariantCulture")); 338Environment.GetResourceString("Argument_InvalidCultureName"), m_name), "m_name");
system\globalization\stringinfo.cs (9)
100Environment.GetResourceString("ArgumentNull_String")); 126Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 130Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 143Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 148Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 153Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 158Environment.GetResourceString("Arg_ArgumentOutOfRangeException")); 284throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 311throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index"));
system\globalization\taiwancalendar.cs (3)
231Environment.GetResourceString("ArgumentOutOfRange_Range"), 246Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 255Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\taiwanlunisolarcalendar.cs (1)
265Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\globalization\textelementenumerator.cs (3)
123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumNotStarted")); 126throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumEnded")); 142throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumNotStarted"));
system\globalization\textinfo.cs (2)
493throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 529throw new ArgumentNullException("value", Environment.GetResourceString("ArgumentNull_String"));
system\globalization\thaibuddhistcalendar.cs (2)
205Environment.GetResourceString("ArgumentOutOfRange_Range"), 218Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\globalization\timespanformat.cs (10)
60throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 174throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 180throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 186throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 195throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 207throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 232throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 258throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 276throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 280throw new FormatException(Environment.GetResourceString("Format_InvalidString"));
system\globalization\timespanparse.cs (5)
73throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTimeSpanStyles"), parameterName); 487return new ArgumentNullException(m_failureArgumentName, Environment.GetResourceString(m_failureMessageID)); 493return new FormatException(Environment.GetResourceString(m_failureMessageID)); 496return new OverflowException(Environment.GetResourceString(m_failureMessageID)); 500return new FormatException(Environment.GetResourceString("Format_InvalidString"));
system\globalization\umalquracalendar.cs (12)
386Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 394throw new ArgumentOutOfRangeException("era", Environment.GetResourceString("ArgumentOutOfRange_InvalidEraValue")); 405Environment.GetResourceString("ArgumentOutOfRange_Range"), 414throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_Month")); 505throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing")); 533Environment.GetResourceString("ArgumentOutOfRange_Range"), 717Environment.GetResourceString("ArgumentOutOfRange_Day"), 779Environment.GetResourceString("ArgumentOutOfRange_Day"), 789throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("ArgumentOutOfRange_BadYearMonthDay")); 811Environment.GetResourceString("ArgumentOutOfRange_Range"), 827Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 840Environment.GetResourceString("ArgumentOutOfRange_Range"),
system\guid.cs (11)
205return new ArgumentNullException(m_failureArgumentName, Environment.GetResourceString(m_failureMessageID)); 208return new FormatException(Environment.GetResourceString(m_failureMessageID), m_innerException); 214return new FormatException(Environment.GetResourceString(m_failureMessageID)); 221return new FormatException(Environment.GetResourceString("Format_GuidUnrecognized")); 294throw new FormatException(Environment.GetResourceString("Format_InvalidGuidFormatSpecification")); 315throw new FormatException(Environment.GetResourceString("Format_InvalidGuidFormatSpecification")); 796throw new FormatException(Environment.GetResourceString("Format_GuidUnrecognized"), ex); 842throw new FormatException(Environment.GetResourceString("Format_GuidUnrecognized"), ex); 1006throw new ArgumentException(Environment.GetResourceString("Arg_MustBeGuid")); 1206throw new FormatException(Environment.GetResourceString("Format_InvalidGuidFormatSpecification")); 1247throw new FormatException(Environment.GetResourceString("Format_InvalidGuidFormatSpecification"));
system\indexoutofrangeexception.cs (1)
24: base(Environment.GetResourceString("Arg_IndexOutOfRangeException")) {
system\insufficientexecutionstackexception.cs (1)
26: base(Environment.GetResourceString("Arg_InsufficientExecutionStackException"))
system\int16.cs (4)
58throw new ArgumentException(Environment.GetResourceString("Arg_MustBeInt16")); 142throw new OverflowException(Environment.GetResourceString("Overflow_Int16"), e); 149throw new OverflowException(Environment.GetResourceString("Overflow_Int16")); 154if (i < MinValue || i > MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int16"));
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\invalidcastexception.cs (1)
24: base(Environment.GetResourceString("Arg_InvalidCastException")) {
system\invalidoperationexception.cs (1)
25: base(Environment.GetResourceString("Arg_InvalidOperationException")) {
system\invalidprogramexception.cs (1)
24: base(Environment.GetResourceString("InvalidProgram_Default")) {
system\io\__consolestream.cs (5)
127throw new ArgumentOutOfRangeException((offset < 0 ? "offset" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 129throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 154throw new ArgumentOutOfRangeException((offset < 0 ? "offset" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 156throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 182throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_IORaceCondition"));
system\io\__error.cs (18)
34throw new EndOfStreamException(Environment.GetResourceString("IO.EOF_ReadBeyondEOF")); 38throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_FileClosed")); 42throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_StreamClosed")); 46throw new NotSupportedException(Environment.GetResourceString("NotSupported_MemStreamNotExpandable")); 50throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ReaderClosed")); 54throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 58throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); 62throw new ArgumentException(Environment.GetResourceString("Arg_WrongAsyncResult")); 67throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EndReadCalledMultiple")); 72throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EndWriteCalledMultiple")); 115path = Environment.GetResourceString("IO.IO_NoPermissionToDirectoryName"); 143throw new FileNotFoundException(Environment.GetResourceString("IO.FileNotFound")); 149throw new DirectoryNotFoundException(Environment.GetResourceString("IO.PathNotFound_NoPathName")); 155throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_IODenied_NoPathName")); 165throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 175throw new IOException(Environment.GetResourceString("IO.IO_SharingViolation_NoFileName"), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath); 214throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 218throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_WriterClosed"));
system\io\binaryreader.cs (14)
59throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable")); 240throw new IOException(Environment.GetResourceString("Arg_DecBitCtor"), e); 302throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 305throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 308throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 311throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 479throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 506throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 508throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 510throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 512throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 522if (count < 0) throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 555throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_BinaryReaderFillBuffer")); 592throw new FormatException(Environment.GetResourceString("Format_Bad7BitInt32"));
system\io\binarywriter.cs (2)
82throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable")); 193throw new ArgumentException(Environment.GetResourceString("Arg_SurrogatesNotAllowedAsSingleChar"));
system\io\bufferedstream.cs (27)
252throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 432throw new NotSupportedException(Environment.GetResourceString("NotSupported_CannotWriteToBufferedStreamIfReadBufferCannotBeFlushed")); 503throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Buffer")); 505throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 507throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 509throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 569throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 571throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 573throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 575throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 668throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 670throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 672throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 674throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 858throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Buffer")); 860throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 862throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 864throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 998throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 1000throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1002throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1004throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1080throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 1082throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1084throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1086throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1326throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NegFileSize"));
system\io\directory.cs (20)
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")); 327throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 631throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 703throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 777throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 871throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 923throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 977throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 1177throw new ArgumentException(Environment.GetResourceString("Argument_PathEmpty")); 1181throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 1223throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceDirName"); 1228throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destDirName"); 1235throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 1241throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 1256throw new IOException(Environment.GetResourceString("IO.IO_SourceDestMustBeDifferent")); 1261throw new IOException(Environment.GetResourceString("IO.IO_SourceDestMustHaveSameRoot")); 1502throw new ArgumentException(Environment.GetResourceString("Arg_PathIsVolume"));
system\io\directoryinfo.cs (9)
350throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 408throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 461throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 507throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 548throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 589throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 644throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destDirName"); 669throw new IOException(Environment.GetResourceString("IO.IO_SourceDestMustBeDifferent")); 675throw new IOException(Environment.GetResourceString("IO.IO_SourceDestMustHaveSameRoot"));
system\io\directorynotfoundexception.cs (1)
31: base(Environment.GetResourceString("Arg_DirectoryNotFoundException")) {
system\io\driveinfo.cs (3)
69throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDriveLetterOrRootDir")); 83throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDriveLetterOrRootDir")); 272throw new UnauthorizedAccessException(Environment.GetResourceString("InvalidOperation_SetVolumeLabelFailed"));
system\io\drivenotfoundexception.cs (1)
26: base(Environment.GetResourceString("Arg_DriveNotFoundException")) {
system\io\endofstreamexception.cs (1)
27: base(Environment.GetResourceString("Arg_EndOfStreamException")) {
system\io\file.cs (42)
87throw new ArgumentNullException("sourceFileName", Environment.GetResourceString("ArgumentNull_FileName")); 89throw new ArgumentNullException("destFileName", Environment.GetResourceString("ArgumentNull_FileName")); 91throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 93throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 112throw new ArgumentNullException("sourceFileName", Environment.GetResourceString("ArgumentNull_FileName")); 114throw new ArgumentNullException("destFileName", Environment.GetResourceString("ArgumentNull_FileName")); 116throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 118throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 129throw new ArgumentNullException("sourceFileName", Environment.GetResourceString("ArgumentNull_FileName")); 131throw new ArgumentNullException("destFileName", Environment.GetResourceString("ArgumentNull_FileName")); 133throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 135throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 338throw new NotSupportedException(Environment.GetResourceString("NotSupported_EncryptionNeedsNTFS")); 369throw new NotSupportedException(Environment.GetResourceString("NotSupported_EncryptionNeedsNTFS")); 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")); 923throw new IOException(Environment.GetResourceString("IO.IO_FileTooLong2GB")); 943throw new ArgumentNullException("path", Environment.GetResourceString("ArgumentNull_Path")); 945throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 959throw new ArgumentNullException("path", Environment.GetResourceString("ArgumentNull_Path")); 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")); 1238throw new ArgumentNullException("sourceFileName", Environment.GetResourceString("ArgumentNull_FileName")); 1240throw new ArgumentNullException("destFileName", Environment.GetResourceString("ArgumentNull_FileName")); 1242throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "sourceFileName"); 1244throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName");
system\io\fileinfo.cs (5)
286throw new ArgumentNullException("destFileName", Environment.GetResourceString("ArgumentNull_FileName")); 288throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 309throw new ArgumentNullException("destFileName", Environment.GetResourceString("ArgumentNull_FileName")); 311throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName"); 461throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "destFileName");
system\io\fileloadexception.cs (1)
39: base(Environment.GetResourceString("IO.FileLoad")) {
system\io\filenotfoundexception.cs (2)
35: base(Environment.GetResourceString("IO.FileNotFound")) { 74_message = Environment.GetResourceString("IO.FileNotFound");
system\io\filestream.cs (49)
623throw new ArgumentNullException("path", Environment.GetResourceString("ArgumentNull_Path")); 625throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 656throw new ArgumentOutOfRangeException(badArg, Environment.GetResourceString("ArgumentOutOfRange_Enum")); 660throw new ArgumentOutOfRangeException("options", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 663throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 729throw new ArgumentException(Environment.GetResourceString("Arg_DevicesNotSupported")); 740throw new ArgumentException(Environment.GetResourceString("Argument_InvalidAppendMode")); 896throw new NotSupportedException(Environment.GetResourceString("NotSupported_FileStreamOnNonFiles")); 924throw new IOException(Environment.GetResourceString("IO.IO_BindHandleFailed")); 1012throw new ArgumentException(Environment.GetResourceString("Arg_InvalidHandle"), "handle"); 1020throw new ArgumentOutOfRangeException("access", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 1022throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 1055throw new ArgumentException(Environment.GetResourceString("Arg_HandleNotAsync")); 1058throw new IOException(Environment.GetResourceString("IO.IO_BindHandleFailed")); 1149throw new ArgumentException(Environment.GetResourceString("Arg_HandleNotSync")); 1202return Environment.GetResourceString("IO_UnknownFileName"); 1239if (value < 0) throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1446throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1464throw new IOException(Environment.GetResourceString("IO.IO_SetLengthAppendTruncate")); 1484throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_FileLengthTooBig")); 1499throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Buffer")); 1501throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1503throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1505throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1597throw new ArgumentException(Environment.GetResourceString("Arg_HandleNotSync")); 1611throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSeekOrigin")); 1644throw new IOException(Environment.GetResourceString("IO.IO_SeekAppendOverwrite")); 1745throw new IOException(Environment.GetResourceString("IO.IO_FileStreamHandlePosition")); 1753throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Buffer")); 1755throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1757throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1759throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1858throw new IOException(Environment.GetResourceString("IO.IO_FileTooLongOrHandleNotSync")); 1875throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1877throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1879throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2187throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2189throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2191throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2435throw new ArgumentOutOfRangeException((position < 0 ? "position" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2451throw new ArgumentOutOfRangeException((position < 0 ? "position" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2495throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_IORaceCondition")); 2552throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_IORaceCondition")); 2608throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2610throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2612throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 2660throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2662throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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\ioexception.cs (1)
39: base(Environment.GetResourceString("Arg_IOException")) {
system\io\isolatedstorage\isolatedstorage.cs (21)
444Environment.GetResourceString( 460Environment.GetResourceString( 475Environment.GetResourceString( 525Environment.GetResourceString( 538Environment.GetResourceString( 551Environment.GetResourceString( 583Environment.GetResourceString( 599Environment.GetResourceString( 636Environment.GetResourceString( 644Environment.GetResourceString( 717Environment.GetResourceString( 820Environment.GetResourceString( 827Environment.GetResourceString( 832Environment.GetResourceString( 991Environment.GetResourceString( 995Environment.GetResourceString( 999Environment.GetResourceString( 1011Environment.GetResourceString( 1015Environment.GetResourceString( 1019Environment.GetResourceString( 1169Environment.GetResourceString(
system\io\isolatedstorage\isolatedstorageexception.cs (1)
31: base(Environment.GetResourceString("IsolatedStorage_Exception"))
system\io\isolatedstorage\isolatedstoragefile.cs (86)
125throw new NotSupportedException(Environment.GetResourceString("IsolatedStorage_NotValidOnDesktop")); 176throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 179throw new InvalidOperationException(Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 272Environment.GetResourceString( 276throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 280Environment.GetResourceString( 302Environment.GetResourceString( 307throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 311Environment.GetResourceString( 337throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 341Environment.GetResourceString( 412throw new ArgumentException(Environment.GetResourceString("IsolatedStorage_OldQuotaLarger")); 417throw new NotSupportedException(Environment.GetResourceString("IsolatedStorage_OnlyIncreaseUserApplicationStore")); 446throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 450Environment.GetResourceString( 483throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 487Environment.GetResourceString( 522Environment.GetResourceString( 549throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 553Environment.GetResourceString( 593throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 597Environment.GetResourceString( 650throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_CreateDirectory")); 660throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_CreateDirectory")); 678throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_CreateDirectory")); 695throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 701throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 705Environment.GetResourceString( 736throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 742throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 746Environment.GetResourceString( 777throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "path"); 783throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 787Environment.GetResourceString( 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"); 851throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 855Environment.GetResourceString( 871throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 894throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 908throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 943throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 973throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "sourceFileName"); 977throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "destinationFileName"); 983throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 987Environment.GetResourceString( 1003throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 1017throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 1039throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "sourceDirectoryName"); 1043throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath"), "destinationDirectoryName"); 1049throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 1053Environment.GetResourceString( 1069throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 1083throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation")); 1150Environment.GetResourceString( 1158throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_DeleteDirectory")); 1201throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 1205Environment.GetResourceString( 1234throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 1238Environment.GetResourceString( 1391throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_DeleteDirectories")); 1422throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_DeleteDirectories")); 1570throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_DeleteDirectories")); 1631Environment.GetResourceString( 1683throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 1722throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 1748throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 1776throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 2000throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 2018throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 2059throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 2117throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 2152throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Init")); 2257throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 2261Environment.GetResourceString( 2283throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 2287Environment.GetResourceString( 2360Environment.GetResourceString( 2411throw new ArgumentNullException("path", Environment.GetResourceString("ArgumentNull_Path")); 2454Environment.GetResourceString( 2726Environment.GetResourceString( 2732Environment.GetResourceString( 2909Environment.GetResourceString( 2915Environment.GetResourceString(
system\io\isolatedstorage\isolatedstoragefilestream.cs (9)
130Environment.GetResourceString( 144throw new ObjectDisposedException(null, Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 157throw new ArgumentException(Environment.GetResourceString("IsolatedStorage_FileOpenMode")); 337Environment.GetResourceString( 416throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 467throw new ArgumentOutOfRangeException((position < 0 ? "position" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 476throw new ArgumentOutOfRangeException((position < 0 ? "position" : "length"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 586Environment.GetResourceString( 758NotPermittedError(Environment.GetResourceString(
system\io\isolatedstorage\isolatedstoragesecuritystate.cs (1)
204throw new IsolatedStorageException(Environment.GetResourceString("IsolatedStorage_Operation"));
system\io\longpath.cs (5)
563throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 632throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 638throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 644throw new IOException(Environment.GetResourceString("IO.IO_SourceDestMustBeDifferent")); 649throw new IOException(Environment.GetResourceString("IO.IO_SourceDestMustHaveSameRoot"));
system\io\memorystream.cs (41)
72throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_NegativeCapacity")); 90if (buffer == null) throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 110throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 112throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 114throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 116throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 170throw new IOException(Environment.GetResourceString("IO.IO_StreamTooLong")); 216throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_MemStreamBuffer")); 291if (value < Length) throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 327throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 334throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 341throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 343throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 345throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 347throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 378throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 380throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 382throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 384throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 430throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 433throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_StreamClosed")); 436throw new ObjectDisposedException("destination", Environment.GetResourceString("ObjectDisposed_StreamClosed")); 439throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 442throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 486throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 491throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 498throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 505throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 510throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSeekOrigin")); 529throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 538throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 559throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 561throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 563throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 565throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 574throw new IOException(Environment.GetResourceString("IO.IO_StreamTooLong")); 605throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 607throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 609throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 611throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 657throw new ArgumentNullException("stream", Environment.GetResourceString("ArgumentNull_Stream"));
system\io\path.cs (26)
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")); 672throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 701throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegal")); 745throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 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")); 868throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 896throw new ArgumentException(Environment.GetResourceString("Arg_PathIllegalUNC")); 904throw new ArgumentException(Environment.GetResourceString("Arg_PathGlobalRoot")); 910throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 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\pathhelper.cs (8)
143throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 171throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 208throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 213throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 244throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 310throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 332throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 345throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong"));
system\io\pathtoolongexception.cs (1)
29: base(Environment.GetResourceString("IO.PathTooLong")) {
system\io\stream.cs (24)
108throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 111throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 119throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 122throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 148throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 150throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_StreamClosed")); 152throw new ObjectDisposedException("destination", Environment.GetResourceString("ObjectDisposed_StreamClosed")); 154throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 156throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 186throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_StreamClosed")); 188throw new ObjectDisposedException("destination", Environment.GetResourceString("ObjectDisposed_StreamClosed")); 190throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 192throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 204Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 206throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_StreamClosed")); 208throw new ObjectDisposedException("destination", Environment.GetResourceString("ObjectDisposed_StreamClosed")); 210throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 212throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 383throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndReadCalledMultiple")); 387throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndReadCalledMultiple")); 391throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndReadCalledMultiple")); 570throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndWriteCalledMultiple")); 574throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndWriteCalledMultiple")); 578throw new ArgumentException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndWriteCalledMultiple"));
system\io\streamreader.cs (17)
121throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncIOInProgress")); 168throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable")); 170throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 235throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 237throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 387throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 389throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 391throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 448throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 450throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 452throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 907throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 909throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 911throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 1095throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 1097throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1099throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\streamwriter.cs (18)
91throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncIOInProgress")); 146throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable")); 147if (bufferSize <= 0) throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 188throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 189if (bufferSize <= 0) throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 395throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 397throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 399throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 401throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 601throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 603throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 605throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 607throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 758throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 760throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 762throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 764throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 888callStack = Environment.GetResourceString("IO_StreamWriterBufferedDataLostCaptureAllocatedFromCallstackNotEnabled");
system\io\stringreader.cs (10)
87throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 89throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 91throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 93throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 166throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 168throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 170throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 181throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 183throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 185throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\stringwriter.cs (5)
59throw new ArgumentNullException("sb", Environment.GetResourceString("ArgumentNull_Buffer")); 111throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 113throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 115throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 117throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\textreader.cs (16)
120throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 122throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 124throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 126throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 222throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 224throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 226throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 248throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 250throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 252throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 396throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 398throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 400throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 412throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 414throw new ArgumentOutOfRangeException((index < 0 ? "index" : "count"), Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 416throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\textwriter.cs (4)
210throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 212throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 214throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 216throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\io\unmanagedmemoryaccessor.cs (36)
70throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 73throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 76throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndCapacityOutOfBounds")); 84throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CalledTwice")); 93throw new ArgumentException(Environment.GetResourceString("Argument_UnmanagedMemAccessorWrapAround")); 548throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 553throw new ObjectDisposedException("UnmanagedMemoryAccessor", Environment.GetResourceString("ObjectDisposed_ViewAccessorClosed")); 556throw new NotSupportedException(Environment.GetResourceString("NotSupported_Reading")); 562throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_PositionLessThanCapacityRequired")); 584throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 587throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 590throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndLengthOutOfBounds")); 595throw new ObjectDisposedException("UnmanagedMemoryAccessor", Environment.GetResourceString("ObjectDisposed_ViewAccessorClosed")); 598throw new NotSupportedException(Environment.GetResourceString("NotSupported_Reading")); 602throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 609throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_PositionLessThanCapacityRequired")); 1032throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1037throw new ObjectDisposedException("UnmanagedMemoryAccessor", Environment.GetResourceString("ObjectDisposed_ViewAccessorClosed")); 1040throw new NotSupportedException(Environment.GetResourceString("NotSupported_Writing")); 1046throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_PositionLessThanCapacityRequired")); 1065throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1068throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1071throw new ArgumentException(Environment.GetResourceString("Argument_OffsetAndLengthOutOfBounds")); 1074throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1077throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_PositionLessThanCapacityRequired")); 1082throw new ObjectDisposedException("UnmanagedMemoryAccessor", Environment.GetResourceString("ObjectDisposed_ViewAccessorClosed")); 1085throw new NotSupportedException(Environment.GetResourceString("NotSupported_Writing")); 1137throw new ObjectDisposedException("UnmanagedMemoryAccessor", Environment.GetResourceString("ObjectDisposed_ViewAccessorClosed")); 1140throw new NotSupportedException(Environment.GetResourceString("NotSupported_Reading")); 1143throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1148throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_PositionLessThanCapacityRequired")); 1151throw new ArgumentException(Environment.GetResourceString("Argument_NotEnoughBytesToRead"), "position"); 1158throw new ObjectDisposedException("UnmanagedMemoryAccessor", Environment.GetResourceString("ObjectDisposed_ViewAccessorClosed")); 1161throw new NotSupportedException(Environment.GetResourceString("NotSupported_Writing")); 1164throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1169throw new ArgumentOutOfRangeException("position", Environment.GetResourceString("ArgumentOutOfRange_PositionLessThanCapacityRequired"));
system\io\unmanagedmemorystream.cs (47)
150throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 153throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 156throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSafeBufferOffLen")); 164throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CalledTwice")); 179throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_UnmanagedMemStreamWrapAround")); 233throw new ArgumentOutOfRangeException((length < 0) ? "length" : "capacity", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 235throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_LengthGreaterThanCapacity")); 239throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_UnmanagedMemStreamWrapAround")); 241throw new ArgumentOutOfRangeException("access", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 243throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CalledTwice")); 333throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 341throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 353throw new NotSupportedException(Environment.GetResourceString("NotSupported_UmsSafeBuffer")); 359throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_UMSPosition")); 367throw new NotSupportedException(Environment.GetResourceString("NotSupported_UmsSafeBuffer")); 373throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_UnmanagedMemStreamLength")); 375throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 385throw new NotSupportedException(Environment.GetResourceString("NotSupported_UmsSafeBuffer")); 394throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 396throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 398throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 400throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 450throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 452throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 454throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 456throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 513throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_UnmanagedMemStreamLength")); 517throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 524throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 531throw new IOException(Environment.GetResourceString("IO.IO_SeekBeforeBegin")); 536throw new ArgumentException(Environment.GetResourceString("Argument_InvalidSeekOrigin")); 547throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 550throw new NotSupportedException(Environment.GetResourceString("NotSupported_UmsSafeBuffer")); 555throw new IOException(Environment.GetResourceString("IO.IO_FixedCapacity")); 573throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 575throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 577throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 579throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 590throw new IOException(Environment.GetResourceString("IO.IO_StreamTooLong")); 593throw new NotSupportedException(Environment.GetResourceString("IO.IO_FixedCapacity")); 615throw new ArgumentException(Environment.GetResourceString("Arg_BufferTooSmall")); 647throw new ArgumentNullException("buffer", Environment.GetResourceString("ArgumentNull_Buffer")); 649throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 651throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 653throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 684throw new IOException(Environment.GetResourceString("IO.IO_StreamTooLong")); 687throw new NotSupportedException(Environment.GetResourceString("IO.IO_FixedCapacity"));
system\io\unmanagedmemorystreamwrapper.cs (8)
66throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_MemStreamBuffer")); 80throw new IOException(Environment.GetResourceString("IO.IO_FixedCapacity")); 132throw new ArgumentNullException("stream", Environment.GetResourceString("ArgumentNull_Stream")); 160throw new ArgumentOutOfRangeException("bufferSize", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 163throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_StreamClosed")); 166throw new ObjectDisposedException("destination", Environment.GetResourceString("ObjectDisposed_StreamClosed")); 169throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 172throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream"));
system\Lazy.cs (4)
216throw new ArgumentOutOfRangeException("mode", Environment.GetResourceString("Lazy_ctor_ModeInvalid")); 238return IsValueCreated ? Value.ToString() : Environment.GetResourceString("Lazy_ToString_ValueNotCreated"); 425throw new InvalidOperationException(Environment.GetResourceString("Lazy_Value_RecursiveCallsToValue")); 455Exception ex = new System.MissingMemberException(Environment.GetResourceString("Lazy_CreateValue_NoParameterlessCtorForT"));
system\marshalbyrefobject.cs (2)
87throw new InvalidOperationException(Environment.GetResourceString("Arg_InvokeMember")); 190throw new RemotingException(Environment.GetResourceString(
system\math.cs (8)
136throw new ArgumentOutOfRangeException("digits", Environment.GetResourceString("ArgumentOutOfRange_RoundingDigits")); 147throw new ArgumentOutOfRangeException("digits", Environment.GetResourceString("ArgumentOutOfRange_RoundingDigits")); 258throw new OverflowException(Environment.GetResourceString("Overflow_NegateTwosCompNum")); 273throw new OverflowException(Environment.GetResourceString("Overflow_NegateTwosCompNum")); 288throw new OverflowException(Environment.GetResourceString("Overflow_NegateTwosCompNum")); 303throw new OverflowException(Environment.GetResourceString("Overflow_NegateTwosCompNum")); 579throw new ArithmeticException(Environment.GetResourceString("Arithmetic_NaN")); 590throw new ArithmeticException(Environment.GetResourceString("Arithmetic_NaN"));
system\memberaccessexception.cs (1)
27: base(Environment.GetResourceString("Arg_AccessException")) {
system\methodaccessexception.cs (1)
21: base(Environment.GetResourceString("Arg_MethodAccessException")) {
system\missingfieldexception.cs (1)
25: base(Environment.GetResourceString("Arg_MissingFieldException")) {
system\missingmemberexception.cs (1)
30: base(Environment.GetResourceString("Arg_MissingMemberException")) {
system\missingmethodexception.cs (1)
27: base(Environment.GetResourceString("Arg_MissingMethodException")) {
system\multicastdelegate.cs (5)
66throw new SerializationException(Environment.GetResourceString("Serialization_InvalidDelegateType")); 70throw new SerializationException(Environment.GetResourceString("Serialization_InvalidDelegateType")); 98throw new SerializationException(Environment.GetResourceString("Serialization_InvalidDelegateType")); 274throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTypeMis")); 608throw new ArgumentException(Environment.GetResourceString("Arg_DlgtNullInst"));
system\multicastnotsupportedexception.cs (1)
20: base(Environment.GetResourceString("Arg_MulticastNotSupportedException")) {
system\notfinitenumberexception.cs (1)
19: base(Environment.GetResourceString("Arg_NotFiniteNumberException")) {
system\notimplementedexception.cs (1)
27: base(Environment.GetResourceString("Arg_NotImplementedException")) {
system\notsupportedexception.cs (1)
25: base(Environment.GetResourceString("Arg_NotSupportedException")) {
system\nullreferenceexception.cs (1)
24: base(Environment.GetResourceString("Arg_NullReferenceException")) {
system\number.cs (15)
658throw new OverflowException(Environment.GetResourceString("Overflow_Decimal")); 687throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 691throw new OverflowException(Environment.GetResourceString("Overflow_Double")); 708throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 713throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 729throw new OverflowException(Environment.GetResourceString("Overflow_Int64")); 734throw new OverflowException(Environment.GetResourceString("Overflow_Int64")); 964throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 968throw new OverflowException(Environment.GetResourceString("Overflow_Single")); 972throw new OverflowException(Environment.GetResourceString("Overflow_Single")); 988throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 993throw new OverflowException(Environment.GetResourceString("Overflow_UInt32")); 1009throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1014throw new OverflowException(Environment.GetResourceString("Overflow_UInt64")); 1032throw new FormatException(Environment.GetResourceString("Format_InvalidString"));
system\object.cs (3)
138throw new FieldAccessException(Environment.GetResourceString("FieldAccess_InitOnly")); 199CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadType"), 213CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadField"),
system\objectdisposedexception.cs (2)
23this(null ,Environment.GetResourceString("ObjectDisposed_Generic")) { 27this(objectName, Environment.GetResourceString("ObjectDisposed_Generic")) {
system\oleautbinder.cs (1)
108throw new COMException(Environment.GetResourceString("Interop.COM_TypeMismatch"), unchecked((int)0x80020005));
system\operationcanceledexception.cs (1)
36: base(Environment.GetResourceString("OperationCanceled")) {
system\overflowexception.cs (1)
25: base(Environment.GetResourceString("Arg_OverflowException")) {
system\platformnotsupportedexception.cs (1)
26: base(Environment.GetResourceString("Arg_PlatformNotSupported")) {
system\rankexception.cs (1)
26: base(Environment.GetResourceString("Arg_RankException")) {
system\reflection\__filters.cs (2)
35throw new InvalidFilterCriteriaException(System.Environment.GetResourceString("RFLCT.FltCritString")); 55throw new InvalidFilterCriteriaException(System.Environment.GetResourceString("RFLCT.FltCritString"));
system\reflection\ambiguousmatchexception.cs (1)
28: base(Environment.GetResourceString("RFLCT.Ambiguous")) {
system\reflection\assembly.cs (11)
560throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 607throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 1660throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 1674throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"caType"); 1704throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 1763throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength")); 1833throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 2016throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyImplicit")); 2525throw new NotImplementedException(Environment.GetResourceString("NotImplemented_ResourcesLongerThan2^63")); 3044throw new FileNotFoundException(String.Format(culture, Environment.GetResourceString("IO.FileNotFound_FileName"), an.Name)); 3106Environment.GetResourceString("IO.FileNotFound_FileName"),
system\reflection\assemblyname.cs (1)
392throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength"));
system\reflection\ConstructorInfo.cs (13)
361throw new TargetException(Environment.GetResourceString("RFLCT.Targ_StatMethReqTarg")); 363throw new TargetException(Environment.GetResourceString("RFLCT.Targ_ITargMismatch")); 410throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 425throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 515throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 544throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyInvoke")); 549String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateInterfaceEx"), declaringType)); 554String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateAbstEx"), declaringType)); 574String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateGenericEx"), declaringType)); 579throw new MemberAccessException(Environment.GetResourceString("Access_Void")); 588throw new MemberAccessException(Environment.GetResourceString("Acc_NotClassInit")); 647throw new TargetParameterCountException(Environment.GetResourceString("Arg_ParmCnt")); 744throw new TargetParameterCountException(Environment.GetResourceString("Arg_ParmCnt"));
system\reflection\customattribute.cs (8)
284throw new ArgumentException(Environment.GetResourceString("Argument_InvalidKindOfTypeForCA"), "type"); 622throw new ArgumentException(Environment.GetResourceString("Argument_InvalidMemberForNamedArgument")); 804String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_CATypeResolutionFailed"), typeName)); 1600throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyCA")); 1658throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyCA")); 1791String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 1822String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 2030CultureInfo.CurrentUICulture, Environment.GetResourceString("Format_AttributeUsage"), attributeType));
system\reflection\customattributeformatexception.cs (1)
26: base(Environment.GetResourceString("Arg_CustomAttributeFormatException")) {
system\reflection\emit\assemblybuilder.cs (34)
100throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 108throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 116throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 121throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 126throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 131throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 141throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 152throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 158throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicAssembly")); 562throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 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"); 872throw new NotSupportedException(Environment.GetResourceString("Argument_BadPersistableModuleInTransientAssembly")); 878throw new InvalidOperationException(Environment.GetResourceString( 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"); 1629throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EntryMethodNotDefinedInAssembly")); 1771throw new ArgumentException(Environment.GetResourceString("Argument_EmptyFileName"), "assemblyFileName"); 1773throw new ArgumentException(Environment.GetResourceString("Argument_NotSimpleFileName"), "assemblyFileName"); 1808throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CantSaveTransientAssembly"));
system\reflection\emit\assemblybuilderdata.cs (6)
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")); 426throw new InvalidOperationException(Environment.GetResourceString( 444throw new InvalidOperationException(Environment.GetResourceString(
system\reflection\emit\constructorbuilder.cs (6)
119throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 149throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 197throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DefaultConstructorILGen")); 205throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DefaultConstructorILGen")); 217throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DefaultConstructorDefineBody")); 243throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated"));
system\reflection\emit\customattributebuilder.cs (13)
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")); 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"));
system\reflection\emit\dynamicilgenerator.cs (25)
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"); 245throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 319throw new ArgumentException(Environment.GetResourceString("Argument_NotMethodCallOpcode"), "opcode"); 322throw new ArgumentException(Environment.GetResourceString("Argument_GenericsInvalid"), "methodInfo"); 325throw new ArgumentException(Environment.GetResourceString("Argument_GenericsInvalid"), "methodInfo"); 400throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); 406throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); 417throw new ArgumentException(Environment.GetResourceString("Argument_ShouldNotSpecifyExceptionType")); 429throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 448throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); 464throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); 474throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); 479throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); 484throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); 493throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 499throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "methodInfo"); 1074throw new ArgumentOutOfRangeException("codeSize", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 1100throw new ArgumentOutOfRangeException("exceptionsSize", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 1125throw new ArgumentOutOfRangeException("signatureSize", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 1243CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_MethodDeclaringTypeGenericLcg"), m, t));
system\reflection\emit\dynamicmethod.cs (17)
275throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicMethodFlags")); 277throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicMethodFlags")); 282throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicMethodFlags")); 286throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicMethodFlags")); 362throw new ArgumentException(Environment.GetResourceString("Arg_InvalidTypeInSignature")); 365throw new ArgumentException(Environment.GetResourceString("Arg_InvalidTypeInSignature")); 375throw new NotSupportedException(Environment.GetResourceString("Arg_InvalidTypeInRetType")); 408throw new ArgumentException(Environment.GetResourceString("Argument_InvalidTypeForDynamicMethod")); 456throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeModule"), "m"); 461throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue"), "m"); 495throw new ArgumentNullException("owner", Environment.GetResourceString("Argument_MustBeRuntimeType")); 613public override RuntimeMethodHandle MethodHandle { get { throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); } } 716throw new NotSupportedException(Environment.GetResourceString("NotSupported_CallToVarArg")); 737throw new TargetParameterCountException(Environment.GetResourceString("Arg_ParmCnt")); 779throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_ParamSequence")); 897get { throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); } 931throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"), "this");
system\reflection\emit\enumbuilder.cs (2)
196throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 412throw new ArgumentException(Environment.GetResourceString("Argument_ShouldOnlySetVisibilityFlags"), "name");
system\reflection\emit\fieldbuilder.cs (9)
42throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "fieldName"); 45throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "fieldName"); 51throw new ArgumentException(Environment.GetResourceString("Argument_BadFieldType")); 135throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 144throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 149get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } 163throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 169throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 175throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
system\reflection\emit\generictypeparameterbuilder.cs (1)
197public override Type MakeGenericType(params Type[] typeArguments) { throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericTypeDefinition")); }
system\reflection\emit\ilgenerator.cs (29)
253throw new ArgumentException(Environment.GetResourceString("Argument_UnclosedExceptionBlock")); 309throw new NotSupportedException(Environment.GetResourceString(ResId.Argument_UnclosedExceptionBlock)); 363throw new ArgumentException(Environment.GetResourceString("Argument_BadLabel")); 366throw new ArgumentException(Environment.GetResourceString("Argument_BadLabelContent")); 528throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 613throw new ArgumentException(Environment.GetResourceString("Argument_NotMethodCallOpcode"), "opcode"); 873throw new ArgumentException(Environment.GetResourceString("Argument_UnmatchedMethodForLocal"), "local"); 941throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadInstructionOrIndexOutOfBound")); 995throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); 1011throw new InvalidOperationException(Environment.GetResourceString("Argument_BadExceptionCodeGen")); 1036throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); 1051throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); 1057throw new ArgumentException(Environment.GetResourceString("Argument_ShouldNotSpecifyExceptionType")); 1078throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); 1092throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); 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"); 1249throw new NotSupportedException(Environment.GetResourceString("NotSupported_OutputStreamUsingTypeBuilder")); 1254throw new ArgumentException(Environment.GetResourceString("Argument_EmitWriteLineType"), "fld"); 1281throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated")); 1289throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBaked")); 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\localbuilder.cs (2)
85throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated")); 92throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule"));
system\reflection\emit\methodbuilder.cs (35)
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")); 227throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodHasBody")); 236throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadILGeneratorUsage")); 244throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_OpenLocalVariableScope")); 579throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 599get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } 604get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } 609get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } 614get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } 636throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_TypeNotCreated")); 648throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeNotCreated")); 661throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 667throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 673throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 701throw new ArgumentException(Environment.GetResourceString("Arg_EmptyArray"), "names"); 705throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GenericParametersAlreadySet")); 712throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBuilderBaked")); 850throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_ParamSequence")); 857throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_ParamSequence")); 911throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 964throw new ArgumentNullException("il", Environment.GetResourceString("ArgumentNull_Array")); 968throw new ArgumentOutOfRangeException("maxStack", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 974throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBaked")); 1073throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBaked")); 1080throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1144throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ShouldNotHaveMethodBody")); 1473throw new ArgumentOutOfRangeException("tryOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1478throw new ArgumentOutOfRangeException("tryLength", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1483throw new ArgumentOutOfRangeException("filterOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1488throw new ArgumentOutOfRangeException("handlerOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1493throw new ArgumentOutOfRangeException("handlerLength", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1517throw new ArgumentOutOfRangeException("kind", Environment.GetResourceString("ArgumentOutOfRange_Enum"));
system\reflection\emit\methodbuilderinstantiation.cs (2)
65public override RuntimeMethodHandle MethodHandle { get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } } 94throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition"));
system\reflection\emit\methodrental.cs (3)
56throw new ArgumentException(Environment.GetResourceString("Argument_BadSizeForData"), "methodSize"); 73throw new NotSupportedException(Environment.GetResourceString("NotSupported_NotDynamicModule")); 94throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "cls");
system\reflection\emit\modulebuilder.cs (35)
134throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateTypeName")); 402Environment.GetResourceString("InvalidOperation_ModuleHasBeenSaved"), 407throw new NotSupportedException(Environment.GetResourceString("NotSupported_GlobalFunctionNotBaked")); 426Environment.GetResourceString("NotSupported_NotAllTypesAreBaked"), 559throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorInfo")); 569throw new ArgumentException(Environment.GetResourceString("Argument_InvalidConstructorInfo")); 679throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 1308throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1313throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1332throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1361throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1368throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1382throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1406throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1437throw new ArgumentException(Environment.GetResourceString("Argument_NativeResourceAlreadyDefined")); 1494throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GlobalsHaveBeenCreated")); 1500throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1503throw new ArgumentException(Environment.GetResourceString("Argument_GlobalFunctionHasToBeStatic")); 1557throw new ArgumentException(Environment.GetResourceString("Argument_GlobalFunctionHasToBeStatic")); 1582throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 1618throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GlobalsHaveBeenCreated")); 1651throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GlobalsHaveBeenCreated")); 1710throw new ArgumentException(Environment.GetResourceString("Argument_CannotGetTypeTokenForByRef")); 1765throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadTransientModuleReference")); 1843throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 1867throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 2056throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "methodName"); 2059throw new ArgumentException(Environment.GetResourceString("Argument_HasToBeArrayClass")); 2149throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 2162throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 2346throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 2381throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 2389throw new InvalidOperationException(Environment.GetResourceString("Argument_NotInTheSameModuleBuilder")); 2401throw new InvalidOperationException(Environment.GetResourceString("Argument_NotInTheSameModuleBuilder")); 2425throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule"));
system\reflection\emit\propertybuilder.cs (11)
54throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 56throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name"); 183throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 188throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 193throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 198throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 203throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 228throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 248throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 253throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 258throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
system\reflection\emit\signaturehelper.cs (11)
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")); 860throw new ArgumentException(Environment.GetResourceString("Argument_SigIsFinalized"));
system\reflection\emit\symbolmethod.cs (8)
105throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); 110throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); 115get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); } 125get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); } 146throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); 158throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); 163throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod")); 168throw new NotSupportedException(Environment.GetResourceString("NotSupported_SymbolMethod"));
system\reflection\emit\symboltype.cs (29)
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")); 329throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 337get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); } 343throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 371get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); } 423throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 429throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 435throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 440throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 445throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 450throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 455throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 460throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 465throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 470throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 476throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 481throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 486throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 491throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 496throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 501throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 507throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 512throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 579throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 584throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType")); 589throw new NotSupportedException(Environment.GetResourceString("NotSupported_NonReflectedType"));
system\reflection\emit\typebuilder.cs (79)
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")); 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")); 966throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated")); 1068throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1079throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1093get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); } 1129throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1139throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1149throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1165throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1174throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1183throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1192throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1216throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1225throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1234throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 1240throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1249throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1258throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1267throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1277throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1286throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1295throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1381throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 1394throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1406throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1418throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1457throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoUnderlyingTypeOnEnum")); 1511throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1521throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1530throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 1539throw new NotSupportedException(Environment.GetResourceString("NotSupported_TypeNotYetCreated")); 1548throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"caType"); 1640throw new ArgumentException(Environment.GetResourceString("ArgumentException_BadMethodImplBody")); 1702throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 1726throw new ArgumentException(Environment.GetResourceString("Argument_BadAttributeOnInterfaceMethod")); 1782throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConstructorNotAllowedOnInterface")); 1811throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule")); 1829throw new NotSupportedException(Environment.GetResourceString("NotSupported_NoParentDefaultConstructor")); 1858throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConstructorNotAllowedOnInterface")); 2169throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 2226throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 2228throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name"); 2395throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadTypeAttributesNotAbstract")); 2410throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadMethodBody")); 2493throw new ArgumentException(Environment.GetResourceString("Argument_CannotSetParentToInterface")); 2506throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadInterfaceNotAbstract"));
system\reflection\emit\typebuilderinstantiation.cs (1)
224public override Type MakeGenericType(params Type[] inst) { throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericTypeDefinition")); }
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\emit\xxxontypebuilderinstantiation.cs (1)
92throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition"));
system\reflection\eventinfo.cs (7)
123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoPublicAddMethod")); 127throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotSupportedOnWinRTEvent")); 143throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoPublicRemoveMethod")); 150throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotSupportedOnWinRTEvent")); 297throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoPublicAddMethod")); 318throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 333throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
system\reflection\fieldinfo.cs (20)
41throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 48CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_FieldDeclaringTypeGeneric"), 58throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 117throw new NotSupportedException(Environment.GetResourceString("NotSupported_AbstractNonCLS")); 123throw new NotSupportedException(Environment.GetResourceString("NotSupported_AbstractNonCLS")); 132public virtual Object GetRawConstantValue() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_AbstractNonCLS")); } 341throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 356throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 528throw new TargetException(Environment.GetResourceString("RFLCT.Targ_StatFldReqTarg")); 533String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_FieldDeclTarget"), 562throw new InvalidOperationException(Environment.GetResourceString("Arg_UnboundGenField")); 565throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyField")); 641throw new InvalidOperationException(Environment.GetResourceString("Arg_UnboundGenField")); 644throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyField")); 748throw new ArgumentException(Environment.GetResourceString("Arg_TypedReference_Null")); 773throw new ArgumentException(Environment.GetResourceString("Arg_TypedReference_Null")); 789throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 906throw new FieldAccessException(Environment.GetResourceString("Acc_ReadOnly")); 926throw new NotSupportedException(Environment.GetResourceString("Arg_EnumLitValueNotFound")); 935throw new FieldAccessException(Environment.GetResourceString("Acc_ReadOnly"));
system\reflection\invalidfiltercriteriaexception.cs (1)
30: base(Environment.GetResourceString("Arg_InvalidFilterCriteriaException")) {
system\reflection\mdconstant.cs (3)
75throw new FormatException(Environment.GetResourceString("Arg_BadLiteralFormat")); 101throw new FormatException(Environment.GetResourceString("Arg_BadLiteralFormat")); 164throw new FormatException(Environment.GetResourceString("Arg_BadLiteralFormat"));
system\reflection\memberinfoserializationholder.cs (6)
77throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 94throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Method)); 103throw new SerializationException(Environment.GetResourceString(ResId.Serialization_InsufficientState)); 171throw new SerializationException(Environment.GetResourceString(ResId.Serialization_NullSignature)); 205throw new SerializationException(Environment.GetResourceString(ResId.Serialization_NullSignature)); 282throw new ArgumentException(Environment.GetResourceString("Serialization_MemberTypeNotRecognized"));
system\reflection\methodbase.cs (5)
65throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 72CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_MethodDeclaringTypeGeneric"), 82throw new ArgumentException(Environment.GetResourceString("Argument_InvalidHandle")); 184public virtual Type[] GetGenericArguments() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 355throw new ArgumentException(Environment.GetResourceString("Arg_VarMissNull"),"parameters");
system\reflection\methodbody.cs (2)
58throw new InvalidOperationException(Environment.GetResourceString("Arg_EHClauseNotFilter")); 69throw new InvalidOperationException(Environment.GetResourceString("Arg_EHClauseNotClause"));
system\reflection\methodinfo.cs (18)
88public override Type[] GetGenericArguments() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 91public virtual MethodInfo GetGenericMethodDefinition() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 93public virtual MethodInfo MakeGenericMethod(params Type[] typeArguments) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 95public virtual Delegate CreateDelegate(Type delegateType) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 96public virtual Delegate CreateDelegate(Type delegateType, Object target) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 493throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 507throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 622throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 661throw new TargetException(Environment.GetResourceString("RFLCT.Targ_StatMethReqTarg")); 663throw new TargetException(Environment.GetResourceString("RFLCT.Targ_ITargMismatch")); 675throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyInvoke")); 690throw new InvalidOperationException(Environment.GetResourceString("Arg_UnboundGenParam")); 700throw new NotSupportedException(Environment.GetResourceString("NotSupported_ByRefReturn")); 793throw new TargetParameterCountException(Environment.GetResourceString("Arg_ParmCnt")); 899throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "delegateType"); 902throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDelegate"), "delegateType"); 907throw new ArgumentException(Environment.GetResourceString("Arg_DlgtTargMeth")); 1036throw new NotSupportedException(Environment.GetResourceString("NotSupported_GlobalMethodSerialization"));
system\reflection\module.cs (12)
654throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 657throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 659throw new ArgumentException(Environment.GetResourceString("Argument_InvalidGenericInstArray")); 739throw new ArgumentException(Environment.GetResourceString("Argument_BadImageFormatExceptionResolve"), e); 826throw new ArgumentException(Environment.GetResourceString("Argument_BadImageFormatExceptionResolve"), e); 859throw new ArgumentException(Environment.GetResourceString("Argument_BadImageFormatExceptionResolve"), e); 869throw new ArgumentException(Environment.GetResourceString("InvalidOperation_PropertyInfoNotAvailable")); 872throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EventInfoNotAvailable")); 914String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 924String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 1026throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 1041throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType");
system\reflection\parameterinfo.cs (10)
224throw new SerializationException(Environment.GetResourceString(ResId.Serialization_InsufficientState)); 237throw new SerializationException(Environment.GetResourceString(ResId.Serialization_BadParameterInfo)); 246throw new SerializationException(Environment.GetResourceString(ResId.Serialization_BadParameterInfo)); 255throw new SerializationException(Environment.GetResourceString(ResId.Serialization_BadParameterInfo)); 258throw new SerializationException(Environment.GetResourceString(ResId.Serialization_NoParameterInfo)); 312throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ParameterSignatureMismatch")); 328throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ParameterSignatureMismatch")); 336throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ParameterSignatureMismatch")); 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 (5)
387throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 402throw new ArgumentException(Environment.GetResourceString("Arg_MustBeType"),"attributeType"); 477throw new InvalidOperationException(Environment.GetResourceString("Arg_EnumLitValueNotFound")); 629throw new ArgumentException(System.Environment.GetResourceString("Arg_GetMethNotFnd")); 653throw new ArgumentException(System.Environment.GetResourceString("Arg_SetMethNotFnd"));
system\reflection\reflectiontypeloadexception.cs (1)
34: base(Environment.GetResourceString("ReflectionTypeLoad_LoadFailed")) {
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\reflection\targetinvocationexception.cs (2)
32: base(Environment.GetResourceString("Arg_TargetInvocationException")) { 42: base(Environment.GetResourceString("Arg_TargetInvocationException"), inner) {
system\reflection\targetparametercountexception.cs (1)
30: base(Environment.GetResourceString("Arg_TargetParameterCountException")) {
system\resources\filebasedresourcegroveler.cs (1)
68throw new MissingManifestResourceException(Environment.GetResourceString("MissingManifestResource_NoNeutralDisk") + Environment.NewLine + "baseName: " + _mediator.BaseNameField + " locationInfo: " + (_mediator.LocationInfo == null ? "<null>" : _mediator.LocationInfo.FullName) + " fileName: " + _mediator.GetResourceFileName(culture));
system\resources\missingmanifestresourceexception.cs (1)
27: base(Environment.GetResourceString("Arg_MissingManifestResourceException")) {
system\resources\missingsatelliteassemblyexception.cs (1)
31: base(Environment.GetResourceString("MissingSatelliteAssembly_Default")) {
system\resources\resourcemanager.cs (6)
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")); 872throw new ArgumentNullException("a", Environment.GetResourceString("ArgumentNull_Assembly")); 1277throw new MissingManifestResourceException(Environment.GetResourceString("MissingManifestResource_NoPRIresources"));
system\resources\resourcereader.cs (37)
185throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable")); 266throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_NegativeStringLength")); 308throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 408throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_NegativeStringLength")); 415throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesNameTooLong")); 430throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourceNameCorrupted")); 452throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_NegativeStringLength")); 594throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_TypeMismatch"), eof); 597throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_TypeMismatch"), e); 670throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_TypeMismatch"), eof); 673throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_TypeMismatch"), e); 788throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_TypeMismatch")); 875throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"), eof); 878throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"), e); 889throw new ArgumentException(Environment.GetResourceString("Resources_StreamNotValid")); 897throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 948throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 960throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 1009throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 1034throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 1045throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 1061throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 1069throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted")); 1081throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_InvalidType")); 1190throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1231throw new BadImageFormatException(Environment.GetResourceString("BadImageFormat_InvalidType")); 1240throw new FormatException(Environment.GetResourceString("BadImageFormat_ResourceNameCorrupted")); 1367if (_currentName == ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1368if (!_currentIsValid) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1369if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1391if (_currentName == ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1392if (!_currentIsValid) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1393if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1423if (_currentName == ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1424if (!_currentIsValid) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1425if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1437if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed"));
system\resources\resourceset.cs (3)
215throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ResourceSet")); 304throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ResourceSet")); 314throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ResourceSet"));
system\resources\resourcewriter.cs (11)
119throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable")); 135throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 151throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 176throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 191throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 208throw new ArgumentException(Environment.GetResourceString("NotSupported_UnseekableStream")); 225throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 242throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 288throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 688throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_StreamLength")); 700throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_StreamLength"));
system\resources\runtimeresourceset.cs (3)
261throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ResourceSet")); 294throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ResourceSet")); 302throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_ResourceSet"));
system\rttype.cs (58)
2050CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveMethodHandle"), 2078CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveMethodHandle"), 2100CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveMethodHandle"), 2170CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveFieldHandle"), 3152throw new InvalidOperationException(Environment.GetResourceString("Arg_GenericParameter")); 3161throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "ifaceType"); 3172throw new ArgumentException(Environment.GetResourceString("Argument_ArrayGetInterfaceMap")); 3234throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3307throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3341throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3373throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3385throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3417throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3448throw new AmbiguousMatchException(Environment.GetResourceString("Arg_AmbiguousMatchException")); 3655throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 4004throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 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"); 4155throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 4168throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value"); 4214throw new ArgumentException(Environment.GetResourceString("Argument_GenericArgsCount"), "instantiation"); 4269throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 4279throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotGenericType")); 4303throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 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)); 4517throw new InvalidOperationException(Environment.GetResourceString("Arg_GenericParameter")); 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")); 5172throw new NotSupportedException(Environment.GetResourceString("Acc_CreateArgIterator")); 5175throw new NotSupportedException(Environment.GetResourceString("Acc_CreateVoid")); 5317Environment.GetResourceString("NotSupported_CallToVarArg"))); 5504throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 5517throw new MissingMethodException(Environment.GetResourceString("Arg_NoDefCTor")); 5835throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly"));
system\runtime\compilerservices\AsyncMethodBuilder.cs (3)
610throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 675throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 888if (m_stateMachine != null) throw new InvalidOperationException(Environment.GetResourceString("AsyncMethodBuilder_InstanceNotInitialized"));
system\runtime\compilerservices\ConditionalWeakTable.cs (1)
588throw new InvalidOperationException(Environment.GetResourceString("CollectionCorrupted"));
system\runtime\compilerservices\RuntimeWrappedException.cs (1)
27: base(Environment.GetResourceString("RuntimeWrappedException")) {
system\runtime\designerservices\windowsruntimedesignercontext.cs (2)
38throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_Path")); 42throw new ArgumentException(Environment.GetResourceString("Argument_AbsolutePathRequired"));
system\runtime\exceptionservices\exceptionservicescommon.cs (1)
106throw new ArgumentNullException("source", Environment.GetResourceString("ArgumentNull_Obj"));
system\runtime\gcsettings.cs (2)
59throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_Enum")); 86throw new ArgumentOutOfRangeException(Environment.GetResourceString("ArgumentOutOfRange_Enum"));
system\runtime\interopservices\comexception.cs (1)
30: base(Environment.GetResourceString("Arg_COMException"))
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\externalexception.cs (1)
29: base(Environment.GetResourceString("Arg_ExternalException")) {
system\runtime\interopservices\gchandle.cs (7)
66throw new ArgumentOutOfRangeException("type", Environment.GetResourceString("ArgumentOutOfRange_Enum")); 131throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 143throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 153throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 169throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 172throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotPinned")); 200throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized"));
system\runtime\interopservices\gchandlecookietable.cs (1)
95throw new OutOfMemoryException(Environment.GetResourceString("OutOfMemory_GCHandleMDA"));
system\runtime\interopservices\invalidcomobjectexception.cs (1)
25: base(Environment.GetResourceString("Arg_InvalidComObjectException")) {
system\runtime\interopservices\invalidolevarianttypeexception.cs (1)
23: base(Environment.GetResourceString("Arg_InvalidOleVariantTypeException")) {
system\runtime\interopservices\marshal.cs (31)
220throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"), "t"); 222throw new ArgumentException(Environment.GetResourceString("Argument_NeedNonGenericType"), "t"); 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"); 1048throw new ArgumentNullException(Environment.GetResourceString("Argument_MustBeRuntimeModule")); 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\marshaldirectiveexception.cs (1)
25: base(Environment.GetResourceString("Arg_MarshalDirectiveException")) {
system\runtime\interopservices\registrationservices.cs (12)
106throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsmLoadedForReflectionOnly")); 111throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly")); 116throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoAsmName")); 124throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoAsmCodeBase")); 169throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsmLoadedForReflectionOnly")); 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"); 872throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_PIAMustBeStrongNamed"));
system\runtime\interopservices\safearrayrankmismatchexception.cs (1)
23: base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) {
system\runtime\interopservices\safearraytypemismatchexception.cs (1)
24: base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) {
system\runtime\interopservices\safebuffer.cs (17)
105throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 107throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_AddressSpace")); 111throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_UIntPtrMax-1")); 124throw new ArgumentOutOfRangeException("numElements", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 126throw new ArgumentOutOfRangeException("sizeOfEachElement", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 129throw new ArgumentOutOfRangeException("numBytes", Environment.GetResourceString("ArgumentOutOfRange_AddressSpace")); 133throw new ArgumentOutOfRangeException("numElements", Environment.GetResourceString("ArgumentOutOfRange_UIntPtrMax-1")); 249throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Buffer")); 251throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 253throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 255throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 321throw new ArgumentNullException("array", Environment.GetResourceString("ArgumentNull_Buffer")); 323throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 325throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 327throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 384throw new ArgumentException(Environment.GetResourceString("Arg_BufferTooSmall")); 391return new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MustCallInitialize"));
system\runtime\interopservices\typelibconverter.cs (6)
103throw new ArgumentException(Environment.GetResourceString("Arg_InvalidFileName"), "asmFileName"); 105throw new ArgumentException(Environment.GetResourceString("IO.PathTooLong"), asmFileName); 107throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_PIAMustBeStrongNamed")); 321throw new ArgumentException(Environment.GetResourceString("Arg_InvalidFileExtension")); 430String strProductName = String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("TypeLibConverter_ImportedTypeLibProductName"), strTypeLibName); 537throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"));
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (4)
45throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 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\bindablevectortolistadapter.cs (3)
68throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 122throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 152throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (4)
68Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 141Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound")); 267if (_current < _start) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 268if (_current > _end) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (3)
112throw new ArgumentException(System.Environment.GetResourceString(getValue ? "Arg_GetMethNotFnd" : "Arg_SetMethNotFnd")); 118Environment.GetResourceString("Arg_MethodAccessException_WithMethodName"), 124throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeMethodInfo"));
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (5)
37throw new ArgumentException(Environment.GetResourceString("Arg_IndexOutOfRangeException")); 39throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection")); 58throw new NotSupportedException(Environment.GetResourceString("NotSupported_KeyCollectionSet")); 63throw new NotSupportedException(Environment.GetResourceString("NotSupported_KeyCollectionSet")); 73throw new NotSupportedException(Environment.GetResourceString("NotSupported_KeyCollectionSet"));
system\runtime\interopservices\windowsruntime\dictionarytomapadapter.cs (2)
47Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound")); 107Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (5)
40throw new ArgumentException(Environment.GetResourceString("Arg_IndexOutOfRangeException")); 42throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection")); 61throw new NotSupportedException(Environment.GetResourceString("NotSupported_ValueCollectionSet")); 66throw new NotSupportedException(Environment.GetResourceString("NotSupported_ValueCollectionSet")); 80throw new NotSupportedException(Environment.GetResourceString("NotSupported_ValueCollectionSet"));
system\runtime\interopservices\windowsruntime\imapviewtoireadonlydictionaryadapter.cs (1)
125throw new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\ireadonlydictionarytoimapviewadapter.cs (1)
47Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (1)
136Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (2)
160Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRemoveLastFromEmptyCollection")); 185Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\listtobindablevectorviewadapter.cs (1)
44Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (2)
169Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRemoveLastFromEmptyCollection")); 218Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (5)
52throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 64throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 151throw new ArgumentException(Environment.GetResourceString("Argument_IndexOutOfArrayBounds")); 154throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection")); 187throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (2)
99throw new ArgumentException(Environment.GetResourceString("Argument_AddingDuplicate")); 173throw new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\mapviewtoreadonlycollectionadapter.cs (2)
52throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 64throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\vectortocollectionadapter.cs (4)
44throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 94throw new ArgumentException(Environment.GetResourceString("Argument_IndexOutOfArrayBounds")); 97throw new ArgumentException(Environment.GetResourceString("Argument_InsufficientSpaceToCopyCollection")); 123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\vectortolistadapter.cs (1)
71throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\vectorviewtoreadonlycollectionadapter.cs (1)
44throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (5)
1078message = Environment.GetResourceString(messageResource); 1084string message = (messageResource != null ? Environment.GetResourceString(messageResource) : null); 1302throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1321throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1331throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT"));
system\runtime\interopservices\windowsruntime\windowsruntimemetadata.cs (1)
134throw new ArgumentException(Environment.GetResourceString("Arg_EmptyOrNullString"), "DesignerNamespaceResolveEventArgs.ResolvedAssemblyFiles");
system\runtime\memoryfailpoint.cs (5)
164throw new ArgumentOutOfRangeException("sizeInMegabytes", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 183throw new InsufficientMemoryException(Environment.GetResourceString("InsufficientMemory_MemFailPoint_TooBig")); 271InsufficientMemoryException e = new InsufficientMemoryException(Environment.GetResourceString("InsufficientMemory_MemFailPoint")); 282InsufficientMemoryException e = new InsufficientMemoryException(Environment.GetResourceString("InsufficientMemory_MemFailPoint_VAFrag")); 355throw new InsufficientMemoryException(Environment.GetResourceString("InsufficientMemory_MemFailPoint_VAFrag"));
system\runtime\remoting\__transparentproxy.cs (1)
25throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor));
system\runtime\remoting\activationservices.cs (16)
149CultureInfo.CurrentCulture, Environment.GetResourceString( 191CultureInfo.CurrentCulture, Environment.GetResourceString( 210throw new NotSupportedException(Environment.GetResourceString("NotSupported_ActivForCom" )); 340Environment.GetResourceString( 377Environment.GetResourceString( 420Environment.GetResourceString( 607Environment.GetResourceString( 660Environment.GetResourceString( 688Environment.GetResourceString( 740Environment.GetResourceString( 851Environment.GetResourceString( 1143throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 1287CultureInfo.CurrentCulture, Environment.GetResourceString( 1420CultureInfo.CurrentCulture, Environment.GetResourceString( 1484CultureInfo.CurrentCulture, Environment.GetResourceString( 1494CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadType"),
system\runtime\remoting\asyncresult.cs (3)
112_replyMsg = new ReturnMessage(new RemotingException(Environment.GetResourceString("Remoting_NullMessage")), new ErrorMessage()); 116_replyMsg = new ReturnMessage(new RemotingException(Environment.GetResourceString("Remoting_Message_BadType")), new ErrorMessage()); 140Environment.GetResourceString("NotSupported_Method"));
system\runtime\remoting\channelservices.cs (3)
682Environment.GetResourceString( 697Environment.GetResourceString( 719Environment.GetResourceString(
system\runtime\remoting\channelsinkstacks.cs (10)
113Environment.GetResourceString("Remoting_Channel_PopOnEmptySinkStack")); 128Environment.GetResourceString("Remoting_Channel_PopFromSinkStackWithoutPush")); 148Environment.GetResourceString( 276Environment.GetResourceString("Remoting_Channel_PopOnEmptySinkStack")); 291Environment.GetResourceString("Remoting_Channel_PopFromSinkStackWithoutPush")); 307Environment.GetResourceString( 323Environment.GetResourceString("Remoting_Channel_StoreOnSinkStackWithoutPush")); 349Environment.GetResourceString( 370Environment.GetResourceString( 388Environment.GetResourceString(
system\runtime\remoting\configuration.cs (19)
219Environment.GetResourceString( 231CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_AppNameSet"), 264throw new RemotingException(Environment.GetResourceString("Remoting_Config_ErrorsModeSet")); 373CultureInfo.CurrentCulture, Environment.GetResourceString( 425CultureInfo.CurrentCulture, Environment.GetResourceString( 497CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidChannelType"), 528CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_ChannelMissingCtor"), 602CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidSinkProviderType"), 614CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidSinkProviderType"), 628CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_SinkProviderNotFormatter"), 651CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_SinkProviderMissingCtor"), 1135CultureInfo.CurrentCulture, Environment.GetResourceString( 1298CultureInfo.CurrentCulture, Environment.GetResourceString( 1380CultureInfo.CurrentCulture, Environment.GetResourceString( 1389CultureInfo.CurrentCulture, Environment.GetResourceString( 1418CultureInfo.CurrentCulture, Environment.GetResourceString( 1427CultureInfo.CurrentCulture, Environment.GetResourceString( 1470CultureInfo.CurrentCulture, Environment.GetResourceString( 1633CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\context.cs (11)
252Environment.GetResourceString("InvalidOperation_AddContextFrozen")); 290Environment.GetResourceString( 340Environment.GetResourceString( 383Environment.GetResourceString( 433Environment.GetResourceString( 474Environment.GetResourceString( 509Environment.GetResourceString( 640Environment.GetResourceString( 878throw new ArgumentException(Environment.GetResourceString("Argument_NonNullObjAndCtx")); 907throw new ArgumentException(Environment.GetResourceString("Argument_NonNullObjAndCtx")); 991CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
system\runtime\remoting\crossappdomainchannel.cs (2)
129Environment.GetResourceString( 152Environment.GetResourceString(
system\runtime\remoting\crosscontextchannel.cs (1)
486Environment.GetResourceString("NotSupported_Method"));
system\runtime\remoting\dispatchchannelsink.cs (2)
64Environment.GetResourceString("Remoting_Channel_DispatchSinkMessageMissing")); 72Environment.GetResourceString("Remoting_Channel_DispatchSinkWantsNullRequestStream"));
system\runtime\remoting\dynamicpropertyholder.cs (2)
94CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"), 187Environment.GetResourceString(
system\runtime\remoting\identity.cs (2)
469Environment.GetResourceString("Remoting_SetObjectUriForMarshal__UriExists")); 539CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
system\runtime\remoting\identityholder.cs (3)
419CultureInfo.CurrentCulture, Environment.GetResourceString( 795Environment.GetResourceString("Remoting_NoIdentityEntry")); 827Environment.GetResourceString("Remoting_NoIdentityEntry"));
system\runtime\remoting\message.cs (70)
432Environment.GetResourceString("NotSupported_Method")); 522CultureInfo.CurrentCulture, Environment.GetResourceString( 556CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MissingArgValue"), 572CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MissingArgValue"), 634CultureInfo.CurrentCulture, Environment.GetResourceString( 761CultureInfo.CurrentCulture, Environment.GetResourceString( 806CultureInfo.CurrentCulture, Environment.GetResourceString( 1016Environment.GetResourceString( 1087Environment.GetResourceString( 1101Environment.GetResourceString( 1120Environment.GetResourceString( 1138Environment.GetResourceString( 1156Environment.GetResourceString( 1174Environment.GetResourceString( 1232Environment.GetResourceString( 1248Environment.GetResourceString( 1263Environment.GetResourceString( 1280Environment.GetResourceString( 1298Environment.GetResourceString( 1360Environment.GetResourceString( 1375Environment.GetResourceString( 1449Environment.GetResourceString( 1470Environment.GetResourceString( 1490Environment.GetResourceString( 1551Environment.GetResourceString( 1573Environment.GetResourceString( 1603Environment.GetResourceString( 1623Environment.GetResourceString( 1630Environment.GetResourceString( 1682Environment.GetResourceString( 1704Environment.GetResourceString( 1729Environment.GetResourceString( 1742Environment.GetResourceString( 1749Environment.GetResourceString( 1815Environment.GetResourceString( 1844Environment.GetResourceString( 1876Environment.GetResourceString( 1896Environment.GetResourceString( 1904Environment.GetResourceString( 2037Environment.GetResourceString( 2069Environment.GetResourceString( 2098Environment.GetResourceString( 2213Environment.GetResourceString( 2239Environment.GetResourceString( 2266Environment.GetResourceString( 2574_e = IsCustomErrorEnabled()? new RemotingException(Environment.GetResourceString("Remoting_InternalError")):e; 3119CultureInfo.CurrentCulture, Environment.GetResourceString( 3275CultureInfo.CurrentCulture, Environment.GetResourceString( 3317throw new RemotingException(Environment.GetResourceString("Remoting_AmbiguousMethod")); 3378throw new RemotingException(Environment.GetResourceString("Remoting_AmbiguousMethod")); 3391Environment.GetResourceString("NotSupported_Method")); 3428CultureInfo.CurrentCulture, Environment.GetResourceString( 3439CultureInfo.CurrentCulture, Environment.GetResourceString( 3493Environment.GetResourceString( 3501Environment.GetResourceString( 4142CultureInfo.CurrentCulture, Environment.GetResourceString( 4339Environment.GetResourceString( 4357Environment.GetResourceString("NotSupported_Method")); 4469Environment.GetResourceString( 4480Environment.GetResourceString( 4863Environment.GetResourceString( 5101Environment.GetResourceString( 5118Environment.GetResourceString( 5128Environment.GetResourceString( 5136Environment.GetResourceString( 5144Environment.GetResourceString( 5284Environment.GetResourceString( 5299Environment.GetResourceString( 5746Environment.GetResourceString("Remoting_Default")); 5970Environment.GetResourceString("Remoting_Default"));
system\runtime\remoting\objref.cs (2)
459throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 993CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\proxyattribute.cs (4)
46throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); 51Environment.GetResourceString( 57Environment.GetResourceString( 101Environment.GetResourceString(
system\runtime\remoting\realproxy.cs (17)
118Environment.GetResourceString("Remoting_Proxy_ProxyTypeIsNotMBR")); 187CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Proxy_BadTypeForActivation"), 348throw new ArgumentException(Environment.GetResourceString("ArgumentNull_Generic"), "s"); 399throw new RemotingException(Environment.GetResourceString( 419throw new RemotingException(Environment.GetResourceString( 472Environment.GetResourceString("Remoting_Proxy_ExpectedOriginalMessage")); 548Environment.GetResourceString("Remoting_Proxy_ReturnValueTypeCannotBeNull")); 553Environment.GetResourceString("Remoting_Proxy_BadReturnType")); 563Environment.GetResourceString("Remoting_Proxy_BadReturnType")); 580Environment.GetResourceString( 585throw new InvalidOperationException(Environment.GetResourceString( 601Environment.GetResourceString( 765Environment.GetResourceString( 868Environment.GetResourceString("Remoting_Proxy_BadReturnTypeForActivation")); 882Environment.GetResourceString("Remoting_Activation_NullReturnValue")); 896Environment.GetResourceString("Remoting_Activation_NullFromInternalUnmarshal")); 903Environment.GetResourceString(
system\runtime\remoting\remotingattributes.cs (3)
473throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_Method")); 669Environment.GetResourceString("Remoting_Attribute_UseAttributeNotsettable")); } 732Environment.GetResourceString("Remoting_Attribute_UseAttributeNotsettable")); }
system\runtime\remoting\remotingconfigparser.cs (13)
704CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_NodeMustBeUnique"), 714CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_UnknownValue"), 730CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_RequiredXmlAttribute"), 740CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_MissingTypeAttribute"), 750CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_MissingXmlTypeAttribute"), 760CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidTimeFormat"), 772CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_NonTemplateIdAttribute"), 783CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_TemplateCannotReferenceTemplate"), 794CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_UnableToResolveTemplate"), 806CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_VersionPresent"), 1095Environment.GetResourceString("Remoting_Config_MissingWellKnownModeAttribute"), 1363Environment.GetResourceString("Remoting_Config_PreloadRequiresTypeOrAssembly"), 1589Environment.GetResourceString("Remoting_Config_ProviderNeedsElementName"),
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\remotingexception.cs (3)
28private static String _nullMessage = Environment.GetResourceString("Remoting_Default"); 61private static String _nullMessage = Environment.GetResourceString("Remoting_Default"); 88private static String _nullMessage = Environment.GetResourceString("Remoting_Default");
system\runtime\remoting\remotingproxy.cs (8)
112Environment.GetResourceString( 138Environment.GetResourceString("Remoting_Message_BadType")); 216throw new RemotingException(Environment.GetResourceString("Remoting_Proxy_InvalidCall")); 247Environment.GetResourceString("Remoting_Proxy_InvalidCallType")); 301Environment.GetResourceString("Remoting_Proxy_NoChannelSink")); 450Environment.GetResourceString("Remoting_Proxy_InvalidState")); 553Environment.GetResourceString( 646throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\remoting\remotingservices.cs (25)
215CultureInfo.CurrentCulture, Environment.GetResourceString( 254CultureInfo.CurrentCulture, Environment.GetResourceString( 282CultureInfo.CurrentCulture, Environment.GetResourceString( 408Environment.GetResourceString( 416Environment.GetResourceString( 445Environment.GetResourceString( 556throw new ArgumentException(Environment.GetResourceString("Argument_InvalidMarshalByRefObject"), "Obj"); 743Environment.GetResourceString( 769Environment.GetResourceString( 904Environment.GetResourceString("Remoting_CantDisconnectClientProxy")); 944Environment.GetResourceString( 980Environment.GetResourceString( 1003CultureInfo.CurrentCulture, Environment.GetResourceString( 1012Environment.GetResourceString( 1186CultureInfo.CurrentCulture, Environment.GetResourceString( 1257CultureInfo.CurrentCulture, Environment.GetResourceString( 1390CultureInfo.CurrentCulture, Environment.GetResourceString( 1413throw new RemotingException(Environment.GetResourceString("Remoting_UnexpectedNullTP")); 1461CultureInfo.CurrentCulture, Environment.GetResourceString( 1713CultureInfo.CurrentCulture, Environment.GetResourceString( 1890CultureInfo.CurrentCulture, Environment.GetResourceString( 1938Environment.GetResourceString( 2480Environment.GetResourceString("Remoting_Proxy_WrongContext")); 2808throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject")); 2832throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeReflectionObject"));
system\runtime\remoting\remotingsurrogateselector.cs (6)
170throw new NotSupportedException(Environment.GetResourceString("NotSupported_PopulateData")); 204throw new NotSupportedException(Environment.GetResourceString("NotSupported_PopulateData")); 408throw new NotSupportedException(Environment.GetResourceString("NotSupported_PopulateData")); 479throw new RemotingException(Environment.GetResourceString("Remoting_InvalidMsg")); 538throw new RemotingException(Environment.GetResourceString("Remoting_InvalidMsg")); 545throw new NotSupportedException(Environment.GetResourceString("NotSupported_PopulateData"));
system\runtime\remoting\serveridentity.cs (2)
288CultureInfo.CurrentCulture, Environment.GetResourceString( 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\soapinteroptypes.cs (12)
219CultureInfo.CurrentCulture, Environment.GetResourceString( 386CultureInfo.CurrentCulture, Environment.GetResourceString( 959CultureInfo.CurrentCulture, Environment.GetResourceString( 1050CultureInfo.CurrentCulture, Environment.GetResourceString( 1139CultureInfo.CurrentCulture, Environment.GetResourceString( 1152CultureInfo.CurrentCulture, Environment.GetResourceString( 1201CultureInfo.CurrentCulture, Environment.GetResourceString( 1214CultureInfo.CurrentCulture, Environment.GetResourceString( 1263CultureInfo.CurrentCulture, Environment.GetResourceString( 1276CultureInfo.CurrentCulture, Environment.GetResourceString( 1325CultureInfo.CurrentCulture, Environment.GetResourceString( 1338CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\stackbuildersink.cs (4)
355CultureInfo.CurrentCulture, Environment.GetResourceString( 391CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_InvalidCallingType"), 418CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_InvalidCallingType"), 446Environment.GetResourceString("Remoting_CantInvokeIRemoteDispatch"));
system\runtime\remoting\synchronizeddispatch.cs (1)
166throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "flag");
system\runtime\remoting\terminatorsinks.cs (1)
55return new ReturnMessage(new RemotingException(Environment.GetResourceString("Remoting_Activation_AsyncUnsupported")),
system\runtime\serialization\formatter.cs (1)
63throw new SerializationException(Environment.GetResourceString("Serialization_NoID"));
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (10)
825throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 832throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 839throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 846throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 853throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 1106throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 1113throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 1120throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 1127throw new SerializationException(Environment.GetResourceString("Serialization_Method")); 1134throw new SerializationException(Environment.GetResourceString("Serialization_Method"));
system\runtime\serialization\formatters\binary\binaryformatter.cs (1)
188throw new SerializationException(Environment.GetResourceString("Serialization_Stream"));
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
430throw new SerializationException(Environment.GetResourceString("Serialization_ISerializableMemberInfo"));
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (4)
114throw new ArgumentNullException("stream", Environment.GetResourceString("ArgumentNull_Stream")); 187throw new SerializationException(Environment.GetResourceString("Serialization_TopObject")); 336throw new SerializationException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Serialization_NonSerType"), 961throw new SerializationException(Environment.GetResourceString("Serialization_ArrayTypeObject"));
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (2)
81throw new ArgumentNullException("graph", Environment.GetResourceString("ArgumentNull_Graph")); 355throw new ArgumentNullException("objectInfo.obj", Environment.GetResourceString("ArgumentNull_Obj"));
system\runtime\serialization\formatters\binary\binaryparser.cs (3)
188throw new SerializationException(Environment.GetResourceString("Serialization_TypeExpected")); 257throw new SerializationException(Environment.GetResourceString("Serialization_StreamEnd")); 1171throw new SerializationException(Environment.GetResourceString("Serialization_StreamEnd"));
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (2)
463throw new SerializationException(Environment.GetResourceString("Serialization_CorruptedStream")); 553throw new SerializationException(Environment.GetResourceString("Serialization_CorruptedStream"));
system\runtime\serialization\formatterservices.cs (4)
319throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFieldInfo")); 340throw new ArgumentException(Environment.GetResourceString("Argument_DataLengthDifferent")); 362throw new SerializationException(Environment.GetResourceString("Serialization_UnknownMemberInfo")); 416throw new SerializationException(Environment.GetResourceString("Serialization_UnknownMemberInfo"));
system\runtime\serialization\objectclonehelper.cs (1)
96throw new ArgumentException(Environment.GetResourceString("Arg_SerializationException"));
system\runtime\serialization\objectidgenerator.cs (3)
95throw new ArgumentNullException("obj", Environment.GetResourceString("ArgumentNull_Obj")); 132throw new ArgumentNullException("obj", Environment.GetResourceString("ArgumentNull_Obj")); 165throw new SerializationException(Environment.GetResourceString("Serialization_TooManyElements"));
system\runtime\serialization\objectmanager.cs (22)
262throw new SerializationException(String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Serialization_NotCyclicallyReferenceableSurrogate"), surrogate.GetType().FullName)); 327throw new SerializationException(Environment.GetResourceString("Serialization_TooManyReferences")); 514throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFixupDiscovered")); 580throw new SerializationException(Environment.GetResourceString("Serialization_ValueTypeFixup")); 604throw new SerializationException(Environment.GetResourceString("Serialization_PartialValueTypeFixup")); 613throw new SerializationException(Environment.GetResourceString("Serialization_UnableToFixup")); 617throw new SerializationException(Environment.GetResourceString("Serialization_UnableToFixup")); 691throw new ArgumentOutOfRangeException("objectID", Environment.GetResourceString("ArgumentOutOfRange_ObjectID")); 745throw new ArgumentOutOfRangeException("objectID", Environment.GetResourceString("ArgumentOutOfRange_ObjectID")); 750throw new SerializationException(Environment.GetResourceString("Serialization_UnknownMemberInfo")); 803throw new SerializationException(Environment.GetResourceString("Serialization_RegisterTwice")); 863throw new ArgumentException(Environment.GetResourceString("Serialization_NotISer")); 977throw new SerializationException(Environment.GetResourceString("Serialization_IncorrectNumberOfFixups")); 995throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFixupType")); 1015Environment.GetResourceString("Serialization_IdTooSmall")); 1047Environment.GetResourceString("Serialization_IdTooSmall")); 1082Environment.GetResourceString("Serialization_IdTooSmall")); 1196throw new SerializationException(Environment.GetResourceString("Serialization_ParentChildIdentical")); 1344throw new SerializationException(Environment.GetResourceString("Serialization_ParentChildIdentical")); 1620throw new SerializationException(Environment.GetResourceString("Serialization_TooManyElements")); 1709throw new SerializationException(Environment.GetResourceString("Serialization_TooManyElements")); 1754throw new SerializationException(Environment.GetResourceString("Serialization_TooManyElements"));
system\runtime\serialization\serializationattributes.cs (1)
35throw new ArgumentException(Environment.GetResourceString("Serialization_OptionalFieldVersionValue"));
system\runtime\serialization\serializationexception.cs (1)
25private static String _nullMessage = Environment.GetResourceString("Arg_SerializationException");
system\runtime\serialization\serializationinfo.cs (2)
397throw new SerializationException(Environment.GetResourceString("Serialization_SameNameTwice")); 527throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
system\runtime\serialization\serializationinfoenumerator.cs (5)
103throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 112throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 126throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 134throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 142throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen"));
system\runtime\serialization\surrogateselector.cs (5)
96throw new SerializationException(Environment.GetResourceString("Serialization_DuplicateSelector")); 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 (1)
124throw new ArgumentNullException("type", Environment.GetResourceString("ArgumentNull_TypeRequiredByResourceScope"));
system\runtimehandles.cs (14)
38throw new ArgumentNullException(null, Environment.GetResourceString("Arg_InvalidHandle")); 48throw new ArgumentNullException(null, Environment.GetResourceString("Arg_InvalidHandle")); 616throw new TypeLoadException(Environment.GetResourceString("Arg_TypeLoadNullStr")); 828throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 891throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 902throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFieldState")); 1019throw new ArgumentNullException(null, Environment.GetResourceString("Arg_InvalidHandle")); 1060throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 1071throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFieldState")); 1606throw new ArgumentNullException(null, Environment.GetResourceString("Arg_InvalidHandle")); 1802throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 1807throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 1818throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFieldState")); 1908throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullModuleHandle"));
system\sbyte.cs (4)
56throw new ArgumentException (Environment.GetResourceString("Arg_MustBeSByte")); 152throw new OverflowException(Environment.GetResourceString("Overflow_SByte"), e); 157throw new OverflowException(Environment.GetResourceString("Overflow_SByte")); 162if (i < MinValue || i > MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
system\security\accesscontrol\ace.cs (14)
124Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 134Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 193Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 252Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 262Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 273Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 410Environment.GetResourceString( "ArgumentException_InvalidAceBinaryForm" ), 791Environment.GetResourceString( "ArgumentOutOfRange_InvalidUserDefinedAceType" )); 856string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLength" ), 0, MaxOpaqueLength )); 862string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLengthMultiple" ), 4 )); 1303string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLength" ), 0, MaxOpaqueLengthInternal )); 1309string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLengthMultiple" ), 4 )); 1425Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 1807Environment.GetResourceString( "ArgumentOutOfRange_Enum" ));
system\security\accesscontrol\acl.cs (35)
63throw new InvalidOperationException( Environment.GetResourceString( "Arg_InvalidOperationException" )); 180throw new RankException( Environment.GetResourceString( "Rank_MultiDimNotSupported" )); 188Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 194Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 265Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 297Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 310Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 314throw new InvalidOperationException( Environment.GetResourceString( "AccessControl_AclTooLong" )); 320Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 367Environment.GetResourceString( "ArgumentException_InvalidAclBinaryForm" ), 416Environment.GetResourceString( "ArgumentException_InvalidAclBinaryForm" ), 563throw new OverflowException( Environment.GetResourceString( "AccessControl_AclTooLong" )); 584throw new OverflowException( Environment.GetResourceString( "AccessControl_AclTooLong" )); 1850throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_ModificationOfNonCanonicalAcl" )); 1968Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 1984Environment.GetResourceString( "Argument_InvalidAnyFlag" ), 1991Environment.GetResourceString("Argument_InvalidAnyFlag"), 1997Environment.GetResourceString( "Argument_InvalidAnyFlag" ), 2024Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 2031Environment.GetResourceString( "Argument_ArgumentZero" ), 2103Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 2110Environment.GetResourceString( "Argument_ArgumentZero" ), 2208Environment.GetResourceString( "Argument_ArgumentZero" ), 2216Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 2653Environment.GetResourceString( "Argument_ArgumentZero" ), 2661Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 2858throw new NotSupportedException( Environment.GetResourceString( "NotSupported_SetMethod" )); 3007Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3028Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3049Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3069Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3170Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3193Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3216Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" )); 3238Environment.GetResourceString( "InvalidOperation_OnlyValidForDS" ));
system\security\accesscontrol\commonobjectsecurity.cs (4)
54Environment.GetResourceString("Arg_MustBeIdentityReferenceType"), 280Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 321Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 407Environment.GetResourceString( "ArgumentOutOfRange_Enum" ));
system\security\accesscontrol\directoryobjectsecurity.cs (6)
53throw new ArgumentException(Environment.GetResourceString("Arg_MustBeIdentityReferenceType"), "targetType"); 329Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 370Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 460Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 487Environment.GetResourceString("AccessControl_InvalidAccessRuleType"), 499Environment.GetResourceString("AccessControl_InvalidAuditRuleType"),
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 (9)
140exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidOwner" ) ); 144exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidGroup" )); 153Environment.GetResourceString( "Argument_InvalidName" ), 162exception = new NotSupportedException( Environment.GetResourceString( "AccessControl_NoAssociatedSecurity" )); 285exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidOwner" ) ); 289exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidGroup" ) ); 294Environment.GetResourceString( "Argument_InvalidName" ), 299exception = new NotSupportedException( Environment.GetResourceString( "AccessControl_InvalidHandle" )); 307exception = new NotSupportedException(Environment.GetResourceString("AccessControl_NoAssociatedSecurity"));
system\security\accesscontrol\objectsecurity.cs (12)
180throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 190throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 203throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 213throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 226throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 236throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 249throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 259throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 615Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 665Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 699Environment.GetResourceString("AccessControl_InvalidAccessRuleType"), 726Environment.GetResourceString("AccessControl_InvalidAuditRuleType"),
system\security\accesscontrol\privilege.cs (3)
462throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustBeSameThread" )); 471throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustRevertPrivilege" )); 593throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustBeSameThread" ));
system\security\accesscontrol\privilegenotheldexception.cs (3)
18: base( Environment.GetResourceString( "PrivilegeNotHeld_Default" )) 23: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege )) 29: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege ), inner )
system\security\accesscontrol\registrysecurity.cs (1)
173exception = new ArgumentException(Environment.GetResourceString("AccessControl_InvalidHandle"));
system\security\accesscontrol\rules.cs (5)
45Environment.GetResourceString( "Argument_ArgumentZero" ), 67Environment.GetResourceString("Arg_MustBeIdentityReferenceType"), 143Environment.GetResourceString( "ArgumentOutOfRange_Enum" )); 258Environment.GetResourceString( "Arg_EnumAtLeastOneFlag" ), 265Environment.GetResourceString( "ArgumentOutOfRange_Enum" ));
system\security\accesscontrol\securitydescriptor.cs (16)
271Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 278Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 495Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 506Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 516Environment.GetResourceString( "AccessControl_InvalidSecurityDescriptorRevision" )); 545Environment.GetResourceString( "AccessControl_InvalidSecurityDescriptorSelfRelativeForm" ), 663Environment.GetResourceString( "ArgumentException_InvalidSDSddlForm" ), 673Environment.GetResourceString( "AccessControl_InvalidSidInSDDLString" ), 852Environment.GetResourceString( isContainer ? 862Environment.GetResourceString( isContainer ? 874Environment.GetResourceString( isDS ? 884Environment.GetResourceString( isDS ? 1080Environment.GetResourceString( this.IsContainer ? 1089Environment.GetResourceString(this.IsDS ? 1129Environment.GetResourceString( this.IsContainer ? 1138Environment.GetResourceString( this.IsDS ?
system\security\accesscontrol\win32.cs (3)
149Environment.GetResourceString( "Argument_InvalidSafeHandle" ), 169throw new InvalidOperationException(Environment.GetResourceString( "InvalidOperation_NoSecurityDescriptor" )); 327Environment.GetResourceString( "Argument_InvalidSafeHandle" ),
system\security\builtinpermissionsets.cs (7)
28Description = """ + Environment.GetResourceString("Policy_PS_Everything") + @""" 95Description = """ + Environment.GetResourceString("Policy_PS_Execution") + @"""> 106Description = """ + Environment.GetResourceString("Policy_PS_FullTrust") + @""" />"; 112Description = """ + Environment.GetResourceString("Policy_PS_Internet") + @"""> 136Description = """ + Environment.GetResourceString("Policy_PS_LocalIntranet") + @""" > 173Description = """ + Environment.GetResourceString("Policy_PS_Nothing") + @""" />"; 179Description = """ + Environment.GetResourceString("Policy_PS_SkipVerification") + @""">
system\security\claims\ClaimsIdentity.cs (3)
329throw new InvalidOperationException(Environment.GetResourceString("InvalidOperationException_ActorGraphCircular")); 476throw new InvalidOperationException(Environment.GetResourceString("InvalidOperationException_ActorGraphCircular")); 619throw new InvalidOperationException(Environment.GetResourceString("InvalidOperationException_ActorGraphCircular"));
system\security\claims\ClaimsPrincipal.cs (1)
416throw new SerializationException(Environment.GetResourceString("Serialization_CorruptedStream"));
system\security\codeaccesspermission.cs (3)
163throw new NotSupportedException(Environment.GetResourceString( "NotSupported_SecurityPermissionUnion" )); 186throw new ArgumentException( Environment.GetResourceString( "Argument_NotAPermissionElement")); 191throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidXMLBadVersion") );
system\security\codeaccesssecurityengine.cs (9)
628System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 633throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 646throw new NotSupportedException(Environment.GetResourceString("NotSupported_CasDeny")); 656System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 661throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 676System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 681throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 749throw new PolicyException(Environment.GetResourceString("Policy_NoExecutionPermission"), 796throw new PolicyException(Environment.GetResourceString("Policy_NoExecutionPermission"));
system\security\cryptography\asymmetricalgorithm.cs (1)
67throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\base64transforms.cs (15)
51if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 60if (tempBytes.Length != 4) throw new CryptographicException(Environment.GetResourceString( "Cryptography_SSE_InvalidDataSize" )); 68if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 146if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 152throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_Generic")); 190if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 196throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_Generic"));
system\security\cryptography\crypto.cs (1)
88: base(Environment.GetResourceString("Arg_CryptographyException")) {
system\security\cryptography\cryptoapitransform.cs (8)
115throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeyParameter"), "_rgArgIds[i]"); 204if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 244if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 257throw new CryptographicException(Environment.GetResourceString("Cryptography_SSD_InvalidDataSize"));
system\security\cryptography\cryptoconfig.cs (5)
546throw new ArgumentException(Environment.GetResourceString("Cryptography_AlgorithmTypesMustBeVisible"), "algorithm"); 558throw new ArgumentException(Environment.GetResourceString("Cryptography_AddNullOrEmptyName")); 703throw new ArgumentException(Environment.GetResourceString("Cryptography_AddNullOrEmptyName")); 769throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_InvalidOID")); 783throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_Config_EncodedOIDError"));
system\security\cryptography\cryptostream.cs (25)
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")); 93get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); } 97get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); } 98set { throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); } 119throw new NotSupportedException(Environment.GetResourceString("Cryptography_CryptoStream_FlushFinalBlockTwice")); 172throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); 176throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); 182throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 184throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 186throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 188throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 310throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream")); 312throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 314throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 316throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 494throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 496throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 498throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 500throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 574throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnwritableStream")); 576throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 578throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 580throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\des.cs (5)
57throw new ArgumentException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 60throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"DES"); 63throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_SemiWeak"),"DES"); 84throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 99throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\descryptoserviceprovider.cs (8)
23throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_AlgorithmNotAvailable")); 35throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"DES"); 37throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_SemiWeak"),"DES"); 45throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"DES"); 47throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_SemiWeak"),"DES"); 79throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_OFBNotSupported")); 82throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_CFBSizeNotSupported")); 111throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidIVSize"));
system\security\cryptography\dsa.cs (2)
275return new NotImplementedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 280return new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), "hashAlgorithm");
system\security\cryptography\dsacryptoserviceprovider.cs (2)
72throw new ArgumentOutOfRangeException("dwKeySize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 307throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NoPrivateKey"));
system\security\cryptography\dsasignaturedeformatter.cs (2)
52throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_InvalidOperation")); 63throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\dsasignatureformatter.cs (3)
52throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_InvalidOperation")); 61throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingOID")); 63throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\hashalgorithm.cs (10)
40throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_HashNotYetFinalized")); 96throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 98throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 100throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 138throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 140throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 142throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 161throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 163throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 165throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\hmac.cs (2)
97throw new CryptographicException(Environment.GetResourceString("Cryptography_HashKeySet")); 107throw new CryptographicException(Environment.GetResourceString("Cryptography_HashNameSet"));
system\security\cryptography\icspasymmetricalgorithm.cs (6)
82throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NotFound")); 106throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NotFound")); 124throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NotFound")); 142throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NotFound")); 175throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NotFound")); 197throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NotFound"));
system\security\cryptography\keyedhashalgorithm.cs (1)
39throw new CryptographicException(Environment.GetResourceString("Cryptography_HashKeySet"));
system\security\cryptography\mactripledes.cs (7)
88throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidPaddingMode")); 194get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); } 198get { throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); } 199set { throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); } 207throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); 211throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnseekableStream")); 215throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnreadableStream"));
system\security\cryptography\md5cryptoserviceprovider.cs (1)
31throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\passwordderivebytes.cs (6)
107throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 213throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 217throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm")); 220throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm")); 224throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidIV")); 299throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_TooManyBytes"));
system\security\cryptography\randomnumbergenerator.cs (3)
55if (offset < 0) throw new ArgumentOutOfRangeException("offset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 56if (count < 0) throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 57if (offset + count > data.Length) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen"));
system\security\cryptography\rc2.cs (4)
48throw new CryptographicException(Environment.GetResourceString("Cryptography_RC2_EKSKS")); 52throw new CryptographicException(Environment.GetResourceString("Cryptography_RC2_EKS40")); 57throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 65if (value < EffectiveKeySizeValue) throw new CryptographicException(Environment.GetResourceString("Cryptography_RC2_EKSKS"));
system\security\cryptography\rc2cryptoserviceprovider.cs (7)
40throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm")); 43throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_AlgorithmNotAvailable")); 63throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_RC2_EKSKS2")); 114throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_OFBNotSupported")); 117throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_CFBSizeNotSupported")); 127throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 159throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidIVSize"));
system\security\cryptography\rfc2898derivebytes.cs (10)
59throw new ArgumentOutOfRangeException("saltSize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 61throw new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), nameof(hashAlgorithm)); 100throw new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), nameof(hashAlgorithm)); 128throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 141throw new ArgumentException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_FewBytesSalt")); 154throw new ArgumentOutOfRangeException("cb", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum")); 255throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 259throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm")); 263throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidAlgorithm")); 267throw new CryptographicException(Environment.GetResourceString("Cryptography_PasswordDerivedBytes_InvalidIV"));
system\security\cryptography\rijndaelmanaged.cs (1)
29throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\rijndaelmanagedtransform.cs (23)
116throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidCipherMode")); 126throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidIVSize")); 244if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 312if (inputOffset < 0) throw new ArgumentOutOfRangeException("inputOffset", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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")); 332throw new CryptographicException(Environment.GetResourceString("Cryptography_SSD_InvalidDataSize")); 393throw new CryptographicException(Environment.GetResourceString("Cryptography_InsufficientBuffer")); 406throw new CryptographicException(Environment.GetResourceString("Cryptography_SSE_InvalidDataSize")); 462throw new CryptographicException(Environment.GetResourceString("Cryptography_InsufficientBuffer")); 594throw new CryptographicException(Environment.GetResourceString("Cryptography_InsufficientBuffer")); 601throw new CryptographicException(Environment.GetResourceString("Cryptography_InsufficientBuffer")); 714throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 717throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 720throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 727throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 730throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 734throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 740throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 743throw new CryptographicException(Environment.GetResourceString("Cryptography_PKCS7_InvalidPadding")); 868throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize"));
system\security\cryptography\ripemd160managed.cs (1)
41throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\rsa.cs (4)
202return new NotImplementedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 206return new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), "hashAlgorithm"); 231throw new NotSupportedException(Environment.GetResourceString("NotSupported_Method")); 236throw new NotSupportedException(Environment.GetResourceString("NotSupported_Method"));
system\security\cryptography\rsacryptoserviceprovider.cs (5)
112throw new ArgumentOutOfRangeException("dwKeySize", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 344throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_NoPrivateKey")); 444throw new NotSupportedException(Environment.GetResourceString("NotSupported_Method")); 448throw new NotSupportedException(Environment.GetResourceString("NotSupported_Method")); 643return new CryptographicException(Environment.GetResourceString("Cryptography_InvalidPaddingMode"));
system\security\cryptography\RSAEncryptionPadding.cs (1)
62throw new ArgumentException(Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), "hashAlgorithm");
system\security\cryptography\rsaoaepkeyexchangedeformatter.cs (1)
44throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\rsaoaepkeyexchangeformatter.cs (1)
74throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\rsapkcs1keyexchangedeformatter.cs (2)
48throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey")); 72throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_PKCS1Decoding"));
system\security\cryptography\rsapkcs1keyexchangeformatter.cs (1)
59throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\rsapkcs1signaturedeformatter.cs (2)
69throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingOID")); 71throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\rsapkcs1signatureformatter.cs (2)
60throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingOID")); 62throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_MissingKey"));
system\security\cryptography\sha1managed.cs (1)
43throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha256managed.cs (1)
45throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha384managed.cs (1)
43throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha512managed.cs (1)
35throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\symmetricalgorithm.cs (7)
104throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidBlockSize")); 112throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidFeedbackSize")); 127throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidIVSize")); 142throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 162throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 173throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidCipherMode")); 183throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidPaddingMode"));
system\security\cryptography\tripledes.cs (7)
56throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 59throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"TripleDES"); 82throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKeySize")); 95if (start1 < 0) throw new ArgumentOutOfRangeException("start1", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 96if (start2 < 0) throw new ArgumentOutOfRangeException("start2", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 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\tripledescryptoserviceprovider.cs (6)
23throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_AlgorithmNotAvailable")); 35throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"TripleDES"); 42throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidKey_Weak"),"TripleDES"); 75throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_OFBNotSupported")); 78throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_CFBSizeNotSupported")); 107throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidIVSize"));
system\security\cryptography\utils.cs (14)
269throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoSecurityDescriptor")); 328throw new NotSupportedException(Environment.GetResourceString("AccessControl_InvalidHandle")); 412throw new CryptographicException(Environment.GetResourceString("Cryptography_CSP_WrongKeySpec")); 479throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag")); 486throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NotInteractive")); 594throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 621throw new ArgumentException(Environment.GetResourceString("Argument_InvalidValue")); 812throw new CryptographicException(String.Format(null, Environment.GetResourceString("Cryptography_Padding_EncDataTooBig"), cb-2-2*cbHash)); 867throw new CryptographicException(Environment.GetResourceString("Cryptography_OAEPDecoding")); 877throw new CryptographicException(Environment.GetResourceString("Cryptography_OAEPDecoding")); 911throw new CryptographicException(Environment.GetResourceString("Cryptography_OAEPDecoding")); 919throw new CryptographicException(Environment.GetResourceString("Cryptography_OAEPDecoding")); 923throw new CryptographicException(Environment.GetResourceString("Cryptography_OAEPDecoding")); 971throw new CryptographicUnexpectedOperationException(Environment.GetResourceString("Cryptography_InvalidOID"));
system\security\cryptography\x509certificates\x509certificate.cs (6)
191throw new ArgumentException(Environment.GetResourceString("Arg_InvalidHandle"), "handle"); 331Environment.GetResourceString("Cryptography_HashAlgorithmNameNullOrEmpty"), 675throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidHandle"), "m_safeCertContext"); 757throw new CryptographicException(Environment.GetResourceString("Cryptography_X509_InvalidContentType")); 776throw new CryptographicException(Environment.GetResourceString("Cryptography_X509_ExportFailed")); 786throw new ArgumentException(Environment.GetResourceString("Arg_EmptyOrNullArray"), "rawData");
system\security\cryptography\x509certificates\x509utils.cs (2)
222throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidOID")); 264throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "keyStorageFlags");
system\security\framesecuritydescriptor.cs (6)
332throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 347throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 360throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 372throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 492throw new SecurityException(Environment.GetResourceString("Security_GenericNoType"), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demandSet, permFailed); 516throw new SecurityException(Environment.GetResourceString("Security_GenericNoType"), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demandSet, permFailed);
system\security\hostprotectionexception.cs (1)
106sb.Append(Environment.GetResourceString( resourceString ));
system\security\hostsecuritymanager.cs (4)
68throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 111throw new ArgumentException(Environment.GetResourceString("Policy_MissingActivationContextInAppEvidence")); 115throw new ArgumentException(Environment.GetResourceString("Policy_MissingActivationContextInAppEvidence")); 149throw new InvalidOperationException(Environment.GetResourceString("Policy_AppTrustMustGrantAppRequest"));
system\security\namedpermissionset.cs (2)
100throw new ArgumentException( Environment.GetResourceString( "Argument_NPMSInvalidName" )); 109m_description = Environment.GetResourceString(m_descrResource);
system\security\permissionlistset.cs (1)
350throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic")));
system\security\permissions\environmentpermission.cs (3)
89throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 173throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") ); 178throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") );
system\security\permissions\filedialogpermission.cs (1)
51throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\fileiopermission.cs (7)
66throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 211throw new ArgumentException(Environment.GetResourceString("Argument_EmptyPath")); 542throw new ArgumentException(Environment.GetResourceString("Arg_EnumNotSingleFlag")); 547throw new ArgumentException(Environment.GetResourceString("Arg_EnumNotSingleFlag")); 560throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 1105throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars")); 1110throw new NotSupportedException(Environment.GetResourceString("Argument_PathFormatNotSupported"));
system\security\permissions\gacidentitypermission.cs (1)
54throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\hostprotectionpermission.cs (2)
76throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag")); 176throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\isolatedstoragepermission.cs (1)
88throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\keycontainerpermission.cs (11)
91throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 110throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 126throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 139throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 155throw new ArgumentException(Environment.GetResourceString("Arg_InvalidAccessEntry")); 239throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumNotStarted")); 241throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 303throw new ArgumentException(Environment.GetResourceString("Arg_RankMultiDimNotSupported")); 305throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 307throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); 382throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\permissionattributes.cs (6)
166get { throw new NotSupportedException( Environment.GetResourceString( "NotSupported_GetMethod" ) ); } 286get { throw new NotSupportedException( Environment.GetResourceString( "NotSupported_GetMethod" ) ); } 291get { throw new NotSupportedException( Environment.GetResourceString( "NotSupported_GetMethod" ) ); } 563get { throw new NotSupportedException( Environment.GetResourceString( "NotSupported_GetMethod" ) ); } 569get { throw new NotSupportedException( Environment.GetResourceString( "NotSupported_GetMethod" ) ); } 827throw new ArgumentException( Environment.GetResourceString("ArgumentNull_Key"));
system\security\permissions\principalpermission.cs (2)
145throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 457throw new SecurityException(Environment.GetResourceString("Security_PrincipalPermission"), name, null, null, null, SecurityAction.Demand, this, this, evid);
system\security\permissions\publisheridentitypermission.cs (3)
53throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 83throw new NotSupportedException(Environment.GetResourceString("NotSupported_AmbiguousIdentity")); 103throw new ArgumentException(Environment.GetResourceString("Argument_UninitializedCertificate"));
system\security\permissions\reflectionpermission.cs (1)
71throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\registrypermission.cs (3)
61throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 208throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") ); 213throw new ArgumentException( Environment.GetResourceString("Arg_EnumNotSingleFlag") );
system\security\permissions\securitypermission.cs (1)
81throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\siteidentitypermission.cs (2)
106throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 136throw new NotSupportedException(Environment.GetResourceString("NotSupported_AmbiguousIdentity"));
system\security\permissions\strongnameidentitypermission.cs (6)
138throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 147throw new ArgumentException( Environment.GetResourceString( "Argument_EmptyStrongName" ) ); 183throw new NotSupportedException(Environment.GetResourceString("NotSupported_AmbiguousIdentity")); 193throw new ArgumentException( Environment.GetResourceString("Argument_EmptyName" )); 210throw new NotSupportedException(Environment.GetResourceString("NotSupported_AmbiguousIdentity")); 234throw new NotSupportedException(Environment.GetResourceString("NotSupported_AmbiguousIdentity"));
system\security\permissions\uipermission.cs (1)
90throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState"));
system\security\permissions\urlidentitypermission.cs (2)
109throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 167throw new NotSupportedException(Environment.GetResourceString("NotSupported_AmbiguousIdentity"));
system\security\permissions\zoneidentitypermission.cs (2)
115throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPermissionState")); 191throw new ArgumentException( Environment.GetResourceString("Argument_IllegalZone") );
system\security\permissionset.cs (7)
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")); 2395throw new NotSupportedException( Environment.GetResourceString( "NotSupported_DeclarativeUnion" ) ); 2404throw new NotSupportedException( Environment.GetResourceString( "NotSupported_DeclarativeUnion" ) ); 2437throw new ArgumentException( Environment.GetResourceString( "Argument_UnableToGeneratePermissionSet" ) );
system\security\policy\allmembershipcondition.cs (2)
49return Environment.GetResourceString( "All_ToString" ); 82throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) );
system\security\policy\applicationdirectorymembershipcondition.cs (2)
121throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 137return Environment.GetResourceString( "ApplicationDirectory_ToString" );
system\security\policy\applicationsecuritymanager.cs (1)
80throw new PolicyException(Environment.GetResourceString("Policy_NoTrustManager"));
system\security\policy\applicationtrust.cs (10)
97throw new ArgumentException(Environment.GetResourceString("Argument_NullFullTrustAssembly")); 126throw new ArgumentNullException(Environment.GetResourceString("Argument_InvalidAppId")); 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")); 622throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 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 (6)
360throw new ArgumentException(Environment.GetResourceString("Policy_EvidenceMustBeSerializable"), "id"); 382throw new ArgumentException(Environment.GetResourceString("Policy_EvidenceMustBeSerializable"), "id"); 1635throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 1646throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 1750throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 1781throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion"));
system\security\policy\evidencebase.cs (1)
40throw new InvalidOperationException(Environment.GetResourceString("Policy_EvidenceMustBeSerializable"));
system\security\policy\filecodegroup.cs (1)
162return Environment.GetResourceString("MergeLogic_Union");
system\security\policy\firstmatchcodegroup.cs (1)
175return Environment.GetResourceString( "MergeLogic_FirstMatch" );
system\security\policy\gacmembershipcondition.cs (2)
86throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 105return Environment.GetResourceString( "GAC_ToString" );
system\security\policy\hash.cs (3)
94throw new ArgumentException(Environment.GetResourceString("Security_CannotGenerateHash"), "assembly"); 100throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeAssembly"), "assembly"); 318throw new InvalidOperationException(Environment.GetResourceString("Security_CannotGenerateHash"));
system\security\policy\hashmembershipcondition.cs (1)
188throw new ArgumentException(Environment.GetResourceString("Argument_MembershipConditionElement"));
system\security\policy\netcodegroup.cs (2)
750return Environment.GetResourceString( "MergeLogic_Union" ); 758return Environment.GetResourceString( "NetCodeGroup_PermissionSet" );
system\security\policy\policyexception.cs (1)
23: base(Environment.GetResourceString( "Policy_Default" )) {
system\security\policy\policylevel.cs (45)
101if(m_label.Equals(Environment.GetResourceString("Policy_PL_User"))) 103else if(m_label.Equals(Environment.GetResourceString("Policy_PL_Machine"))) 105else if(m_label.Equals(Environment.GetResourceString("Policy_PL_Enterprise"))) 107else if(m_label.Equals(Environment.GetResourceString("Policy_PL_AppDomain"))) 110throw new ArgumentException(Environment.GetResourceString("Policy_Default")); 116return Environment.GetResourceString("Policy_PL_User"); 118return Environment.GetResourceString("Policy_PL_Machine"); 120return Environment.GetResourceString("Policy_PL_Enterprise"); 122return Environment.GetResourceString("Policy_PL_AppDomain"); 283throw new ArgumentException(Environment.GetResourceString("Argument_AssemblyAlreadyFullTrust")); 320throw new ArgumentException(Environment.GetResourceString("Argument_AssemblyNotFullTrust")); 349throw new ArgumentException(Environment.GetResourceString("Argument_DuplicateName")); 396throw new ArgumentException(Environment.GetResourceString("Argument_NoNPMS")); 445throw new ArgumentException(Environment.GetResourceString("Argument_NoNPMS")); 484throw new PolicyException(Environment.GetResourceString("Policy_RecoverNotFileBased")); 489throw new PolicyException(Environment.GetResourceString("Policy_RecoverNoConfigFile")); 973group.Name = Environment.GetResourceString("Policy_AllCode_Name"); 974group.Description = Environment.GetResourceString("Policy_AllCode_DescriptionFullTrust"); 982root.Name = Environment.GetResourceString("Policy_AllCode_Name"); 983root.Description = Environment.GetResourceString("Policy_AllCode_DescriptionNothing"); 987myComputerCodeGroup.Name = Environment.GetResourceString("Policy_MyComputer_Name"); 988myComputerCodeGroup.Description = Environment.GetResourceString("Policy_MyComputer_Description"); 994microsoft.Name = Environment.GetResourceString("Policy_Microsoft_Name"); 995microsoft.Description = Environment.GetResourceString("Policy_Microsoft_Description"); 1003ecma.Name = Environment.GetResourceString("Policy_Ecma_Name"); 1004ecma.Description = Environment.GetResourceString("Policy_Ecma_Description"); 1012intranet.Name = Environment.GetResourceString("Policy_Intranet_Name"); 1013intranet.Description = Environment.GetResourceString("Policy_Intranet_Description"); 1016intranetNetCode.Name = Environment.GetResourceString("Policy_IntranetNet_Name"); 1017intranetNetCode.Description = Environment.GetResourceString("Policy_IntranetNet_Description"); 1021intranetFileCode.Name = Environment.GetResourceString("Policy_IntranetFile_Name"); 1022intranetFileCode.Description = Environment.GetResourceString("Policy_IntranetFile_Description"); 1029internet.Name = Environment.GetResourceString("Policy_Internet_Name"); 1030internet.Description = Environment.GetResourceString("Policy_Internet_Description"); 1033internetNet.Name = Environment.GetResourceString("Policy_InternetNet_Name"); 1034internetNet.Description = Environment.GetResourceString("Policy_InternetNet_Description"); 1041untrusted.Name = Environment.GetResourceString("Policy_Untrusted_Name"); 1042untrusted.Description = Environment.GetResourceString("Policy_Untrusted_Description"); 1047trusted.Name = Environment.GetResourceString("Policy_Trusted_Name"); 1048trusted.Description = Environment.GetResourceString("Policy_Trusted_Description"); 1050trustedNet.Name = Environment.GetResourceString("Policy_TrustedNet_Name"); 1051trustedNet.Description = Environment.GetResourceString("Policy_TrustedNet_Description"); 1234throw new PolicyException(Environment.GetResourceString("Policy_NonFullTrustAssembly")); 1276throw new PolicyException(Environment.GetResourceString("Policy_MultipleExclusive")); 1417throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyStack"));
system\security\policy\policystatement.cs (6)
198throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidFlag" ) ); 254throw new PolicyException(Environment.GetResourceString( "Policy_MultipleExclusive" )); 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 (4)
94return Environment.GetResourceString( "Publisher_ToString" ); 99return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Publisher_ToStringArg" ), System.Security.Util.Hex.EncodeHexString( m_certificate.GetPublicKey() ) ); 101return Environment.GetResourceString( "Publisher_ToString" ); 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 (4)
169throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 189throw new ArgumentException( Environment.GetResourceString( "Argument_SiteCannotBeNull" ) ); 236return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Site_ToStringArg" ), m_site ); 238return Environment.GetResourceString( "Site_ToString" );
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 (7)
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" ) ); 323sName = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Name" ), Name ); 326sVersion = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Version" ), Version ); 328return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_ToString" ), System.Security.Util.Hex.EncodeHexString( PublicKey.PublicKey ), sName, sVersion );
system\security\policy\unioncodegroup.cs (1)
166return Environment.GetResourceString( "MergeLogic_Union" );
system\security\policy\urlmembershipcondition.cs (7)
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")); 248return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Url_ToStringArg" ), m_url.ToString() ); 250return Environment.GetResourceString( "Url_ToString" );
system\security\policy\zone.cs (1)
40throw new ArgumentException( Environment.GetResourceString( "Argument_IllegalZone" ) );
system\security\policy\zonemembershipcondition.cs (4)
98throw new ArgumentException( Environment.GetResourceString( "Argument_IllegalZone" ) ); 184throw new ArgumentException( Environment.GetResourceString( "Argument_MembershipConditionElement" ) ); 211throw new ArgumentException( Environment.GetResourceString( "Argument_ZoneCannotBeNull" ) ); 251return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Zone_ToString" ), s_names[(int)m_zone] );
system\security\policymanager.cs (4)
255EncodeLevel(Environment.GetResourceString("Policy_PL_Enterprise")); 256EncodeLevel(Environment.GetResourceString("Policy_PL_Machine")); 257EncodeLevel(Environment.GetResourceString("Policy_PL_User")); 285Environment.GetResourceString("Policy_SaveNotFileBased"));
system\security\principal\identitynotmappedexception.cs (1)
26: base( Environment.GetResourceString( "IdentityReference_IdentityNotMapped" ))
system\security\principal\ircollection.cs (2)
175throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" ); 343throw new IdentityNotMappedException( Environment.GetResourceString("IdentityReference_IdentityNotMapped"), Result);
system\security\principal\ntaccount.cs (10)
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" ); 195throw new IdentityNotMappedException(Environment.GetResourceString("IdentityReference_IdentityNotMapped"), UnmappedIdentities); 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 (16)
223Environment.GetResourceString( "IdentityReference_IdentifierAuthorityTooLarge" )); 298Environment.GetResourceString( "ArgumentOutOfRange_NeedNonNegNum" )); 309Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" )); 327Environment.GetResourceString( "IdentityReference_InvalidSidRevision" ), 351Environment.GetResourceString( "ArgumentOutOfRange_ArrayTooSmall" ), 416throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidValue" ), "sddlForm" ); 473throw new ArgumentException(Environment.GetResourceString("IdentityReference_CannotCreateLogonIdsSid"), "sidType"); 484throw new PlatformNotSupportedException( Environment.GetResourceString( "PlatformNotSupported_RequiresW2kSP3" )); 493throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidValue" ), "sidType" ); 522throw new ArgumentException( Environment.GetResourceString( "IdentityReference_NotAWindowsDomain" ), "domainSid" ); 535throw new ArgumentException( Environment.GetResourceString( "IdentityReference_NotAWindowsDomain" ), "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" ); 1100throw new IdentityNotMappedException(Environment.GetResourceString("IdentityReference_IdentityNotMapped"), UnmappedIdentities); 1121throw new ArgumentException( Environment.GetResourceString( "IdentityReference_MustBeIdentityReference" ), "targetType" );
system\security\principal\win32.cs (7)
61throw new SystemException( Environment.GetResourceString( "InvalidOperation_GetVersion" )); 88throw new SystemException( Environment.GetResourceString( "InvalidOperation_GetVersion" )); 170throw new ArgumentException(Environment.GetResourceString( "IdentityReference_InvalidSidRevision" ), "binaryForm"); 261throw new PlatformNotSupportedException( Environment.GetResourceString( "PlatformNotSupported_RequiresW2kSP3" )); 295throw new PlatformNotSupportedException( Environment.GetResourceString( "PlatformNotSupported_RequiresW2kSP3" )); 374throw new PlatformNotSupportedException( Environment.GetResourceString( "PlatformNotSupported_RequiresW2kSP3" )); 415throw new PlatformNotSupportedException( Environment.GetResourceString( "PlatformNotSupported_RequiresW2kSP3" ));
system\security\principal\windowsidentity.cs (6)
171throw new ArgumentException(Environment.GetResourceString("Argument_TokenZero")); 179throw new ArgumentException(Environment.GetResourceString("Argument_InvalidImpersonationToken")); 682throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AnonymousCannotImpersonate")); 740throw new SecurityException(Environment.GetResourceString( "ExecutionEngine_MissingSecurityDescriptor" ) ); 759throw new SecurityException(Environment.GetResourceString("Argument_ImpersonateUser")); 968throw new ArgumentException(Environment.GetResourceString("Argument_InvalidImpersonationToken"));
system\security\principal\windowsimpersonationcontext.cs (2)
44throw new ArgumentException(Environment.GetResourceString("Argument_InvalidImpersonationToken")); 126Environment.FailFast(Environment.GetResourceString("ExecutionContext_UndoFailed"), ex);
system\security\readonlypermissionset.cs (4)
98throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet")); 112throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet")); 118throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet")); 123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet"));
system\security\securestring.cs (8)
110throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 114throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_Length")); 193throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexString")); 252throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexString")); 291throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexString")); 334throw new NotSupportedException(Environment.GetResourceString("Arg_PlatformSecureString")); 342throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_Capacity")); 371throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\security\securitycontext.cs (8)
93Environment.FailFast(Environment.GetResourceString("ExecutionContext_UndoFailed"), ex); 142System.Environment.FailFast(Environment.GetResourceString("ExecutionContext_UndoFailed")); 152System.Environment.FailFast(Environment.GetResourceString("ExecutionContext_UndoFailed")); 294throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotSupressFlowMultipleTimes")); 311throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRestoreUnsupressedFlow")); 343throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullContext")); 351throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext")); 509throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext"));
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\securityexception.cs (1)
72return Environment.GetResourceString(sResourceName);
system\security\securitymanager.cs (17)
173throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 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" ) ); 247throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 263throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 275throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 292throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 356throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 373throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 385throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 398throw new NotSupportedException(Environment.GetResourceString("NotSupported_RequiresCasPolicyExplicit")); 489throw new PolicyException(Environment.GetResourceString("Policy_NoExecutionPermission"), 503throw new PolicyException(Environment.GetResourceString( "Policy_NoRequiredPermission" ),
system\security\securityruntime.cs (15)
99throw new SecurityException(Environment.GetResourceString("Security_AnonymouslyHostedDynamicMethodCheckFailed"), ex); 119throw new SecurityException(Environment.GetResourceString("Security_AnonymouslyHostedDynamicMethodCheckFailed"), ex); 144System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 149throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 165System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 170throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 183throw new NotSupportedException(Environment.GetResourceString("NotSupported_CasDeny")); 194System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 199throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 215System.Environment.FailFast(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 220throw new SecurityException( Environment.GetResourceString( "Security_MustRevertOverride" ) ); 240throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 254throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 268throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 282throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor"));
system\security\util\hex.cs (2)
73throw new ArgumentException( Environment.GetResourceString( "ArgumentOutOfRange_Index" ) ); 100throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidHexFormat" ) );
system\security\util\parser.cs (8)
149throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_UnexpectedEndOfFile" )); 156throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_ExpectedCloseBracket" )); 243throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_ExpectedSlashOrString" )); 259throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_UnexpectedCloseBracket" )); 278throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_ExpectedCloseBracket" )); 298throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_ExpectedCloseBracket" )); 335throw new XmlSyntaxException( _t.LineNo, Environment.GetResourceString( "XMLSyntax_UnexpectedEndOfFile" )); 383throw new XmlSyntaxException (_t.LineNo, Environment.GetResourceString( "XMLSyntax_UnexpectedEndOfFile" ));
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 (4)
174throw new ArgumentException( Environment.GetResourceString( "Argument_AbsolutePathRequired" ) ); 246throw new ArgumentException(Environment.GetResourceString("Argument_AbsolutePathRequired")); 339throw new ArgumentException( Environment.GetResourceString( "Argument_AbsolutePathRequired" ) ); 780throw new NotSupportedException(Environment.GetResourceString("Argument_PathFormatNotSupported"));
system\security\util\tokenbasedset.cs (2)
404throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState")); 421throw new SerializationException(Environment.GetResourceString("Serialization_InsufficientState"));
system\security\util\tokenizer.cs (2)
376throw new XmlSyntaxException (LineNo, Environment.GetResourceString( "XMLSyntax_UnexpectedEndOfFile" )); 391throw new XmlSyntaxException (LineNo, Environment.GetResourceString( "XMLSyntax_UnexpectedEndOfFile" ));
system\security\util\urlstring.cs (22)
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" ) ); 463throw new PathTooLongException(Environment.GetResourceString("IO.PathTooLong")); 513throw new ArgumentException( Environment.GetResourceString( "Argument_InvalidUrl" ) ); 624throw new FormatException(Environment.GetResourceString("Format_StringZeroLength")); 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\security\verificationexception.cs (1)
17: base(Environment.GetResourceString("Verification_Exception")) {
system\security\xmlsyntaxexception.cs (3)
19: base (Environment.GetResourceString( "XMLSyntax_InvalidSyntax" )) 40: base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) 47: base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) )
system\single.cs (1)
101throw new ArgumentException (Environment.GetResourceString("Arg_MustBeSingle"));
system\stackoverflowexception.cs (1)
24: base(Environment.GetResourceString("Arg_StackOverflowException")) {
system\string.cs (61)
210throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 212throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 215throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 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"); 735throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 737throw new ArgumentOutOfRangeException("sourceIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 739throw new ArgumentOutOfRangeException("sourceIndex", Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 741throw new ArgumentOutOfRangeException("destinationIndex", Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 776throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 778throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1014Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 1058Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 1274throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 1278throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndexLargerThanLength")); 1282throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 1286throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_IndexLength")); 1376throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1378throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 1381throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_PartialWCHAR")); 1393Environment.GetResourceString("ArgumentOutOfRange_PartialWCHAR")); 1466throw new ArgumentException(Environment.GetResourceString("Interop_Marshal_Unmappable_Char")); 1600throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 1603throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 1606throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1705throw new ArgumentException(Environment.GetResourceString("Arg_MustBeStringPtrNotAtom")); 1721throw new ArgumentOutOfRangeException("ptr", Environment.GetResourceString("ArgumentOutOfRange_PartialWCHAR")); 1729throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 1733throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 1741throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_PartialWCHAR")); 1755throw new ArgumentOutOfRangeException("ptr", Environment.GetResourceString("ArgumentOutOfRange_PartialWCHAR")); 1804throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 1852throw new NotSupportedException(Environment.GetResourceString("NotSupported_StringComparison")); 2011throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2026Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 2031Environment.GetResourceString("ArgumentOutOfRange_Index")); 2036Environment.GetResourceString("ArgumentOutOfRange_Index")); 2041Environment.GetResourceString("ArgumentOutOfRange_Index")); 2046Environment.GetResourceString("ArgumentOutOfRange_Index")); 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"); 2327throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2331throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 2356throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2359throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 2385throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2453throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 2483throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 2499throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Count")); 2523throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2575throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2614throw new ArgumentException(Environment.GetResourceString("NotSupported_StringComparison"), "comparisonType"); 2914Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 2917Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 2920Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 2946Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 2951Environment.GetResourceString("ArgumentOutOfRange_StartIndexLessThanLength"));
system\stringcomparer.cs (1)
94throw new ArgumentException(Environment.GetResourceString("Argument_ImplementIComparable"));
system\stubhelpers.cs (14)
550throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 571throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 591throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1061throw new ArgumentException(Environment.GetResourceString("Arg_NDirectBadObject")); 1244throw new ArgumentException(Environment.GetResourceString("Arg_MarshalAsAnyRestriction")); 1276throw new ArgumentException(Environment.GetResourceString("Arg_NDirectBadObject")); 1411throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1455throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1476throw new ArgumentException(Environment.GetResourceString("Argument_Unexpected_TypeSource")); 1500throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1516throw new PlatformNotSupportedException(Environment.GetResourceString("PlatformNotSupported_WinRT")); 1775throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_SafeHandle")); 1791throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_SafeHandle")); 1889throw new MarshalDirectiveException(Environment.GetResourceString("Marshaler_StringTooLong"));
system\systemexception.cs (1)
15: base(Environment.GetResourceString("Arg_SystemException")) {
system\text\asciiencoding.cs (33)
65Environment.GetResourceString("ArgumentNull_Array")); 69Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 73Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 114Environment.GetResourceString("ArgumentNull_Array")); 118Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 136Environment.GetResourceString("ArgumentNull_Array")); 140Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 144Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 148Environment.GetResourceString("ArgumentOutOfRange_Index")); 184Environment.GetResourceString("ArgumentNull_Array")); 188Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 192Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 196Environment.GetResourceString("ArgumentOutOfRange_Index")); 229Environment.GetResourceString("ArgumentNull_Array")); 233Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 253Environment.GetResourceString("ArgumentNull_Array")); 257Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 261Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 285Environment.GetResourceString("ArgumentNull_Array")); 289Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 307Environment.GetResourceString("ArgumentNull_Array")); 311Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 315Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 319Environment.GetResourceString("ArgumentOutOfRange_Index")); 352Environment.GetResourceString("ArgumentNull_Array")); 356Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 376Environment.GetResourceString("ArgumentNull_Array")); 380Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 385Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 962Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 974throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 983Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 994throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\basecodepageencoding.cs (1)
285Environment.GetResourceString("Arg_OutOfMemoryException"));
system\text\codepageencoding.cs (2)
103throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException")); 139throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\dbcscodepageencoding.cs (5)
146Environment.GetResourceString("Arg_OutOfMemoryException")); 1134Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1147throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 1156Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1167throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\decoder.cs (14)
59Environment.GetResourceString("Argument_FallbackBufferNotEmpty"), "value"); 136Environment.GetResourceString("ArgumentNull_Array")); 140Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 202Environment.GetResourceString("ArgumentNull_Array")); 206Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 262Environment.GetResourceString("ArgumentNull_Array")); 266Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 270Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 274Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 278Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 300throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow")); 321Environment.GetResourceString("ArgumentNull_Array")); 325Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 348throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow"));
system\text\decoderexceptionfallback.cs (1)
114: base(Environment.GetResourceString("Arg_ArgumentException"))
system\text\decoderfallback.cs (6)
175throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 182throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 198throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 236throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 243throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex")); 253throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex"));
system\text\decodernls.cs (19)
42Environment.GetResourceString("NotSupported_TypeCannotDeserialized"), this.GetType())); 89Environment.GetResourceString("ArgumentNull_Array")); 93Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 97Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 116Environment.GetResourceString("ArgumentNull_Array")); 120Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 144Environment.GetResourceString("ArgumentNull_Array")); 148Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 152Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 156Environment.GetResourceString("ArgumentOutOfRange_Index")); 183Environment.GetResourceString("ArgumentNull_Array")); 187Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 208Environment.GetResourceString("ArgumentNull_Array")); 212Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 216Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 220Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 224Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 255Environment.GetResourceString("ArgumentNull_Array")); 259Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\text\encoder.cs (14)
59Environment.GetResourceString("Argument_FallbackBufferNotEmpty"), "value"); 132Environment.GetResourceString("ArgumentNull_Array")); 136Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 195Environment.GetResourceString("ArgumentNull_Array")); 199Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 254Environment.GetResourceString("ArgumentNull_Array")); 258Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 262Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 266Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 270Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 294throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow")); 314Environment.GetResourceString("ArgumentNull_Array")); 317Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 340throw new ArgumentException(Environment.GetResourceString("Argument_ConversionOverflow"));
system\text\encoderexceptionfallback.cs (1)
117: base(Environment.GetResourceString("Arg_ArgumentException"))
system\text\encodernls.cs (19)
45Environment.GetResourceString("NotSupported_TypeCannotDeserialized"), this.GetType())); 89Environment.GetResourceString("ArgumentNull_Array")); 93Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 97Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 119Environment.GetResourceString("ArgumentNull_Array")); 123Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 138Environment.GetResourceString("ArgumentNull_Array")); 142Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 146Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 150Environment.GetResourceString("ArgumentOutOfRange_Index")); 175Environment.GetResourceString("ArgumentNull_Array")); 179Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 197Environment.GetResourceString("ArgumentNull_Array")); 201Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 205Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 209Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 213Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 244Environment.GetResourceString("ArgumentNull_Array")); 247Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
system\text\encoding.cs (22)
382Environment.GetResourceString("ArgumentNull_Array")); 386Environment.GetResourceString("ArgumentNull_Array")); 642throw new NotSupportedException(Environment.GetResourceString("NotSupported_CodePage50229")); 746return (Environment.GetResourceString("Globalization.cp_" + m_codePage)); 861throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 883throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 954Environment.GetResourceString("ArgumentNull_Array")); 992Environment.GetResourceString("ArgumentNull_Array")); 996Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1028Environment.GetResourceString("ArgumentNull_Array")); 1065Environment.GetResourceString("ArgumentNull_String")); 1119Environment.GetResourceString("ArgumentNull_Array")); 1123Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1166Environment.GetResourceString("ArgumentNull_Array")); 1189Environment.GetResourceString("ArgumentNull_Array")); 1193Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1222Environment.GetResourceString("ArgumentNull_Array")); 1279Environment.GetResourceString("ArgumentNull_Array")); 1283Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1334throw new ArgumentNullException("bytes", Environment.GetResourceString("ArgumentNull_Array")); 1337throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1487Environment.GetResourceString("ArgumentNull_Array"));
system\text\encodingnls.cs (29)
52Environment.GetResourceString("ArgumentNull_Array")); 56Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 60Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 97Environment.GetResourceString("ArgumentNull_Array")); 101Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 118Environment.GetResourceString("ArgumentNull_Array")); 122Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 126Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 130Environment.GetResourceString("ArgumentOutOfRange_Index")); 165Environment.GetResourceString("ArgumentNull_Array")); 169Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 173Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 177Environment.GetResourceString("ArgumentOutOfRange_Index")); 207Environment.GetResourceString("ArgumentNull_Array")); 211Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 230Environment.GetResourceString("ArgumentNull_Array")); 234Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 238Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 259Environment.GetResourceString("ArgumentNull_Array")); 263Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 280Environment.GetResourceString("ArgumentNull_Array")); 284Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 288Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 292Environment.GetResourceString("ArgumentOutOfRange_Index")); 322Environment.GetResourceString("ArgumentNull_Array")); 326Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 345Environment.GetResourceString("ArgumentNull_Array")); 349Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 353Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer"));
system\text\gb18030encoding.cs (4)
804Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 817throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 826Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 838throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\isciiencoding.cs (5)
92throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException")); 119Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 132throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 143Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 156throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\iso2022encoding.cs (5)
78throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException")); 1767Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1813throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 1822Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1851throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\latin1encoding.cs (4)
450Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 462throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 470Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 481throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
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 (7)
91Environment.GetResourceString("Argument_InvalidNormalizationForm")); 102Environment.GetResourceString("Argument_InvalidNormalizationForm")); 210Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex" ), 214Environment.GetResourceString("Arg_OutOfMemoryException")); 240Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex" ), 248Environment.GetResourceString("Arg_OutOfMemoryException")); 293Environment.GetResourceString("Arg_OutOfMemoryException"));
system\text\sbcscodepageencoding.cs (5)
106Environment.GetResourceString("Arg_OutOfMemoryException")); 897Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 909throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 917Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 928throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\stringbuilder.cs (56)
129throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 137throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_IndexLength")); 159throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_Capacity")); 162throw new ArgumentOutOfRangeException("maxCapacity", Environment.GetResourceString("ArgumentOutOfRange_SmallMaxCapacity")); 216throw new SerializationException(Environment.GetResourceString("Serialization_StringBuilderMaxCapacity")); 230throw new SerializationException(Environment.GetResourceString("Serialization_StringBuilderCapacity")); 290throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NegativeCapacity")); 293throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_Capacity")); 296throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 320throw new ArgumentOutOfRangeException("capacity", Environment.GetResourceString("ArgumentOutOfRange_NegativeCapacity")); 360throw new ArgumentOutOfRangeException("chunkLength", Environment.GetResourceString("ArgumentOutOfRange_Index")); 379throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 383throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndexLargerThanLength")); 387throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 391throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_IndexLength")); 435throw new ArgumentOutOfRangeException("chunkCount", Environment.GetResourceString("ArgumentOutOfRange_Index")); 464throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 468throw new ArgumentOutOfRangeException("value", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 542throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 548throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 556throw new ArgumentOutOfRangeException("repeatCount", Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 595throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 598throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 618throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Index")); 701throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 705throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 731throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 762throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("Arg_NegativeArgCount")); 771throw new ArgumentException(Environment.GetResourceString("ArgumentOutOfRange_OffsetOut")); 775throw new ArgumentOutOfRangeException("sourceIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 779throw new ArgumentException(Environment.GetResourceString("Arg_LongerThanSrcString")); 822throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 830throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 867throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_NegativeLength")); 871throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 875throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1039throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1116throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1136throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1145throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_String")); 1150throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_StartIndex")); 1154throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_GenericPositive")); 1158throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1319throw new FormatException(Environment.GetResourceString("Format_InvalidString")); 1377if (index >= args.Length) throw new FormatException(Environment.GetResourceString("Format_IndexOutOfRange")); 1542throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1546throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1554throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "oldValue"); 1628throw new ArgumentOutOfRangeException("startIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1632throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1669throw new ArgumentOutOfRangeException("valueCount", Environment.GetResourceString("ArgumentOutOfRange_NegativeCount")); 1710throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1860throw new ArgumentOutOfRangeException("destinationIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1878throw new ArgumentOutOfRangeException("sourceIndex", Environment.GetResourceString("ArgumentOutOfRange_Index")); 1970throw new ArgumentOutOfRangeException("requiredLength", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity")); 2031throw new ArgumentOutOfRangeException("requiredLength", Environment.GetResourceString("ArgumentOutOfRange_SmallCapacity"));
system\text\surrogateencoder.cs (1)
56throw new ArgumentException(Environment.GetResourceString("Arg_ExecutionEngineException"));
system\text\unicodeencoding.cs (34)
102Environment.GetResourceString("ArgumentNull_Array")); 106Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 110Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 151Environment.GetResourceString("ArgumentNull_Array")); 155Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 173Environment.GetResourceString("ArgumentNull_Array")); 177Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 181Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 185Environment.GetResourceString("ArgumentOutOfRange_Index")); 221Environment.GetResourceString("ArgumentNull_Array")); 225Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 229Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 233Environment.GetResourceString("ArgumentOutOfRange_Index")); 266Environment.GetResourceString("ArgumentNull_Array")); 270Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 290Environment.GetResourceString("ArgumentNull_Array")); 294Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 298Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 322Environment.GetResourceString("ArgumentNull_Array")); 326Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 344Environment.GetResourceString("ArgumentNull_Array")); 348Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 352Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 356Environment.GetResourceString("ArgumentOutOfRange_Index")); 389Environment.GetResourceString("ArgumentNull_Array")); 393Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 414Environment.GetResourceString("ArgumentNull_Array")); 418Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 422Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 450throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 1948Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1961throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 1971Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1985throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\utf32encoding.cs (35)
106Environment.GetResourceString("ArgumentNull_Array")); 110Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 114Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 154Environment.GetResourceString("ArgumentNull_Array")); 158Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 176Environment.GetResourceString("ArgumentNull_Array")); 180Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 184Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 188Environment.GetResourceString("ArgumentOutOfRange_Index")); 224Environment.GetResourceString("ArgumentNull_Array")); 228Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 232Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 236Environment.GetResourceString("ArgumentOutOfRange_Index")); 268Environment.GetResourceString("ArgumentNull_Array")); 272Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 292Environment.GetResourceString("ArgumentNull_Array")); 296Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 300Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 323Environment.GetResourceString("ArgumentNull_Array")); 327Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 345Environment.GetResourceString("ArgumentNull_Array")); 349Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 353Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 357Environment.GetResourceString("ArgumentOutOfRange_Index")); 389Environment.GetResourceString("ArgumentNull_Array")); 393Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 413Environment.GetResourceString("ArgumentNull_Array")); 417Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 421Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 550throw new ArgumentOutOfRangeException("count", Environment.GetResourceString( 889throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 1140Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1153throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 1163Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1183throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\text\utf7encoding.cs (33)
170Environment.GetResourceString("ArgumentNull_Array")); 174Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 178Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 220Environment.GetResourceString("ArgumentNull_Array")); 224Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 243Environment.GetResourceString("ArgumentNull_Array")); 247Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 251Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 255Environment.GetResourceString("ArgumentOutOfRange_Index")); 291Environment.GetResourceString("ArgumentNull_Array")); 295Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 299Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 303Environment.GetResourceString("ArgumentOutOfRange_Index")); 336Environment.GetResourceString("ArgumentNull_Array")); 340Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 360Environment.GetResourceString("ArgumentNull_Array")); 364Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 368Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 392Environment.GetResourceString("ArgumentNull_Array")); 396Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 414Environment.GetResourceString("ArgumentNull_Array")); 418Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 422Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 426Environment.GetResourceString("ArgumentOutOfRange_Index")); 459Environment.GetResourceString("ArgumentNull_Array")); 463Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 484Environment.GetResourceString("ArgumentNull_Array")); 488Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 492Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 853Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 876throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 886Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 1144throw new ArgumentException(Environment.GetResourceString("Argument_InvalidCharSequenceNoIndex"));
system\text\utf8encoding.cs (33)
134Environment.GetResourceString("ArgumentNull_Array")); 138Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 142Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 183Environment.GetResourceString("ArgumentNull_Array")); 187Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 205Environment.GetResourceString("ArgumentNull_Array")); 209Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 213Environment.GetResourceString("ArgumentOutOfRange_IndexCount")); 217Environment.GetResourceString("ArgumentOutOfRange_Index")); 253Environment.GetResourceString("ArgumentNull_Array")); 257Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 261Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 265Environment.GetResourceString("ArgumentOutOfRange_Index")); 298Environment.GetResourceString("ArgumentNull_Array")); 302Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 322Environment.GetResourceString("ArgumentNull_Array")); 326Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 330Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 354Environment.GetResourceString("ArgumentNull_Array")); 358Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 376Environment.GetResourceString("ArgumentNull_Array")); 380Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 384Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 388Environment.GetResourceString("ArgumentOutOfRange_Index")); 421Environment.GetResourceString("ArgumentNull_Array")); 425Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 446Environment.GetResourceString("ArgumentNull_Array")); 450Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 454Environment.GetResourceString("ArgumentOutOfRange_IndexCountBuffer")); 2348Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2361throw new ArgumentOutOfRangeException("charCount", Environment.GetResourceString("ArgumentOutOfRange_GetByteCountOverflow")); 2371Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 2385throw new ArgumentOutOfRangeException("byteCount", Environment.GetResourceString("ArgumentOutOfRange_GetCharCountOverflow"));
system\threading\abandonedmutexexception.cs (2)
29: base(Environment.GetResourceString("Threading.AbandonedMutexException")) { 44: base(Environment.GetResourceString("Threading.AbandonedMutexException")) {
system\threading\CancellationToken.cs (2)
482throw new OperationCanceledException(Environment.GetResourceString("OperationCanceled"), this); 487throw new ObjectDisposedException(null, Environment.GetResourceString("CancellationToken_SourceDisposed"));
system\threading\CancellationTokenSource.cs (2)
617throw new ObjectDisposedException(null, Environment.GetResourceString("CancellationTokenSource_Disposed")); 914throw new ArgumentException(Environment.GetResourceString("CancellationToken_CreateLinkedToken_TokensIsEmpty"));
system\threading\compressedstack.cs (2)
88Environment.FailFast(Environment.GetResourceString("ExecutionContext_UndoFailed"), ex); 285throw new ArgumentException(Environment.GetResourceString("Arg_NamedParamNull"),"compressedStack");
system\threading\CountdownEvent.cs (5)
196throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Decrement_BelowZero")); 210throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Decrement_BelowZero")); 250throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Decrement_BelowZero")); 323throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Increment_AlreadyZero")); 364throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Increment_AlreadyMax"));
system\threading\eventwaithandle.cs (2)
225throw new ArgumentNullException("name", Environment.GetResourceString("ArgumentNull_WithParamName")); 230throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
system\threading\executioncontext.cs (11)
318Environment.FailFast(Environment.GetResourceString("ExecutionContext_UndoFailed"), ex); 427throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseAFCMultiple")); 431throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseAFCOtherThread")); 437throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncFlowCtrlCtxMismatch")); 446throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncFlowCtrlCtxMismatch")); 782Environment.GetResourceString("ExecutionContext_ExceptionInAsyncLocalNotification"), 912throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullContext")); 914throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext")); 1095throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotCopyUsedContext")); 1171throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotSupressFlowMultipleTimes")); 1185throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRestoreUnsupressedFlow"));
system\threading\hostexecutioncontextmanager.cs (4)
204throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext")); 246throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotOverrideSetWithoutRevert")); 254throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseSwitcherOtherThread")); 262throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseSwitcherOtherThread"));
system\threading\LazyInitializer.cs (2)
151throw new InvalidOperationException(Environment.GetResourceString("Lazy_StaticInit_InvalidOperation")); 264throw new MissingMemberException(Environment.GetResourceString("Lazy_CreateValue_NoParameterlessCtorForT"));
system\threading\ManualResetEventSlim.cs (3)
173throw new InvalidOperationException(String.Format(Environment.GetResourceString("ManualResetEventSlim_ctor_TooManyWaiters"), NumWaitersState_MaxValue)); 230String.Format(Environment.GetResourceString("ManualResetEventSlim_ctor_SpinCountOutOfRange"), SpinCountState_MaxValue)); 741throw new ObjectDisposedException(Environment.GetResourceString("ManualResetEventSlim_Disposed"));
system\threading\monitor.cs (2)
66throw new ArgumentException(Environment.GetResourceString("Argument_MustBeFalse"), "lockTaken"); 136throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1"));
system\threading\mutex.cs (3)
356throw new ArgumentNullException("name", Environment.GetResourceString("ArgumentNull_WithParamName")); 361throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name"); 425throw new ApplicationException(Environment.GetResourceString("Arg_SynchronizationLockException"));
system\threading\overlapped.cs (2)
201throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_Overlapped_Pack")); 236throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_Overlapped_Pack"));
system\threading\readerwriterlock.cs (3)
110throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 136throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 195throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1"));
system\threading\semaphorefullexception.cs (1)
23public SemaphoreFullException() : base(Environment.GetResourceString("Threading_SemaphoreFullException")){
system\threading\SemaphoreSlim.cs (1)
914return Environment.GetResourceString(str);
system\threading\SpinLock.cs (6)
231"timeout", timeout, Environment.GetResourceString("SpinLock_TryEnter_ArgumentOutOfRange")); 291throw new System.ArgumentException(Environment.GetResourceString("SpinLock_TryReliableEnter_ArgumentException")); 297"millisecondsTimeout", millisecondsTimeout, Environment.GetResourceString("SpinLock_TryEnter_ArgumentOutOfRange")); 524throw new LockRecursionException(Environment.GetResourceString("SpinLock_TryEnter_LockRecursionException")); 646Environment.GetResourceString("SpinLock_Exit_SynchronizationLockException")); 707throw new InvalidOperationException(Environment.GetResourceString("SpinLock_IsHeldByCurrentThread"));
system\threading\SpinWait.cs (3)
230"timeout", timeout, Environment.GetResourceString("SpinWait_SpinUntil_TimeoutWrong")); 252"millisecondsTimeout", millisecondsTimeout, Environment.GetResourceString("SpinWait_SpinUntil_TimeoutWrong")); 256throw new ArgumentNullException("condition", Environment.GetResourceString("SpinWait_SpinUntil_ArgumentNull"));
system\threading\synchronizationlockexception.cs (1)
27: base(Environment.GetResourceString("Arg_SynchronizationLockException")) {
system\threading\Tasks\Future.cs (5)
356throw new ArgumentOutOfRangeException("creationOptions", Environment.GetResourceString("TaskT_ctor_SelfReplicating")); 386throw new ArgumentOutOfRangeException("creationOptions", Environment.GetResourceString("TaskT_ctor_SelfReplicating")); 406throw new ArgumentOutOfRangeException("creationOptions", Environment.GetResourceString("TaskT_ctor_SelfReplicating")); 430throw new ArgumentOutOfRangeException("creationOptions", Environment.GetResourceString("TaskT_ctor_SelfReplicating")); 445return IsRanToCompletion ? "" + m_result : Environment.GetResourceString("TaskT_DebuggerNoResult");
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 (10)
244throw new ArgumentException(Environment.GetResourceString("Parallel_Invoke_ActionNull")); 2557throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 2739throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 2970throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 3184throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 3214throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_PartitionerNotDynamic")); 3269throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_PartitionerReturnedNull")); 3277throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_PartitionerReturnedNull")); 3340throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_NullEnumerator")); 3392throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_NullEnumerator"));
system\threading\Tasks\ParallelLoopState.cs (6)
54Environment.GetResourceString("ParallelState_NotSupportedException_UnsupportedMethod")); 111Environment.GetResourceString("ParallelState_NotSupportedException_UnsupportedMethod")); 159Environment.GetResourceString("ParallelState_NotSupportedException_UnsupportedMethod")); 208Environment.GetResourceString("ParallelState_Break_InvalidOperationException_BreakAfterStop")); 251Environment.GetResourceString("ParallelState_Break_InvalidOperationException_BreakAfterStop")); 463Environment.GetResourceString("ParallelState_Stop_InvalidOperationException_StopAfterBreak"));
system\threading\Tasks\Task.cs (28)
626throw new InvalidOperationException(Environment.GetResourceString("Task_ctor_LRandSR")); 1080throw new InvalidOperationException(Environment.GetResourceString("Task_Start_TaskCompleted")); 1091throw new InvalidOperationException(Environment.GetResourceString("Task_Start_Promise")); 1095throw new InvalidOperationException(Environment.GetResourceString("Task_Start_ContinuationTask")); 1101throw new InvalidOperationException(Environment.GetResourceString("Task_Start_AlreadyStarted")); 1185throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_Continuation")); 1191throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_Promise")); 1197throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_TaskCompleted")); 1203throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_AlreadyStarted")); 1266throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_TaskCompleted")); 1600throw new ObjectDisposedException(null, Environment.GetResourceString("Task_ThrowIfDisposed")); 1862throw new InvalidOperationException(Environment.GetResourceString("Task_Dispose_NotCompleted")); 4596throw new ArgumentOutOfRangeException("continuationOptions", Environment.GetResourceString("Task_ContinueWith_ESandLR")); 4610throw new ArgumentOutOfRangeException("continuationOptions", Environment.GetResourceString("Task_ContinueWith_NotOnAnything")); 5077throw new ArgumentException(Environment.GetResourceString("Task_WaitMulti_NullTask"), "tasks"); 5479throw new ArgumentException(Environment.GetResourceString("Task_WaitMulti_NullTask"), "tasks"); 5824throw new ArgumentOutOfRangeException("delay", Environment.GetResourceString("Task_Delay_InvalidDelay")); 5868throw new ArgumentOutOfRangeException("millisecondsDelay", Environment.GetResourceString("Task_Delay_InvalidMillisecondsDelay")); 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\TaskCanceledException.cs (2)
36public TaskCanceledException() : base(Environment.GetResourceString("TaskCanceledException_ctor_DefaultMessage")) 66base(Environment.GetResourceString("TaskCanceledException_ctor_DefaultMessage"), task!=null ? task.CancellationToken:new CancellationToken())
system\threading\Tasks\TaskCompletionSource.cs (6)
197throw new ArgumentException(Environment.GetResourceString("TaskCompletionSourceT_TrySetException_NullException"), "exceptions"); 202throw new ArgumentException(Environment.GetResourceString("TaskCompletionSourceT_TrySetException_NoExceptions"), "exceptions"); 248throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 274throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 322throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 370throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted"));
system\threading\Tasks\TaskExceptionHolder.cs (2)
137Environment.GetResourceString("TaskExceptionHolder_UnhandledException"), 303throw new ArgumentException(Environment.GetResourceString("TaskExceptionHolder_UnknownExceptionType"), "exceptionObject");
system\threading\Tasks\TaskFactory.cs (9)
1599throw new ArgumentOutOfRangeException("creationOptions", Environment.GetResourceString("Task_FromAsync_LongRunning")); 1601throw new ArgumentOutOfRangeException("creationOptions", Environment.GetResourceString("Task_FromAsync_PreferFairness")); 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"); 3195throw new ArgumentOutOfRangeException("continuationOptions", Environment.GetResourceString("Task_ContinueWith_ESandLR")); 3214throw new ArgumentOutOfRangeException("continuationOptions", Environment.GetResourceString("Task_MultiTaskContinuation_FireOptions"));
system\threading\Tasks\TaskScheduler.cs (3)
230throw new InvalidOperationException(Environment.GetResourceString("TaskScheduler_InconsistentStateAfterTryExecuteTaskInline")); 455throw new InvalidOperationException(Environment.GetResourceString("TaskScheduler_ExecuteTask_WrongTaskScheduler")); 651throw new InvalidOperationException(Environment.GetResourceString("TaskScheduler_FromCurrentSynchronizationContext_NoCurrent"));
system\threading\Tasks\TaskSchedulerException.cs (2)
33public TaskSchedulerException() : base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage")) // 53: base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage"), innerException)
system\threading\thread.cs (12)
244throw new ArgumentOutOfRangeException("maxStackSize",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 263throw new ArgumentOutOfRangeException("maxStackSize",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); 292throw new ArgumentException(null, Environment.GetResourceString("Argument_InvalidHandle")); 324throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ThreadWrongThreadStart")); 448throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ThreadAPIsNotSupported")); 467throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ThreadAPIsNotSupported")); 565throw new ThreadStateException(Environment.GetResourceString("ThreadState_NoAbortRequested")); 702throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 733throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 987throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ApartmentStateSwitchFailed")); 1506throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WriteOnce")); 1530throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ExceptionStateCrossAppDomain"), e);
system\threading\ThreadLocal.cs (8)
332throw new ObjectDisposedException(Environment.GetResourceString("ThreadLocal_Disposed")); 349throw new InvalidOperationException(Environment.GetResourceString("ThreadLocal_Value_RecursiveCallsToValue")); 365throw new ObjectDisposedException(Environment.GetResourceString("ThreadLocal_Disposed")); 403throw new ObjectDisposedException(Environment.GetResourceString("ThreadLocal_Disposed")); 425throw new ObjectDisposedException(Environment.GetResourceString("ThreadLocal_Disposed")); 463throw new InvalidOperationException(Environment.GetResourceString("ThreadLocal_ValuesNotAvailable")); 467if (list == null) throw new ObjectDisposedException(Environment.GetResourceString("ThreadLocal_Disposed")); 520throw new ObjectDisposedException(Environment.GetResourceString("ThreadLocal_Disposed"));
system\threading\threadpool.cs (9)
1449throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WaitOnTransparentProxy")); 1490throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1507throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1524throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1541throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1559throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1561throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_LessEqualToIntegerMaxVal")); 1578throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1580throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_LessEqualToIntegerMaxVal"));
system\threading\threadstartexception.cs (2)
19: base(Environment.GetResourceString("Arg_ThreadStartException")) 25: base(Environment.GetResourceString("Arg_ThreadStartException"), reason)
system\threading\threadstateexception.cs (1)
26: base(Environment.GetResourceString("Arg_ThreadStateException")) {
system\threading\timer.cs (17)
568throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_Generic")); 853throw new ArgumentOutOfRangeException("dueTime", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 855throw new ArgumentOutOfRangeException("period", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 871throw new ArgumentOutOfRangeException("dueTm",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 873throw new ArgumentOutOfRangeException("dueTm",Environment.GetResourceString("ArgumentOutOfRange_TimeoutTooLarge")); 877throw new ArgumentOutOfRangeException("periodTm",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 879throw new ArgumentOutOfRangeException("periodTm",Environment.GetResourceString("ArgumentOutOfRange_PeriodTooLarge")); 905throw new ArgumentOutOfRangeException("dueTime",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 907throw new ArgumentOutOfRangeException("period",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 909throw new ArgumentOutOfRangeException("dueTime",Environment.GetResourceString("ArgumentOutOfRange_TimeoutTooLarge")); 911throw new ArgumentOutOfRangeException("period",Environment.GetResourceString("ArgumentOutOfRange_PeriodTooLarge")); 984throw new ArgumentOutOfRangeException("dueTime",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 986throw new ArgumentOutOfRangeException("period",Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1006throw new ArgumentOutOfRangeException("dueTime", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1008throw new ArgumentOutOfRangeException("period", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 1010throw new ArgumentOutOfRangeException("dueTime", Environment.GetResourceString("ArgumentOutOfRange_TimeoutTooLarge")); 1012throw new ArgumentOutOfRangeException("period", Environment.GetResourceString("ArgumentOutOfRange_PeriodTooLarge"));
system\threading\waithandle.cs (21)
196throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 207throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 240throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_Generic")); 262throw new ObjectDisposedException(null, Environment.GetResourceString("ObjectDisposed_Generic")); 300throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_Waithandles")); 316throw new ArgumentNullException(Environment.GetResourceString("Argument_EmptyWaithandleArray")); 321throw new NotSupportedException(Environment.GetResourceString("NotSupported_MaxWaitHandles")); 325throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 334throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_ArrayElement")); 338throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WaitOnTransparentProxy")); 380throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 420throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_Waithandles")); 424throw new ArgumentException(Environment.GetResourceString("Argument_EmptyWaithandleArray")); 428throw new NotSupportedException(Environment.GetResourceString("NotSupported_MaxWaitHandles")); 432throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 441throw new ArgumentNullException(Environment.GetResourceString("ArgumentNull_ArrayElement")); 445throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WaitOnTransparentProxy")); 485throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 539throw new ArgumentOutOfRangeException("timeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 562throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1")); 583throw new InvalidOperationException(Environment.GetResourceString("Threading.WaitHandleTooManyPosts"));
system\threading\waithandlecannotbeopenedexception.cs (1)
22public WaitHandleCannotBeOpenedException() : base(Environment.GetResourceString("Threading.WaitHandleCannotBeOpenedException"))
system\throwhelper.cs (9)
72throw new ArgumentException(Environment.GetResourceString(GetResourceName(resource))); 76throw new ArgumentException(Environment.GetResourceString(GetResourceName(resource)), GetArgumentName(argument)); 94Environment.GetResourceString(GetResourceName(resource))); 99throw new InvalidOperationException(Environment.GetResourceString(GetResourceName(resource))); 103throw new SerializationException(Environment.GetResourceString(GetResourceName(resource))); 107throw new System.Security.SecurityException(Environment.GetResourceString(GetResourceName(resource))); 111throw new NotSupportedException(Environment.GetResourceString(GetResourceName(resource))); 115throw new UnauthorizedAccessException(Environment.GetResourceString(GetResourceName(resource))); 119throw new ObjectDisposedException(objectName, Environment.GetResourceString(GetResourceName(resource)));
system\timeoutexception.cs (1)
25: base(Environment.GetResourceString("Arg_TimeoutException")) {
system\timespan.cs (10)
96throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("Overflow_TimeSpanTooLong")); 159throw new OverflowException(Environment.GetResourceString("Overflow_TimeSpanTooLong")); 177throw new ArgumentException(Environment.GetResourceString("Arg_MustBeTimeSpan")); 199throw new OverflowException(Environment.GetResourceString("Overflow_Duration")); 230throw new ArgumentException(Environment.GetResourceString("Arg_CannotBeNaN")); 235throw new OverflowException(Environment.GetResourceString("Overflow_TimeSpanTooLong")); 249throw new OverflowException(Environment.GetResourceString("Overflow_NegateTwosCompNum")); 264throw new OverflowException(Environment.GetResourceString("Overflow_TimeSpanTooLong")); 277throw new ArgumentOutOfRangeException(null, Environment.GetResourceString("Overflow_TimeSpanTooLong")); 342throw new OverflowException(Environment.GetResourceString("Overflow_NegateTwosCompNum"));
system\timezoneinfo.cs (59)
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"); 1228throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 1231throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 2944throw new ArgumentOutOfRangeException("baseUtcOffset", Environment.GetResourceString("ArgumentOutOfRange_UtcOffset")); 2948throw new ArgumentException(Environment.GetResourceString("Argument_TimeSpanHasSeconds"), "baseUtcOffset"); 2969throw new InvalidTimeZoneException(Environment.GetResourceString("Argument_AdjustmentRulesNoNulls")); 2977throw new InvalidTimeZoneException(Environment.GetResourceString("ArgumentOutOfRange_UtcOffsetAndDaylightDelta")); 2983throw new InvalidTimeZoneException(Environment.GetResourceString("Argument_AdjustmentRulesOutOfOrder")); 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"); 3183Environment.GetResourceString("ArgumentOutOfRange_UtcOffset")); 3187throw new ArgumentException(Environment.GetResourceString("Argument_TimeSpanHasSeconds"), 3192throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeHasTimeOfDay"), 3197throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeHasTimeOfDay"), 3217throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 3435throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeKindMustBeUnspecified"), "timeOfDay"); 3440throw new ArgumentOutOfRangeException("month", Environment.GetResourceString("ArgumentOutOfRange_MonthParam")); 3445throw new ArgumentOutOfRangeException("day", Environment.GetResourceString("ArgumentOutOfRange_DayParam")); 3450throw new ArgumentOutOfRangeException("week", Environment.GetResourceString("ArgumentOutOfRange_Week")); 3455throw new ArgumentOutOfRangeException("dayOfWeek", Environment.GetResourceString("ArgumentOutOfRange_DayOfWeek")); 3463throw new ArgumentException(Environment.GetResourceString("Argument_DateTimeHasTicks"), "timeOfDay"); 3476throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 3633throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), ex); 3636throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), ex); 3732throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3767throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3775throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3802throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3806throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3826throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3839throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3854throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3871throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3888throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3905throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 3919throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3946throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3949throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3968throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3973throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3983throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 3996throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4006throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4028throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 4057throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4061throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4067throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4074throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4091throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 4102throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"), e); 4110throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData")); 4136throw new SerializationException(Environment.GetResourceString("Serialization_InvalidData"));
system\tuple.cs (1)
969throw new ArgumentException(Environment.GetResourceString("ArgumentException_TupleLastArgumentNotATuple"));
system\type.cs (17)
346throw new ArgumentNullException(null, Environment.GetResourceString("Arg_InvalidHandle")); 388throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 770throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 1185get {throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); } 1217throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 1319throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 1346throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 1365throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); 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"); 1531throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 1541throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnum"), "enumType"); 1547throw new ArgumentException(Environment.GetResourceString("Arg_MustBeEnumBaseTypeOrEnum"), "value"); 1833throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride"));
system\typeaccessexception.cs (1)
18: base(Environment.GetResourceString("Arg_TypeAccessException"))
system\typedreference.cs (7)
36throw new ArgumentException(Environment.GetResourceString("Arg_ArrayZeroError")); 46throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeFieldInfo")); 49throw new ArgumentException(Environment.GetResourceString("Argument_TypedReferenceInvalidField")); 52throw new MissingMemberException(Environment.GetResourceString("MissingMemberTypeRef")); 56throw new ArgumentException(Environment.GetResourceString("Arg_TypeRefPrimitve")); 59throw new MissingMemberException(Environment.GetResourceString("MissingMemberNestErr")); 91throw new NotSupportedException(Environment.GetResourceString("NotSupported_NYI"));
system\typeinitializationexception.cs (1)
32: base(Environment.GetResourceString("TypeInitialization_Default")) {
system\typeloadexception.cs (4)
33: base(Environment.GetResourceString("Arg_TypeLoadException")) { 62_message = Environment.GetResourceString("Arg_TypeLoadException"); 66AssemblyName = Environment.GetResourceString("IO_UnknownFileName"); 68ClassName = Environment.GetResourceString("IO_UnknownFileName");
system\typenameparser.cs (2)
88throw new ArgumentException(Environment.GetResourceString("Format_StringZeroLength")); 161throw new TypeLoadException(Environment.GetResourceString("Arg_TypeLoadNullStr"));
system\typeunloadedexception.cs (1)
24: base(Environment.GetResourceString("Arg_TypeUnloadedException")) {
system\uint16.cs (3)
55throw new ArgumentException(Environment.GetResourceString("Arg_MustBeUInt16")); 136throw new OverflowException(Environment.GetResourceString("Overflow_UInt16"), e); 139if (i > MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_UInt16"));
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\unauthorizedaccessexception.cs (1)
28: base(Environment.GetResourceString("Arg_UnauthorizedAccessException")) {
system\unityserializationholder.cs (2)
211throw new NotSupportedException(Environment.GetResourceString("NotSupported_UnitySerHolder")); 319throw new ArgumentException(Environment.GetResourceString("Argument_InvalidUnity"));
system\variant.cs (4)
357throw new ArgumentException(Environment.GetResourceString("Arg_MustBePointer"),"pointerType"); 575throw new InvalidCastException(Environment.GetResourceString("InvalidCast_CannotCoerceByRefVariant")); 580throw new InvalidCastException(Environment.GetResourceString("InvalidCast_CannotCoerceByRefVariant")); 684throw new InvalidCastException(Environment.GetResourceString("InvalidCast_CannotCoerceByRefVariant"));
system\version.cs (14)
44throw new ArgumentOutOfRangeException("major",Environment.GetResourceString("ArgumentOutOfRange_Version")); 47throw new ArgumentOutOfRangeException("minor",Environment.GetResourceString("ArgumentOutOfRange_Version")); 50throw new ArgumentOutOfRangeException("build",Environment.GetResourceString("ArgumentOutOfRange_Version")); 53throw new ArgumentOutOfRangeException("revision",Environment.GetResourceString("ArgumentOutOfRange_Version")); 64throw new ArgumentOutOfRangeException("major",Environment.GetResourceString("ArgumentOutOfRange_Version")); 67throw new ArgumentOutOfRangeException("minor",Environment.GetResourceString("ArgumentOutOfRange_Version")); 70throw new ArgumentOutOfRangeException("build",Environment.GetResourceString("ArgumentOutOfRange_Version")); 81throw new ArgumentOutOfRangeException("major",Environment.GetResourceString("ArgumentOutOfRange_Version")); 84throw new ArgumentOutOfRangeException("minor",Environment.GetResourceString("ArgumentOutOfRange_Version")); 166throw new ArgumentException(Environment.GetResourceString("Arg_MustBeVersion")); 508return new ArgumentException(Environment.GetResourceString("Arg_VersionString")); 510return new ArgumentOutOfRangeException(m_exceptionArgument, Environment.GetResourceString("ArgumentOutOfRange_Version")); 521return new FormatException(Environment.GetResourceString("Format_InvalidString")); 524return new ArgumentException(Environment.GetResourceString("Arg_VersionString"));