Clean up code with NET8_0_OR_GREATER
#109507
+5
−9
Merged
Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)
failed
Nov 6, 2024 in 28m 31s
Build linux_musl-x64 Debug CoreCLR_Libraries failed
Annotations
azure-pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)
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 (Build linux_musl-x64 Debug CoreCLR_Libraries)
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 (Build linux_musl-x64 Debug CoreCLR_Libraries)
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 (Build linux_musl-x64 Debug CoreCLR_Libraries)
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