From c9a11fe55c314ee28f2f278a1152144978eaec4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Strehovsk=C3=BD?= Date: Fri, 18 Dec 2020 14:26:28 +0100 Subject: [PATCH] Garbage collect CoreLib resource strings (#46121) Most seem to be orphaned after the deletion of Utf8String and built-in WinRT support. --- .../src/Resources/Strings.resx | 84 ---------------------- 1 file changed, 84 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx index fb707d1..920a884 100644 --- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx +++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx @@ -295,9 +295,6 @@ Array may not be empty. - - String may not be empty or null. - Attempted to read past the end of the stream. @@ -460,9 +457,6 @@ Attempt to access the method failed. - - Attempt to access the method "{0}" on type "{1}" failed. - Attempted to access a non-existing field. @@ -607,12 +601,6 @@ No parameterless constructor defined for type '{0}'. - - Specified TypeInfo was invalid because it did not support the ITypeInfo interface. - - - Specified TypeLib was invalid because it did not support the ITypeLib interface. - The lower bound of target array must be zero. @@ -799,9 +787,6 @@ Version string portion was too short or too long. - - IAsyncResult object did not come from the corresponding async method on this type. - The value "{0}" is not of type "{1}" and cannot be used in this generic collection. @@ -1090,9 +1075,6 @@ The specified index is out of bounds of the specified array. - - The specified space is not sufficient to copy the elements from this Collection. - 'this' type cannot be an interface itself. @@ -1513,9 +1495,6 @@ Type name was too long. The fully qualified type name must be less than 1,024 characters. - - Type '{0}' does not have an activation factory because it is not activatable by Windows Runtime. - The type must be __ComObject or be derived from __ComObject. @@ -1525,9 +1504,6 @@ The IL Generator cannot be used while there are unclosed exceptions. - - Unexpected TypeKind when marshaling Windows.Foundation.TypeName. - Unknown unmanaged calling convention for function signature. @@ -1606,9 +1582,6 @@ Value cannot be null. - - GUID cannot be null. - Key cannot be null. @@ -1738,9 +1711,6 @@ Index and count must refer to a location within the buffer. - - This collection cannot work with indices larger than Int32.MaxValue - 1 (0x7FFFFFFF - 1). - Index and length must refer to a location within the string. @@ -2422,9 +2392,6 @@ A resolver is already set for the assembly. - - Cannot remove the last element from an empty collection. - Cannot restore context flow when it is not suppressed. @@ -2443,12 +2410,6 @@ Instances of function pointers cannot be created. - - The collection backing this Dictionary contains too many elements. - - - The collection backing this List contains too many elements. - A prior operation on this collection was interrupted by an exception. Collection's state is no longer trusted. @@ -2467,12 +2428,6 @@ Unable to access ILGenerator on a constructor created with DefineDefaultConstructor. - - EndRead can only be called once for each asynchronous operation. - - - EndWrite can only be called once for each asynchronous operation. - Enumeration already finished. @@ -2488,9 +2443,6 @@ This API does not support EventInfo tokens. - - Type '{0}' is not a delegate type. EventTokenTable may only be used with delegate types. - The generic parameters are already defined on this MethodBuilder. @@ -2770,12 +2722,6 @@ Could not find any resources appropriate for the specified culture (or the neutral culture) on disk. - - Unable to open Package Resource Index. - - - Unable to load resources for resource file "{0}" in package "{1}". - Member not found. @@ -2809,9 +2755,6 @@ Activation Attributes are not supported. - - {0} is not supported in AppX. - Assembly.LoadFrom with hashValue is not supported. @@ -2935,9 +2878,6 @@ Output streams do not support TypeBuilders. - - A Primary Interop Assembly is not supported in AppX. - The specified operation is not supported on Ranges. @@ -3652,30 +3592,6 @@ Attempt to update previously set global instance. - - The callback populated its buffer with ill-formed UTF-8 data. Callbacks are required to populate the buffer only with well-formed UTF-8 data. - - - The input buffer contained ill-formed UTF-16 data. - - - The input buffer contained ill-formed UTF-8 data. - - - Cannot create the desired substring because it would split a multi-byte UTF-8 subsequence. - - - Cannot call Utf8Span.Equals(object). Use Equals(Utf8Span) or operator == instead. - - - UTF-16 surrogate code points (U+D800..U+DFFF) are disallowed. - - - Argument cannot be an empty span. - - - Argument cannot be null or empty. - Length of items must be same as length of keys. -- 2.7.4