Add ArgumentOutOfRangeException.ThrowIf{Not}Equal (#83853)
authorStephen Toub <stoub@microsoft.com>
Thu, 6 Apr 2023 02:33:21 +0000 (22:33 -0400)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2023 02:33:21 +0000 (22:33 -0400)
commitaca3fcc1ef018f72cad4d9f153bcf81eeddd5c65
treeeacf3179c56666bf7e35a165fedc0ddb3f69ce26
parent2d05a601cdf84ebcad355f9814e923b93f7ab5d1
Add ArgumentOutOfRangeException.ThrowIf{Not}Equal (#83853)

* Add ArgumentOutOfRangeException.ThrowIf{Not}Equal

* Address PR feedback

* Address PR feedback
15 files changed:
src/coreclr/System.Private.CoreLib/src/Internal/Runtime/InteropServices/InMemoryAssemblyLoader.cs
src/libraries/System.Linq.Expressions/src/Resources/Strings.resx
src/libraries/System.Linq.Expressions/src/System/Dynamic/DynamicMetaObjectBinder.cs
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/DebugInfoExpression.cs
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Error.cs
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Strings.cs
src/libraries/System.ObjectModel/src/System/Collections/Specialized/NotifyCollectionChangedEventArgs.cs
src/libraries/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs
src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
src/libraries/System.Private.CoreLib/src/System/ArgumentOutOfRangeException.cs
src/libraries/System.Private.Uri/src/System/UriScheme.cs
src/libraries/System.Private.Xml/src/System/Xml/Dom/XmlNamedNodeMap.SmallXmlNodeList.cs
src/libraries/System.Private.Xml/src/System/Xml/Schema/XmlSchemaCollection.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System/ArgumentOutOfRangeExceptionTests.cs