From: Dan Moseley Date: Sat, 25 Mar 2017 00:42:44 +0000 (-0700) Subject: Remove dead strings (dotnet/coreclr#10445) X-Git-Tag: submit/tizen/20210909.063632~11030^2~7561 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efc412096c4996f4e33a5774a03802adacab692d;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove dead strings (dotnet/coreclr#10445) Removed 436 dead strings from .resx, kept 1034 Commit migrated from https://github.com/dotnet/coreclr/commit/9f1f3d52a9c25e8dab75516a913ca00ea2ba2332 --- diff --git a/src/coreclr/src/mscorlib/Resources/Strings.resx b/src/coreclr/src/mscorlib/Resources/Strings.resx index 9cd76eb..af26c7c 100644 --- a/src/coreclr/src/mscorlib/Resources/Strings.resx +++ b/src/coreclr/src/mscorlib/Resources/Strings.resx @@ -88,9 +88,6 @@ Cannot set a constant field. - - SkipVerification permission is needed to modify an image-based (RVA) static field. - Cannot create an instance of void. @@ -104,26 +101,11 @@ The serialization stream contains no inner exceptions. - {0}{1}---> (Inner Exception #{2}) {3}{4}{5} - - - All code - - - Allocated from: + {0}{1}---> (Inner Exception #{2}) {3}{4}{5} The ApplicationBase must be set before retrieving this property. - - Binding model is already locked for the AppDomain and cannot be reset. - - - ApplicationName must be set before the DynamicBase can be set. - - - ApplicationDirectory - Cannot access member. @@ -160,9 +142,6 @@ Array must not be of length zero. - - The manifest module of the assembly cannot be null. - Read an invalid decimal value from the buffer. @@ -172,9 +151,6 @@ Encountered an invalid type for a default value. - - Only supported array types for CopyTo on BitArrays are Boolean[], Int32[] and Byte[]. - Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: '{0}'. @@ -187,12 +163,6 @@ String cannot contain a minus sign if the base is not 10. - - The usage of IKeyComparer and IHashCodeProvider/IComparer interfaces cannot be mixed; use one or the other. - - - Attempt to unload the AppDomain failed. - Failed to resolve type from string "{0}" which was embedded in custom attribute blob. @@ -205,12 +175,6 @@ Only one of the following binding flags can be set: BindingFlags.SetProperty, BindingFlags.PutDispProperty, BindingFlags.PutRefDispProperty. - - Attempted to marshal an object across a context boundary. - - - The file of the custom culture {0} is corrupt. Try to unregister this culture. - Cannot specify both CreateInstance and another access type. @@ -229,9 +193,6 @@ Decimal byte array constructor requires an array of length four containing valid decimal bytes. - - FileStream will not open Win32 devices such as disk partitions and tape drives. Avoid use of "\\\\.\\" in the path. - Attempted to access a path that is not on the disk. @@ -247,9 +208,6 @@ Delegates must be of the same type. - - One machine may not have remote administration enabled, or both machines may not be running the remote registry service. - Dll was not found. @@ -268,12 +226,6 @@ Array may not be empty. - - Collection must not be empty. - - - Array may not be empty or null. - String may not be empty or null. @@ -286,9 +238,6 @@ Object must be the same type as the enum. The type passed in was '{0}'; the enum type was '{1}'. - - Must set at least one flag. - Enum underlying type and the object must be same type or object. Type passed in was '{0}'; the enum underlying type was '{1}'. @@ -298,12 +247,6 @@ Literal value was not found. - - All enums must have an underlying value__ field. - - - Must set exactly one flag. - Enum underlying type and the object must be same type or object must be a String. Type passed in was '{0}'; the enum underlying type was '{1}'. @@ -322,9 +265,6 @@ Field '{0}' defined on type '{1}' is not a field on the target object which is of type '{2}'. - - The target file "{0}" is a directory, not a file. - No arguments can be provided to Get a field value. @@ -367,9 +307,6 @@ Hashtable's capacity overflowed and went negative. Check load factor, capacity and the current size of the table. - - The type library importer encountered an error during type verification. Try importing without class members. - All indexes must be of type Int32. @@ -379,9 +316,6 @@ Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space. - - Specified access entry is invalid because it is unrestricted. The global flags should be specified instead. - The ANSI string passed in could not be converted from the default ANSI code page to Unicode. @@ -394,18 +328,6 @@ Attempt has been made to use a COM object that does not have a backing class factory. - - The ConsoleColor enum value was not defined on that enum. Please use a defined color from the enum. - - - Invalid File or Directory attributes value. - - - Specified file extension was not a valid extension. - - - Specified file name was invalid. - Specified filter criteria was invalid. @@ -427,9 +349,6 @@ Operation is not valid due to the current state of the object. - - Satellite contract version attribute on the assembly '{0}' specifies an invalid version: {1}. - Search pattern cannot contain ".." to move up directories and can be contained only internally in file/directory names, as in "a..b". @@ -442,9 +361,6 @@ The UTF8 string passed in could not be converted to Unicode. - - InvokeMember can be used only for COM objects. - I/O error occurred. @@ -469,21 +385,12 @@ Marshaling directives are invalid. - - The Module object containing the member cannot be null. - Attempt to access the method failed. - - Attempt by security transparent method '{0}' to access security critical method '{1}' failed. - Attempt to access the method "{0}" on type "{1}" failed. - - The AppDomainSetup must specify the activation arguments for this call. - Attempted to access a non-existing field. @@ -499,9 +406,6 @@ Attempted to add multiple callbacks to a delegate that does not support multicast. - - At least one type argument is not a runtime type. - Object must be of type Boolean. @@ -526,9 +430,6 @@ Object must be of type Double. - - Object must be a root directory ("C:\\") or a drive letter ("C"). - Type provided must be an Enum. @@ -538,9 +439,6 @@ Object must be of type GUID. - - Type must be an IdentityReference, such as NTAccount or SecurityIdentifier. - Object must be of type Int16. @@ -577,9 +475,6 @@ Object must be of type TimeSpan. - - Argument must be true. - Type must be a type provided by the runtime. @@ -628,9 +523,6 @@ No parameterless constructor defined for this object. - - Specified type library importer callback was invalid because it did not support the ITypeLibImporterNotifySink interface. - Specified TypeInfo was invalid because it did not support the ITypeInfo interface. @@ -685,12 +577,6 @@ Arithmetic operation resulted in an overflow. - - The MemberInfo object defining the parameter cannot be null. - - - The Module object containing the parameter cannot be null. - Parameter name: {0} @@ -700,33 +586,18 @@ Parameter count mismatch. - - Second path fragment must not be a drive or UNC name. - - - Paths that begin with \\\\?\\GlobalRoot are internal to the kernel and should not be opened by managed applications. - The path is not of a legal form. The UNC path should be of the form \\\\server\\share. - - Path must not be a drive. - Operation is not supported on this platform. - - SecureString is only supported on Windows 2000 SP3 and higher platforms. - Cannot widen from source type to target type either because the source type is a not a primitive type or the conversion cannot be accomplished. - - Could not find the specified property. - Cannot specify both Get and Set on a property. @@ -763,18 +634,9 @@ Registry key name must start with a valid base key name. - - Cannot delete a registry hive's subtree. - - - No remote connection to '{0}' while trying to read the registry. - The specified registry key does not exist. - - Registry HKEY was out of the legal range. - Registry key names should not be greater than 255 characters. @@ -787,9 +649,6 @@ RegistryKey.SetValue does not allow a String[] that contains a null String reference. - - Cannot delete a subkey tree because the subkey does not exist. - No value exists with that name. @@ -808,9 +667,6 @@ The specified resource name "{0}" does not exist in the resource file. - - ReaderWriterLock.RestoreLock was called without releasing all locks acquired since the call to ReleaseLock. - Specified array was not of the expected rank. @@ -889,9 +745,6 @@ Version string portion was too short or too long. - - Attempted to make an early bound call on a COM dispatch-only interface. - IAsyncResult object did not come from the corresponding async method on this type. @@ -910,39 +763,18 @@ An item with the same key has already been added. Key: {0} - - The elements of the AdjustmentRule array must not contain ambiguous time periods that extend beyond the DateStart or DateEnd properties of the element. - - - The elements of the AdjustmentRule array must not contain invalid time periods that extend beyond the DateStart or DateEnd properties of the element. - The AdjustmentRule array cannot contain null elements. The elements of the AdjustmentRule array must be in chronological order and must not overlap. - - The elements of the AdjustmentRule array must not contain Daylight Saving Time periods that overlap adjacent elements in such a way as to cause invalid or ambiguous time periods. - - - The elements of the AdjustmentRule array must not contain Daylight Saving Time periods that overlap the DateStart or DateEnd properties in such a way as to cause invalid or ambiguous time periods. - The object already has a CCW associated with it. 'handle' has already been bound to the thread pool, or was not opened for asynchronous I/O. - - Specified capacity must not be less than the current capacity. - - - Specified slot number was invalid. - - - An ApplicationTrust must have an application identity before it can be persisted. - Argument cannot be zero. @@ -952,27 +784,9 @@ Array or pointer types are not valid. - - The input array length must not exceed Int32.MaxValue / {0}. Otherwise BitArray.Length would exceed Int32.MaxValue. - - - Assembly was already fully trusted. - - - Assembly was not fully trusted. - - - Assembly must not be a Windows Runtime assembly. - - - Attribute names must be unique. - Interface method must be abstract and virtual. - - Bad '{0}' while generating unmanaged resource information. - Bad default value. @@ -982,9 +796,6 @@ Constructor must have standard calling convention. - - Bad current local variable for setting symbol information. - Incorrect code generation for exception block. @@ -1021,36 +832,15 @@ Cannot emit a CustomAttribute with argument of type {0}. - - Passed in argument value at index {0} does not match the parameter type. - - - Cannot have a persistable module in a transient assembly. - - - PInvoke methods must be static and native and cannot be abstract. - - - PInvoke methods cannot exist on interfaces. - Property must be on the same type of the given ConstructorInfo. - - Unknown value for the ResourceScope: {0} Too many resource type bits may be set. - - - Unknown value for the ResourceScope: {0} Too many resource visibility bits may be set. - Incorrect signature format. Data size must be > 1 and < 0x3f0000 - - Bad type attributes. A type cannot be both abstract and final. - Bad type attributes. Invalid layout attribute specified. @@ -1072,9 +862,6 @@ Cannot get TypeToken for a ByRef type. - - Abstract methods cannot be prepared. - Cannot set parent to an interface. @@ -1120,9 +907,6 @@ Culture IETF Name {0} is not a recognized IETF name. - - Culture '{0}' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture. - {0} is an invalid culture identifier. @@ -1138,12 +922,6 @@ Customized cultures cannot be passed by LCID, only by name. - - Cannot find cvtres.exe - - - Parameters 'members' and 'data' must have the same length. - The binary data must result in a DateTime with ticks between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. @@ -1174,27 +952,12 @@ Destination is too short. - - Duplicate file names. - - - Duplicate dynamic module name within an assembly. - - - Tried to add NamedPermissionSet with non-unique name. - - - Duplicate resource name within an assembly. - Duplicate type name within an assembly. EmitWriteLine does not support this field or local type. - - ApplicationId cannot have an empty string for the name. - Decimal separator cannot be the empty string. @@ -1207,9 +970,6 @@ Empty path name is not legal. - - StrongName cannot have an empty string for the assembly name. - Waithandle array may not be empty. @@ -1225,9 +985,6 @@ '{0}' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. - - The underlying type of enum argument must be Int32 or Int16. - The argument type, '{0}', is not the same as the enum type '{1}'. @@ -1240,18 +997,6 @@ The specified field must be declared on a generic type definition. - - One or more flags are not supported. - - - FrameworkName is invalid. - - - FrameworkName version component is missing. - - - FrameworkName cannot have less than two components or more than three components. - GenericArguments[{0}], '{1}', on '{2}' violates the constraint of type '{3}'. @@ -1288,30 +1033,15 @@ Decoded string is not a valid IDN name. - - The application base specified is not valid. - - - Application identity does not have same number of components as manifest paths. - - - Application identity does not match identities in manifests. - Environment variable name cannot contain equal character. Illegal name. - - Illegal security permission zone specified. - At least one object must implement IComparable. - - Improper types in collection. - The specified index is out of bounds of the specified array. @@ -1321,15 +1051,9 @@ 'this' type cannot be an interface itself. - - No flags can be set. - Append access can be requested only in write-only mode. - - Invalid identity: no deployment or application identity specified. - Type of argument is not compatible with the generic comparer. @@ -1375,24 +1099,6 @@ The DigitSubstitution property must be of a valid member of the DigitShapes enumeration. Valid entries include Context, NativeNational or None. - - Invalid directory, '{0}'. - - - Invalid directory on URL. - - - Invalid element name '{0}'. - - - Invalid element tag '{0}'. - - - Invalid element text '{0}'. - - - Invalid element value '{0}'. - The Enum type should contain one and only one instance field. @@ -1402,27 +1108,15 @@ The specified field must be declared on the generic type definition of the specified type. - - The FieldInfo object is not valid. - Combining FileMode: {0} with FileAccess: {1} is invalid. - - Combining FileMode: {0} with FileSystemRights: {1} is invalid. - - - Combining FileMode: {0} with FileSystemRights: {1} is invalid. FileMode.Truncate is valid only when used with FileSystemRights.Write. - Value of flags is invalid. The generic type parameter was not valid - - The given generic instantiation was invalid. - Generic arguments must be provided for each generic parameter and each generic argument must be a RuntimeType. @@ -1432,21 +1126,12 @@ The handle is invalid. - - Improperly formatted hex string. - Found a high surrogate char without a following low surrogate at index: {0}. The input may not be in this encoding, or may not contain valid Unicode (UTF-16) characters. The specified ID parameter '{0}' is not supported. - - Key was invalid. - - - '{0}' is not a valid KeyStore name. - This type cannot be represented as a custom attribute. @@ -1456,9 +1141,6 @@ Found a low surrogate char without a preceding high surrogate at index: {0}. The input may not be in this encoding, or may not contain valid Unicode (UTF-16) characters. - - The MarshalByRefObject is not valid. - The member must be either a field or a property. @@ -1480,9 +1162,6 @@ Invalid or unsupported normalization form. - - MemberData contains an invalid number of members. - An undefined NumberStyles value is being used. @@ -1501,21 +1180,9 @@ Illegal characters in path. - - Invalid permission state. - The REG_TZI_FORMAT structure is corrupt. - - Region name '{0}' is not supported. - - - The specified RegistryKeyPermissionCheck value is invalid. - - - The specified RegistryOptions value is invalid. - The specified RegistryView value is invalid. @@ -1525,30 +1192,18 @@ Offset and length were greater than the size of the SafeBuffer. - - The SafeHandle is invalid. - Invalid seek origin. The specified serialized string '{0}' is not supported. - - Invalid site. - - - The directory specified, '{0}', is not a subdirectory of '{1}'. - An undefined TimeSpanStyles value is being used. Token {0:x} is not valid in the scope of module {1}. - - The type of arguments passed into generic comparer methods is invalid. - Cannot build type parameter for custom attribute with a type that does not support the AssemblyQualifiedName property. The type instance supplied was of type '{0}'. @@ -1558,51 +1213,21 @@ The name of the type is invalid. - - Token {0:x} is not a valid Type token. - Cannot use type '{0}'. Only value types without pointers or references are supported. Invalid Unity type. - - Invalid URL. - Value was invalid. - - Invalid Xml. - - - Invalid Xml - can only parse elements of version one. - - - Invalid XML. Missing required tag <{0}> for type '{1}'. - - - Invalid XML. Missing required attribute '{0}'. - - - The specified item does not exist in this KeyedCollection. - Integer or token was too large to be encoded. - - Environment variable name cannot contain 1024 or more characters. - Environment variable name or value is too long. - - The specified manifest file does not exist. - - - Cannot supply both a MemberInfo and an Array to indicate the parent of a value type. - Cannot resolve method {0} because the declaring type of the method handle {1} is generic. Explicitly provide the declaring type to GetMethodFromHandle. @@ -1612,9 +1237,6 @@ The specified method cannot be dynamic or global and must be declared on a generic type definition. - - Method has been already defined. - '{0}' cannot be greater than {1}. @@ -1624,15 +1246,9 @@ was missing default constructor. - - The specified module has already been loaded. - Argument must be initialized to false - - The MemberInfo must be an interface method. - Assembly must be a runtime Assembly object. @@ -1645,18 +1261,12 @@ Module must be a runtime Module object. - - ParameterInfo must be a runtime ParameterInfo object. - The object must be a runtime Reflection object. Type must be a runtime Type object. - - String is too long or has invalid contents. - 'type' must contain a TypeBuilder as a generic argument. @@ -1666,27 +1276,12 @@ The specified structure must be blittable or have layout information. - - When supplying a FieldInfo for fixing up a nested type, a valid ID for that containing object must also be supplied. - - - When supplying the ID of a containing object, the FieldInfo that identifies the current field within that object must also be supplied. - - - The name '{0}' contains characters that are not valid for a Culture or Region. - - - The name '{0}' is too long to be a Culture or Region name, which is limited to {1} characters. - 'overlapped' has already been freed. 'overlapped' was not allocated by this ThreadPoolBoundHandle instance. - - Native resource has already been defined. - Method must represent a generic method definition on a generic type definition. @@ -1702,51 +1297,18 @@ The type '{0}' may not be used as a type argument. - - Element does not specify a class. - The domain manager specified by the host could not be instantiated. No Era was supplied. - - Main entry point not defined. - Module file name '{0}' must have file extension. - - Only LPArray or SafeArray has nested unmanaged marshal. - - - Either obj or ctx must be null. - There is no region associated with the Invariant Culture (Culture ID: 0x7F). - - Please select a specific culture, such as zh-CN, zh-HK, zh-TW, zh-MO, zh-SG. - - - The type does not inherit from CodeGroup - - - Not a custom marshal. - - - The type does not implement IMembershipCondition - - - 'elem' was not a permission element. - - - The type does not implement IPermission - - - The UnmanagedType passed to DefineUnmanagedMarshal is not a simple type. None of the following values may be used: UnmanagedType.ByValTStr, UnmanagedType.SafeArray, UnmanagedType.ByValArray, UnmanagedType.LPArray, UnmanagedType.CustomMarshaler. - Type must be a TransparentProxy @@ -1768,33 +1330,18 @@ Not currently in an exception block. - - The argument passed in was not from the same ModuleBuilder. - The specified opcode cannot be passed to EmitCall. Argument passed in is not serializable. - - The filename must not include a path specification. - The object has no underlying COM data associated with it. Uninitialized Strings cannot be created. - - Unmanaged marshal does not have ElementCount. - - - Name can be neither null nor empty. - - - A null StrongName was found in the full trust assembly list. - The object's type must not be a Windows Runtime type. @@ -1837,12 +1384,6 @@ The given path's format is not supported. - - URI formats are not supported. - - - The requested policy file does not exist. - 'preAllocated' is already in use. @@ -1855,9 +1396,6 @@ Label multiply defined. - - UrlMembershipCondition requires an absolute URL. - Token {0:x} is not a valid FieldInfo token in the scope of module {1}. @@ -1882,18 +1420,9 @@ Token {0:x} is not a valid Type token in the scope of module {1}. - - Resource type in the ResourceScope enum is going from a more restrictive resource type to a more general one. From: "{0}" To: "{1}" - The result is out of the supported range for this calendar. The result should be between {0} (Gregorian date) and {1} (Gregorian date), inclusive. - - The date is out of the supported range for the Islamic calendar. The date should be greater than July 18th, 622 AD (Gregorian date). - - - The specified seek offset '{0}' would result in a negative Stream position. - The initial count for the semaphore must be greater than or equal to zero and less than the maximum count. @@ -1939,18 +1468,12 @@ The DaylightTransitionStart property must not equal the DaylightTransitionEnd property. - - Type does not contain the given method. - Field in TypedReferences cannot be static or init only. The type must not be a Windows Runtime type. - - The type must be creatable from COM. - The specified type must be visible from COM. @@ -1969,19 +1492,10 @@ The Type object is not valid. - - Unable to generate permission set; input XML may be malformed. - - - Unexpected error while parsing the specified manifest. - The IL Generator cannot be used while there are unclosed exceptions. - - Supplied MemberInfo does not match the expected type. - Unexpected TypeKind when marshaling Windows.Foundation.TypeName. @@ -2000,9 +1514,6 @@ Unrecognized LOADER_OPTIMIZATION property value. Supported values may include "SingleDomain", "MultiDomain", "MultiDomainHost", and "NotSpecified". - - Identity permissions cannot be unrestricted. - The UTC time represented when the offset is applied must be between year 0 and 10,000. @@ -2015,33 +1526,12 @@ Cannot marshal type '{0}' to Windows Runtime. Only 'System.RuntimeType' is supported. - - '{0}' element required. - - - Operation on type '{0}' attempted with target of incorrect type. - MethodOverride's body must be from this type. The buffer is not associated with this pool and may not be returned to it. - - The binary form of an ACE object is invalid. - - - The binary form of an ACL object is invalid. - - - The SDDL form of a security descriptor object is invalid. - - - The runtime does not support a version of "{0}" less than {1}. - - - Implementations of all the NLS functions must be provided. - Object is not a array with the same number of elements as the array to compare it to. @@ -2051,18 +1541,12 @@ The last element of an eight element tuple must be a Tuple. - - The tuple contains an element of type {0} which does not implement the IComparable interface. - Argument must be of type {0}. The last element of an eight element ValueTuple must be a ValueTuple. - - The application trust cannot be null. - Array cannot be null. @@ -2084,39 +1568,21 @@ Buffer cannot be null. - - Cannot have a null child. - Collection cannot be null. - - CriticalHandle cannot be null. - - - CultureInfo cannot be null. - - - Dictionary cannot be null. - File name cannot be null. Value cannot be null. - - Object Graph cannot be null. - GUID cannot be null. Key cannot be null. - - Member at position {0} was null. - Object cannot be null. @@ -2138,9 +1604,6 @@ Type in TypedReference cannot be null. - - The type parameter cannot be null when scoping the resource's visibility to Private or Assembly. - The waitHandles parameter cannot be null. @@ -2162,27 +1625,15 @@ Higher indices will exceed Int32.MaxValue because of large lower bound and/or length. - - The length of the array must be between {0} and {1}, inclusive. - - - The length of the array must be a multiple of {0}. - Insertion index was out of range. Must be non-negative and less than or equal to size. - - Destination array is not long enough to copy all the required data. Check array length and offset. - Hour, Minute, and Second parameters describe an un-representable DateTime. Year, Month, and Day parameters describe an un-representable DateTime. - - Console.Beep's frequency must be between {0} and {1}. - Larger than collection size. @@ -2198,33 +1649,9 @@ Capacity exceeds maximum capacity. - - The value must be greater than or equal to zero and less than the console's buffer size in that dimension. - - - The console buffer size must not be less than the current size and position of the console window, nor greater than or equal to Int16.MaxValue. - - - Console key values must be between 0 and 255. - - - The console title is too long. - - - The new console window size would force the console buffer size to be too large. - - - The window position must be set such that the current window size fits within the console's buffer, and the numbers must not be negative. - - - The value must be less than the console's current maximum window size of {0} in that dimension. Note that this value depends on screen resolution and the console font. - Count must be positive and count must refer to a location within the string/array/collection. - - The cursor size is invalid. It must be a percentage between 1 and 100. - The added or subtracted value results in an un-representable DateTime. @@ -2297,9 +1724,6 @@ Index and length must refer to a location within the string. - - The specified index is outside the current index range of this collection. - Index was out of range. Must be non-negative and less than the length of the string. @@ -2312,12 +1736,6 @@ A valid low surrogate character is between 0xdc00 and 0xdfff, inclusive. - - The specified threshold for creating dictionary is out of range. - - - User-defined ACEs must not have a well-known ACE type. - A valid UTF32 value is between 0x000000 and 0x10ffff, inclusive, and should not include surrogate codepoint values (0x00d800 ~ 0x00dfff). @@ -2336,12 +1754,6 @@ Index must be within the bounds of the List. - - The total number of parameters must not exceed {0}. - - - The number of String parameters must not exceed {0}. - Month must be between one and twelve. @@ -2378,12 +1790,6 @@ Length cannot be less than zero. - - Length must be non-negative. - - - objectID cannot be less than or equal to zero. - Offset and length must refer to a position in the string. @@ -2402,9 +1808,6 @@ The position may not be greater or equal to the capacity of the accessor. - - Queue grow factor must be between {0} and {1}. - Valid values are between {0} and {1}, inclusive. @@ -2486,9 +1889,6 @@ The builder was not properly initialized. - - The awaitable or awaiter was not properly initialized. - Bad IL format. @@ -2516,9 +1916,6 @@ Corrupt .resources file. Unable to read resources from this file because of invalid header information. Try regenerating the .resources file. - - Corrupt .resources file. The resource index '{0}' is outside the valid range. - Corrupt .resources file. String for name index '{0}' extends past the end of the file. @@ -2528,12 +1925,6 @@ Corrupt .resources file. Resource name extends past the end of the file. - - The type serialized in the .resources file was not the same type that the .resources file said it contained. Expected '{0}' but read '{1}'. - - - Corrupt .resources file. The specified position '{0}' is not a valid position in the stream. - Corrupt .resources file. The specified type doesn't match the available data in the stream. @@ -2570,105 +1961,12 @@ The key already existed in the dictionary. - - The source argument contains duplicate keys. - The key was of an incorrect type for this dictionary. The value was of an incorrect type for this dictionary. - - The count argument must be greater than or equal to zero. - - - The sum of the startIndex and count arguments must be less than or equal to the collection's Count. - - - The startIndex argument must be greater than or equal to zero. - - - The serialization stream contains no elements. - - - Invalid attempt made to decrement the event's count below zero. - - - The increment operation would cause the CurrentCount to overflow. - - - The event is already signaled and cannot be incremented. - - - FlushFinalBlock() method was called twice on a CryptoStream. It can only be called once. - - - Error 0x{0} from the operating system security framework: '{1}'. - - - Error 0x{0} from the operating system security framework. - - - Hash key cannot be changed after the first write to the stream. - - - Hash must be finalized before the hash value is retrieved. - - - Input buffer contains insufficient data. - - - Specified block size is not valid for this algorithm. - - - Specified cipher mode is not valid for this algorithm. - - - Length of the DSA signature was not 40 bytes. - - - {0} is an invalid handle. - - - Specified initialization vector (IV) does not match the block size for this algorithm. - - - Specified key is not a valid size for this algorithm. - - - Object identifier (OID) is unknown. - - - Error occurred while decoding OAEP padding. - - - Salt is not at least eight bytes. - - - The Initialization vector should have the same length as the algorithm block size in bytes. - - - Padding is invalid and cannot be removed. - - - Length of the data to encrypt is invalid. - - - '{0}' is not a known hash algorithm. - - - The certificate export operation failed. - - - Invalid content type. - - - Error occurred while parsing the '{0}' policy level. The default policy level was used instead. - - - Error '{1}' occurred while parsing the '{0}' policy level. The default policy level was used instead. - Barrier finishing phase {1}. @@ -2735,9 +2033,6 @@ Getting out of bounds during scalar addition. - - Event attribute placed on method {0} which does not return 'void'. - Channel {0} does not match event channel value {1}. @@ -2750,9 +2045,6 @@ The type of {0} is not expected in {1}. - - The provider has already been registered with the operating system. - Channel {0} has a value of {1} which is outside the legal range (16-254). @@ -2849,9 +2141,6 @@ Enumerables of custom-serialized data are not supported - - Enum type {0} underlying type {1} is not supported for serialization. - Nested arrays/enumerables are not supported. @@ -2861,24 +2150,12 @@ Opcodes {0} and {1} are defined with the same value ({2}). - - The payload for a single event is too large. - - - Period character ('.') is illegal in an ETW provider name ({0}). - Pins are out of range. Recursive type definition is not supported. - - Keywords values larger than 0x0000100000000000 are reserved for system use - - - Opcode values less than 11 are reserved for system use. - Bit position in AllKeywords ({0}) must equal the command argument named "EtwSessionKeyword" ({1}). @@ -2936,24 +2213,12 @@ An exception was not handled in an AsyncLocal<T> notification callback. - - Undo operation on a component context threw an exception - - - Attribute cannot have multiple definitions. - - - Unable to retrieve security descriptor for this frame. - InitOnly (aka ReadOnly) fields can only be initialized in the type/instance constructor. Could not resolve assembly '{0}'. - - File operation not permitted. Access to path '{0}' is denied. - Duplicate AttributeUsageAttribute found on attribute type {0}. @@ -3059,18 +2324,12 @@ String cannot have zero length. - - The String being parsed cannot contain two TimeZone specifiers. - The string was not recognized as a valid DateTime. There is an unknown word starting at index {0}. The UTC representation of the date falls outside the year range 1-9999. - - GAC - Unicode @@ -3095,18 +2354,6 @@ Unicode (UTF-8) - - Hash - {0} = {1} - - - The demanded resources were: - - - Attempted to perform an operation that was forbidden by the CLR host. - - - The protected resources (only available with full trust) were: - Array does not have that many dimensions. @@ -3170,33 +2417,6 @@ Object in an IPropertyValue is of type '{0}', which cannot be converted to a '{1}'. - - The activation arguments and application trust for the AppDomain must correspond to the same application identity. - - - Attempted to add properties to a frozen context. - - - An anonymous identity cannot perform an impersonation. - - - Failed to set the specified COM apartment state. - - - The API '{0}' cannot be used on the current platform. See http://go.microsoft.com/fwlink/?LinkId=248273 for more information. - - - This API requires the ApplicationBase to be specified explicitly in the AppDomainSetup parameter. - - - Assembly has been loaded as ReflectionOnly. This API requires an assembly capable of execution. - - - Assembly '{0}' has been saved. - - - Cannot perform CAS Asserts in Security Transparent methods - AsyncFlowControl objects can be used to restore flow only on a Context that had its flow suppressed. @@ -3218,34 +2438,15 @@ Method '{0}' cannot have a method body. - - Unable to add resource to transient module or transient assembly. - - - Unable to make a reference to a transient module from a non-transient module. - Type must be declared abstract if any of its methods are abstract. The method cannot be called twice on the same instance. - - Unable to alter assembly information. - - - Only newly captured contexts can be copied - - Unable to import a global method or field from a different module. - - Must override both HostExecutionContextManager.SetHostExecutionContext and HostExecutionContextManager.Revert. - - - Removal is an invalid operation for Stack or Queue. - Cannot remove the last element from an empty collection. @@ -3261,24 +2462,12 @@ AsyncFlowControl object must be used on the thread where it was created. - - Undo operation must be performed on the thread where the corresponding context was Set. - - - Applications may not prevent control-break from terminating their process. - Instances of abstract classes cannot be created. Instances of function pointers cannot be created. - - Cannot save a transient assembly. - - - The Claim '{0}' was not able to be removed. It is either not part of this Identity or it is a claim that is owned by the Principal that contains this Identity. For example, the Principal will own the claim when creating a GenericPrincipal with roles. The roles will be exposed through the Identity that is passed in the constructor, but not actually owned by the Identity. Similar logic exists for a RolePrincipal. - The collection backing this Dictionary contains too many elements. @@ -3288,21 +2477,9 @@ A prior operation on this collection was interrupted by an exception. Collection's state is no longer trusted. - - Computer name could not be obtained. - - - Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek. - - - Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read. - Interface cannot have constructors. - - Context is already frozen. - SecurityTransparent and SecurityCritical attributes cannot be applied to the assembly scope at the same time. @@ -3312,33 +2489,15 @@ Debugger unable to launch. - - The method body of the default constructor cannot be changed. - Unable to access ILGenerator on a constructor created with DefineDefaultConstructor. - - Another property by this name already exists. - - - Queue empty. - - - Stack empty. - - - EndInvoke can only be called once for each asynchronous operation. - EndRead can only be called once for each asynchronous operation. EndWrite can only be called once for each asynchronous operation. - - Entry method is not defined in the same assembly. - Enumeration already finished. @@ -3357,9 +2516,6 @@ Type '{0}' is not a delegate type. EventTokenTable may only be used with delegate types. - - Thread.ExceptionState cannot access an ExceptionState from a different AppDomain. - The generic parameters are already defined on this MethodBuilder. @@ -3378,27 +2534,9 @@ Hashtable insert failed. Load factor too high. The most common cause is multiple threads writing to the Hashtable simultaneously. - - The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag. - Failed to compare two elements in the array. - - Invalid internal state. - - - COM register function must have a System.Type parameter and a void return type. - - - COM unregister function must have a System.Type parameter and a void return type. - - - Metadata operation failed. - - - This method is not supported by the current object. - Type definition of the method is complete. @@ -3408,66 +2546,21 @@ Method already has a body. - - The IAsyncResult object provided does not match this delegate. - - - This access control list is not in canonical form and therefore cannot be modified. - - - Unable to modify a read-only NumberFormatInfo object. - - - Module '{0}' has been saved. - - - Type '{0}' has more than one COM registration function. - - - Type '{0}' has more than one COM unregistration function. - - - This operation must take place on the same thread on which the object was created. - You must call Initialize on this object instance before using it. - - Object must be locked for read or write. - - - Object must be locked for read. - - - Must revert the privilege prior to attempting this operation. - NativeOverlapped cannot be reused for multiple operations. - - Assembly does not have a code base. - - - Assembly does not have an assembly name. In order to be registered for use by COM, an assembly must have a valid assembly name. - You cannot have more than one dynamic module in each dynamic assembly in this version of the runtime. - - COM register function must be static. - - - COM unregister function must be static. - Cannot add the event handler since no public add method exists for the event. Cannot remove the event handler since no public remove method exists for the event. - - The object does not contain a security descriptor. - Not a debug ModuleBuilder. @@ -3480,15 +2573,9 @@ Calling convention must be VarArgs. - - You can only define a dynamic assembly on the current AppDomain. - This operation is only valid on generic types. - - Cannot apply a context that has been marshaled across AppDomains, that was not acquired through a Capture operation or that has already been the argument to a Set call. - Adding or removing event handlers dynamically is not supported on WinRT events. @@ -3510,27 +2597,18 @@ The requested operation is invalid when called on a null ModuleHandle. - - Adding ACEs with Object Flags and Object GUIDs is only valid for directory-object ACLs. - Local variable scope was not properly closed. Cannot pack a packed Overlapped again. - - Primary interop assemblies must be strongly named. - This API does not support PropertyInfo tokens. Instance is read-only. - - Registry key has subkeys and recursive removes are not supported by this method. - '{0}': ResourceSet derived classes must provide a constructor that takes a String file name and a constructor that takes a Stream. @@ -3543,36 +2621,15 @@ Resource was of type '{0}' instead of String - call GetObject instead. - - The resource writer has already been closed and cannot be edited. - - - An additional permission should not be supplied for setting loader information. - - - SetData cannot be used to set the value for '{0}'. - SetData can only be used to set the value of a given name once. - - Volume labels can only be set for writable local volumes. - Method body should not exist. - - LocalDataStoreSlot storage has been freed. - A strong name key pair is required to emit a strong-named dynamic assembly. - - The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone). - - - Use CompressedStack.(Capture/Run) or ExecutionContext.(Capture/Run) APIs instead. - The thread was created with a ThreadStart delegate that does not accept a parameter. @@ -3588,24 +2645,9 @@ Type has not been created. - - This range in the underlying list is invalid. A possible cause is that elements were removed. - - - Unexpected error when calling an operating system function. The returned error code is 0x{0:x}. - Unknown enum type. - - UserDomainName native call failed. - - - Cannot wait on a transparent proxy. - - - This API is not available when AppDomain Resource Monitoring is not turned on. - This property has already been set and cannot be modified. @@ -3618,9 +2660,6 @@ Either the IAsyncResult object did not come from the corresponding async method on this type, or EndWrite was called multiple times with the same IAsyncResult. - - Actor cannot be set so that circular directed graph will exist chaining the subjects together. - Common Language Runtime detected an invalid program. @@ -3630,9 +2669,6 @@ The time zone ID '{0}' was found on the local computer, but the registry information was corrupt. - - The Local time zone was found on the local computer, but the data was corrupt. - Julian dates in POSIX strings are unsupported. @@ -3672,9 +2708,6 @@ BindHandle for ThreadPool failed on this handle. - - The specified directory '{0}' cannot be created. - The file '{0}' already exists. @@ -3693,9 +2726,6 @@ BinaryReader encountered an invalid string length of {0} characters. - - There is no console. - <Path discovery permission to the specified directory was denied.> @@ -3714,12 +2744,6 @@ The process cannot access the file because it is being used by another process. - - Source and destination path must be different. - - - Source and destination path must have identical roots. Move will not work across volumes. - Stream was too long. @@ -3732,30 +2756,15 @@ The specified file name or path is too long, or a component of the specified path is too long. - - A StreamWriter was not closed and all buffered data within that StreamWriter was not flushed to the underlying stream. (This was detected when the StreamWriter was finalized with data in its buffer.) A portion of the data was lost. Consider one of calling Close(), Flush(), setting the StreamWriter's AutoFlush property to true, or allocating the StreamWriter with a "using" statement. Stream type: {0}\r\nFile name: {1}\r\nAllocated from:\r\n {2} - - - callstack information is not captured by default for performance reasons. Please enable captureAllocatedCallStack config switch for streamWriterBufferedDataLost MDA (refer to MSDN MDA documentation for how to do this). - [Unknown] The lazily-initialized type does not have a public, parameterless constructor. - - The Value cannot be null. - - - The info argument is null. - The mode argument specifies an invalid value. - - The valueSelector argument is null. - ValueFactory returned null. @@ -3768,18 +2777,12 @@ Context Policies: - - Relative path must be a string that contains the substring, "..", or does not contain a root directory. - Name: There are no context policies. - - {0} of .NET Framework assemblies is not supported in AppX. - The spinCount argument must be in the range 0 to {0}, inclusive. @@ -3834,27 +2837,18 @@ Method '{0}' not found. - - Module '{0}' not found. - The satellite assembly named "{1}" for fallback culture "{0}" either could not be found or could not be loaded. This is generally a setup problem. Please consider reinstalling or repairing the application. Resource lookup fell back to the ultimate fallback resources in a satellite assembly, but that satellite either was not found or could not be loaded. Please consider reinstalling or repairing the application. - - Type '{0}' not found. - Delegates that are not of type MulticastDelegate may not be combined. An assembly (probably "{1}") must be rewritten using the code contracts binary rewriter (CCRewrite) because it is calling Contract.{0} and the CONTRACTS_FULL symbol is defined. Remove any explicit definitions of the CONTRACTS_FULL symbol from your project and rebuild. CCRewrite can be downloaded from http://go.microsoft.com/fwlink/?LinkID=169180. \r\nAfter the rewriter is installed, it can be enabled in Visual Studio from the project's Properties page on the Code Contracts pane. Ensure that "Perform Runtime Contract Checking" is enabled, which will define CONTRACTS_FULL. - - [{0}]\r\nArguments: {1}\r\nDebugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663AndVersion={2}AndFile={3}AndKey={4} - Resource files longer than 2^63 bytes are not currently implemented. @@ -3864,15 +2858,6 @@ Activation Attributes are not supported. - - Activation Attributes are not supported for types not deriving from MarshalByRefObject. - - - Activation Attributes not supported for COM Objects. - - - The operation is ambiguous because the permission represents multiple identities. - {0} is not supported in AppX. @@ -3900,18 +2885,9 @@ GetHashCode() on Span and ReadOnlySpan is not supported. - - Unable to save a ModuleBuilder if it was created underneath an AssemblyBuilder. Call Save on the AssemblyBuilder instead. - - - Cannot write to a BufferedStream while the read buffer is not empty if the underlying stream is not seekable. Ensure that the stream underlying this BufferedStream can seek or avoid interleaving read and write operations on this BufferedStream. - ChangeType operation is not supported. - - The ISO-2022-CN Encoding (Code page 50229) is not supported. - Resolving to a collectible assembly is not supported. @@ -3933,15 +2909,6 @@ Only one DBNull instance may exist, and calls to DBNull deserialization methods are not allowed. - - Declarative unionizing of these permissions is not supported. - - - Assert, Deny, and PermitOnly are not supported on methods with a Vararg calling convention. - - - Application code cannot use Activator.CreateInstance to create types that derive from System.Delegate. Delegate.CreateDelegate can be used instead. - Delegates cannot be marshaled from native code into a domain other than their home domain. @@ -3960,9 +2927,6 @@ The invoked member is not supported in a dynamic module. - - File encryption support only works on NTFS partitions. - FileStream was asked to open a device that was not a file. For support for devices like 'com1:' or 'lpt1:', call CreateFile, then use the FileStream constructors that take an OS handle as an IntPtr. @@ -3972,12 +2936,6 @@ Generic methods with NativeCallableAttribute are not supported. - - The 'get' method is not supported on this property. - - - The type definition of the global function is not completed. - Serialization of global methods (including implicit serialization via the use of asynchronous delegates) is not supported. @@ -3987,39 +2945,27 @@ Illegal one-byte branch at position: {0}. Requested branch was: {1}. - - A type must implement IComparable<T> or IComparable to support comparison. - Mutating a key collection derived from a dictionary is not allowed. + + Arrays of System.Void are not supported. + Cannot create uninitialized instances of types requiring managed activation. - - The arithmetic type '{0}' does not have a maximum value. - The number of WaitHandles must be less than or equal to 64. Memory stream is not expandable. - - Method is not supported. - - - The arithmetic type '{0}' does not have a minimum value. - Module argument must be a ModuleBuilder. Methods with NativeCallableAttribute cannot be used as delegate target. - - The arithmetic type '{0}' cannot represent negative infinity. - No data is available for encoding {0}. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. @@ -4032,18 +2978,9 @@ Non-static methods with NativeCallableAttribute are not supported. - - UrlAttribute is the only attribute supported for MarshalByRefObject. - Parent does not have a default constructor. The default constructor must be explicitly defined. - - Type '{0}' was not completed. - - - The MethodRental.SwapMethodBody method can only be called to swap the method body of a method in a dynamic module. - Cannot resolve {0} to a TypeInfo object. @@ -4056,9 +2993,6 @@ The given Variant type is not supported by this OleAut function. - - The arithmetic type '{0}' cannot represent the number one. - Cannot create arrays of open type. @@ -4068,42 +3002,18 @@ A Primary Interop Assembly is not supported in AppX. - - This Surrogate does not support PopulateData(). - - - The arithmetic type '{0}' cannot represent positive infinity. - - - The specified operation is not supported on Ranges. - Accessor does not support reading. Collection is read-only. - - Type.ReflectionOnlyGetType is not supported. - - - Assembly.ReflectionOnlyLoad is not supported. - Cannot read resources that depend on serialization. - - Union is not implemented. - - - The 'set' method is not supported on this property. - SignalAndWait on a STA thread is not supported. - - This operation is not supported on SortedList nested types because they require modifying the original SortedList. - The string comparison type passed in is currently not supported. @@ -4137,33 +3047,18 @@ Stream does not support reading. - - This accessor was created with a SafeBuffer; use the SafeBuffer to gain access to the pointer. - Stream does not support seeking. Stream does not support writing. - - COM Interop is not supported for user-defined types. - - - DllImport cannot be used on user-defined methods. - Custom marshalers for value types are not currently supported. Mutating a value collection derived from a dictionary is not allowed. - - Arrays of System.Void are not supported. - - - WaitAll for multiple handles on a STA thread is not supported. - Windows Runtime is not supported in partial trust. @@ -4173,9 +3068,6 @@ This .resources file should not be read with this reader. The resource reader type is "{0}". - - The arithmetic type '{0}' cannot represent the number zero. - The pointer for this method was null. @@ -4203,15 +3095,9 @@ Cannot access a closed accessor. - - Cannot write to a closed TextWriter. - The operation was canceled. - - GetPartitions returned an incorrect number of partitions. - The GCHandle MDA has run out of available cookies. @@ -4269,39 +3155,6 @@ Value was either too large or too small for a UInt64. - - The Partitioner source returned a null enumerator. - - - This method requires the use of an OrderedPartitioner with the KeysNormalized property set to true. - - - The Partitioner used here must support dynamic partitioning. - - - The Partitioner used here returned a null partitioner source. - - - One of the actions was null. - - - Break was called after Stop was called. - - - This method is not supported. - - - Stop was called after Break was called. - - - Dynamic partitions are not supported by this partitioner. - - - Can not call GetEnumerator on partitions after the source enumerable is disposed - - - MoveNext must be called at least once before calling Current. - ArgIterator is not supported on this platform. @@ -4323,36 +3176,18 @@ Remoting is not supported on this platform. - - This operation is only supported on Windows Vista and above. - - - This operation is only supported on Windows 2000, Windows XP, and higher. - - - This operation is only supported on Windows 2000 SP3 or later operating systems. - Secure binary serialization is not supported on this platform. - Strong name signing is not supported on this platform. + Strong-name signing is not supported on this platform. Windows Runtime is not supported on this operating system. - - ApplicationTrust grant set does not contain ActivationContext's minimum request set. - All assemblies loaded as part of AppDomain initialization must be fully trusted. - - Error occurred while performing a policy operation. - - - PolicyLevel object not based on a file cannot be saved. - Postcondition failed. @@ -4371,57 +3206,15 @@ Precondition failed: {0} - - The process does not possess some privilege required for this operation. - - - The process does not possess the '{0}' privilege which is required for this operation. - - - Publisher - Only single dimension arrays are supported here. The specified arrays must have the same number of dimensions. - - Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. - - - The target application domain has been unloaded. - The application domain in which the thread was running has been unloaded. - - Pointer types cannot be passed in a remote call. - - - The delegate must have only one target. - - - The context is not valid. - - - An attempt was made to calculate the address of a value type field on a remote object. This was likely caused by an attempt to directly get or set the value of a field within this embedded value type. Avoid this and instead provide and use access methods for each field in the object that will be accessed remotely. - - - Bad return value or out-argument inside the return message. - - - Permission denied: cannot call non-public or static methods remotely. - - - classToProxy argument must derive from MarshalByRef type. - - - The transparent proxy field of a real proxy must be null. - - - The given type cannot be passed in a remote call. - ResourceReader is closed. @@ -4455,9 +3248,6 @@ Non-static method requires a target. - - Caller is not a friend. - An object that does not derive from System.Exception has been wrapped in a RuntimeWrappedException. @@ -4467,19 +3257,6 @@ The time zone ID '{0}' was found on the local computer, but the application does not have permission to read the registry information. - - Request for the permission of type '{0}' failed. - - - Request failed. - - - Stack walk modifier must be reverted before another modification of the same type can be performed. - - - - That assembly does not allow partially trusted callers. - Requested registry access is not allowed. @@ -4588,9 +3365,6 @@ Cannot get the member '{0}'. - - Site - The calling thread does not hold the lock. @@ -4615,24 +3389,12 @@ in {0}:line {1} - - name = {0} - - - StrongName - {0}{1}{2} - - - version = {0} - The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running. The specified TaskContinuationOptions excluded all continuation kinds. - - (Internal)An attempt was made to create a LongRunning SelfReplicating task. - The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue. @@ -4648,12 +3410,6 @@ It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync. - - It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync. - - - FromAsync was called with a TaskManager that had already shut down. - The tasks argument contains no tasks. @@ -4693,9 +3449,6 @@ The tasks array included at least one null element. - - The awaited task has not yet completed. - A task was canceled. @@ -4711,9 +3464,6 @@ (Internal)Expected an Exception or an IEnumerable<Exception> - - ExecuteTask may not be called for a task which was already executed. - ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler. @@ -4726,15 +3476,9 @@ An exception was thrown by a TaskScheduler. - - It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>. - {Not yet computed} - - A task's Exception may only be set directly if the task was created without a function. - An attempt was made to transition a task to a final state when it had already completed. @@ -4762,9 +3506,6 @@ The ThreadLocal object is not tracking values. To use the Values property, use a ThreadLocal constructor that accepts the trackAllValues parameter and set the parameter to true. - - Unable to reset abort because no abort was requested. - The time zone ID '{0}' was not found on the local computer. @@ -4774,9 +3515,6 @@ The type initializer for '{0}' threw an exception. - - Assembly imported from type library '{0}'. - Could not resolve nested type '{0}' in type "{1}'. @@ -4807,52 +3545,10 @@ Unknown error "{0}". - - Url - Operation could destabilize the runtime. - - The weak reference is no longer valid. - at - - Invalid XML in file '{0}' near element '{1}'. - - - Expected > character. - - - Expected / character or string. - - - Invalid syntax. - - - Invalid XML in file "{0}" near element "{1}". The <satelliteassemblies> section only supports <assembly> tags. - - - Invalid XML in file "{0}" near "{1}" and "{2}". In the <satelliteassemblies> section, the <assembly> tag must have exactly 1 attribute called 'name', whose value is a fully-qualified assembly name. - - - Invalid XML in file "{0}". In the <satelliteassemblies> section, the <assembly> tag must have exactly 1 attribute called 'name', whose value is a fully-qualified assembly name. - - - Invalid syntax on line {0}. - - - Invalid syntax on line {0} - '{1}'. - - - Unexpected > character. - - - Unexpected end of file. - - - Zone - {0} - - + diff --git a/src/coreclr/src/mscorlib/src/System/Threading/SemaphoreSlim.cs b/src/coreclr/src/mscorlib/src/System/Threading/SemaphoreSlim.cs index 98bbc53..97bbae1 100644 --- a/src/coreclr/src/mscorlib/src/System/Threading/SemaphoreSlim.cs +++ b/src/coreclr/src/mscorlib/src/System/Threading/SemaphoreSlim.cs @@ -178,13 +178,13 @@ namespace System.Threading if (initialCount < 0 || initialCount > maxCount) { throw new ArgumentOutOfRangeException( - nameof(initialCount), initialCount, GetResourceString("SemaphoreSlim_ctor_InitialCountWrong")); + nameof(initialCount), initialCount, SR.SemaphoreSlim_ctor_InitialCountWrong); } //validate input if (maxCount <= 0) { - throw new ArgumentOutOfRangeException(nameof(maxCount), maxCount, GetResourceString("SemaphoreSlim_ctor_MaxCountWrong")); + throw new ArgumentOutOfRangeException(nameof(maxCount), maxCount, SR.SemaphoreSlim_ctor_MaxCountWrong); } m_maxCount = maxCount; @@ -241,7 +241,7 @@ namespace System.Threading if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) { throw new System.ArgumentOutOfRangeException( - nameof(timeout), timeout, GetResourceString("SemaphoreSlim_Wait_TimeoutWrong")); + nameof(timeout), timeout, SR.SemaphoreSlim_Wait_TimeoutWrong); } // Call wait with the timeout milliseconds @@ -271,7 +271,7 @@ namespace System.Threading if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) { throw new System.ArgumentOutOfRangeException( - nameof(timeout), timeout, GetResourceString("SemaphoreSlim_Wait_TimeoutWrong")); + nameof(timeout), timeout, SR.SemaphoreSlim_Wait_TimeoutWrong); } // Call wait with the timeout milliseconds @@ -314,7 +314,7 @@ namespace System.Threading if (millisecondsTimeout < -1) { throw new ArgumentOutOfRangeException( - nameof(millisecondsTimeout), millisecondsTimeout, GetResourceString("SemaphoreSlim_Wait_TimeoutWrong")); + nameof(millisecondsTimeout), millisecondsTimeout, SR.SemaphoreSlim_Wait_TimeoutWrong); } cancellationToken.ThrowIfCancellationRequested(); @@ -575,7 +575,7 @@ namespace System.Threading if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) { throw new System.ArgumentOutOfRangeException( - nameof(timeout), timeout, GetResourceString("SemaphoreSlim_Wait_TimeoutWrong")); + nameof(timeout), timeout, SR.SemaphoreSlim_Wait_TimeoutWrong); } // Call wait with the timeout milliseconds @@ -608,7 +608,7 @@ namespace System.Threading if (millisecondsTimeout < -1) { throw new ArgumentOutOfRangeException( - nameof(millisecondsTimeout), millisecondsTimeout, GetResourceString("SemaphoreSlim_Wait_TimeoutWrong")); + nameof(millisecondsTimeout), millisecondsTimeout, SR.SemaphoreSlim_Wait_TimeoutWrong); } // Bail early for cancellation @@ -772,7 +772,7 @@ namespace System.Threading if (releaseCount < 1) { throw new ArgumentOutOfRangeException( - nameof(releaseCount), releaseCount, GetResourceString("SemaphoreSlim_Release_CountWrong")); + nameof(releaseCount), releaseCount, SR.SemaphoreSlim_Release_CountWrong); } int returnCount; @@ -906,7 +906,7 @@ namespace System.Threading { if (m_lockObj == null) { - throw new ObjectDisposedException(null, GetResourceString("SemaphoreSlim_Disposed")); + throw new ObjectDisposedException(null, SR.SemaphoreSlim_Disposed); } }