Clean up code with NET8_0_OR_GREATER
#109507
Merged
Azure Pipelines / runtime (Build windows-x64 Debug CoreCLR_Libraries)
failed
Nov 6, 2024 in 33m 8s
Build windows-x64 Debug CoreCLR_Libraries failed
Annotations
azure-pipelines / runtime (Build windows-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 windows-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 windows-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 windows-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