Clean up code with NET8_0_OR_GREATER
#109507
Merged
Azure Pipelines / runtime-dev-innerloop
failed
Nov 6, 2024 in 47m 4s
Build #20241106.12 failed
Annotations
azure-pipelines / runtime-dev-innerloop
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/CollectionHelpers.cs#L12
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/CollectionHelpers.cs(12,35): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
azure-pipelines / runtime-dev-innerloop
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/CollectionHelpers.cs#L23
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/CollectionHelpers.cs(23,41): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ArgumentOutOfRangeException' does not contain a definition for 'ThrowIfNegative'
azure-pipelines / runtime-dev-innerloop
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/CollectionHelpers.cs#L24
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/CollectionHelpers.cs(24,41): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ArgumentOutOfRangeException' does not contain a definition for 'ThrowIfGreaterThan'
azure-pipelines / runtime-dev-innerloop
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ICollectionDebugView.cs#L14
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ICollectionDebugView.cs(14,35): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
Loading