Clean up code with NET8_0_OR_GREATER
#109507
+5
−9
Merged
Azure Pipelines / runtime (Build windows-x86 Release Libraries_NET48)
failed
Nov 6, 2024 in 4m 51s
Build windows-x86 Release Libraries_NET48 failed
Annotations
azure-pipelines / runtime (Build windows-x86 Release Libraries_NET48)
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-x86 Release Libraries_NET48)
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-x86 Release Libraries_NET48)
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-x86 Release Libraries_NET48)
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