Remove or document Unsafe.AsPointer uses in core libraries #99146
Azure Pipelines / runtime (Build browser-wasm linux Release SingleThreaded_BuildOnly)
failed
Mar 4, 2024 in 8m 32s
Build browser-wasm linux Release SingleThreaded_BuildOnly failed
Annotations
azure-pipelines / runtime (Build browser-wasm linux Release SingleThreaded_BuildOnly)
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/NativeRuntimeEventSource.Threading.cs#L560
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/NativeRuntimeEventSource.Threading.cs(560,63): error CS8604: (NETCORE_ENGINEERING_TELEMETRY=Build) Possible null reference argument for parameter 'o' in 'nint EventSource.ObjectIDForEvents(object o)'.
azure-pipelines / runtime (Build browser-wasm linux Release SingleThreaded_BuildOnly)
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 browser-wasm linux Release SingleThreaded_BuildOnly)
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 browser-wasm linux Release SingleThreaded_BuildOnly)
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