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