We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I missed this in dotnet/coreclr#23166. Current it's defined as:
https://github.com/dotnet/coreclr/blob/b8d5b7b760f64d39e00554189ea0e5c66ed6bd62/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs#L72
But it should be something like:
public void AddRange(IEnumerable<T> collection) { if (items.IsReadOnly) { ThrowHelper.ThrowNotSupportedException(ExceptionResource.NotSupported_ReadOnlyCollection); } if (collection == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.collection); } int index = items.Count; InsertItemsRange(index, collection!); // TODO-NULLABLE: Remove ! when [DoesNotReturn] respected }
The text was updated successfully, but these errors were encountered:
This APIs got deleted because of: https://github.com/dotnet/corefx/issues/38085 -- so this should be considered when adding them back again as part of: https://github.com/dotnet/corefx/issues/10752
Sorry, something went wrong.
No branches or pull requests
I missed this in dotnet/coreclr#23166. Current it's defined as:
https://github.com/dotnet/coreclr/blob/b8d5b7b760f64d39e00554189ea0e5c66ed6bd62/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs#L72
But it should be something like:
The text was updated successfully, but these errors were encountered: