From 204feae907fdee550ff6a02ad5f186595a11dc7b Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Thu, 12 Oct 2023 12:00:55 -0700 Subject: [PATCH] Mark TensorPrimitives as unsafe --- .../src/System/Numerics/Tensors/TensorPrimitives.netcore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netcore.cs b/src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netcore.cs index 8166797f348969..954f4924d81c63 100644 --- a/src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netcore.cs +++ b/src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netcore.cs @@ -11,7 +11,7 @@ namespace System.Numerics.Tensors { - public static partial class TensorPrimitives + public static unsafe partial class TensorPrimitives { private const nuint NonTemporalByteThreshold = 256 * 1024;