diff --git a/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Resources/Strings.resx b/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Resources/Strings.resx index 4995f4ce280418..957cfd83bad7c7 100644 --- a/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Resources/Strings.resx +++ b/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Resources/Strings.resx @@ -120,27 +120,9 @@ '{0}' is missing native code or metadata. This can happen for code that is not compatible with trimming or AOT. Inspect and fix trimming and AOT related warnings that were generated when the app was published. For more information see https://aka.ms/nativeaot-compatibility - - Cannot bind to the target method because its signature is not compatible with that of the delegate type. - - - Array may not be empty. - - - Member not found. - - - Hashtable's capacity overflowed and went negative. Check load factor, capacity and the current size of the table. - - - Nullable object must have a value. - Non-static field requires a target. - - Constructor on type '{0}' not found. - Multidimensional arrays of rank {0} are not supported. @@ -153,9 +135,6 @@ Dynamic invocation of delegate constructors is not supported on this runtime. - - An item with the same key has already been added. - An item with the same key has already been added. Key: {0} @@ -168,30 +147,6 @@ '{0}', on '{1}' violates the constraint of type '{2}'. - - At least one object must implement IComparable. - - - The stream is currently in use by a previous operation on the stream. - - - Stream was not readable. - - - Cannot read from a closed TextReader. - - - Positive number required. - - - Buffer cannot be null. - - - Non-negative number required. - - - Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. - Cannot set a constant field. diff --git a/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/System.Private.Reflection.Execution.csproj b/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/System.Private.Reflection.Execution.csproj index 5648a7deed20c2..3a70b9965a124f 100644 --- a/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/System.Private.Reflection.Execution.csproj +++ b/src/coreclr/nativeaot/System.Private.Reflection.Execution/src/System.Private.Reflection.Execution.csproj @@ -67,8 +67,5 @@ Internal\LowLevelLinq\LowLevelEnumerable.ToArray.cs - - System\Collections\HashHelpers.cs - diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx index 23635bf8653aab..8d6acae094adc5 100644 --- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx +++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx @@ -2739,7 +2739,7 @@ Underlying type information on enumeration is not specified. - Nullable object must have a value. + Cannot read the Value property of a Nullable object that has no value. Check HasValue before reading Value. The underlying array is null.