Remove or document Unsafe.AsPointer uses in core libraries #99146
Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)
failed
Mar 4, 2024 in 13m 15s
Build CoreCLR Product Build linux_musl arm checked failed
Annotations
azure-pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/NativeRuntimeEventSource.Threading.NativeSinks.cs#L363
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/NativeRuntimeEventSource.Threading.NativeSinks.cs(363,63): error CS8604: (NETCORE_ENGINEERING_TELEMETRY=Build) Possible null reference argument for parameter 'o' in 'nint EventSource.ObjectIDForEvents(object o)'.
azure-pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs#L1127
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1127,28): error CS0214: (NETCORE_ENGINEERING_TELEMETRY=Build) Pointers and fixed size buffers may only be used in an unsafe context
azure-pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs#L1127
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1127,22): error CS0214: (NETCORE_ENGINEERING_TELEMETRY=Build) Pointers and fixed size buffers may only be used in an unsafe context
azure-pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs#L1127
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1127,21): error CS0214: (NETCORE_ENGINEERING_TELEMETRY=Build) Pointers and fixed size buffers may only be used in an unsafe context
Loading