From 83d52d5f79f0f14b57e90346bd40de9012b3b1bc Mon Sep 17 00:00:00 2001 From: Shane Woolcock Date: Thu, 13 Dec 2018 18:42:16 +1030 Subject: [PATCH] Seed unsafe calls from the static constructor. --- src/ImageSharp/Advanced/AotCompilerTools.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ImageSharp/Advanced/AotCompilerTools.cs b/src/ImageSharp/Advanced/AotCompilerTools.cs index 9f20704cf..c9c0e4014 100644 --- a/src/ImageSharp/Advanced/AotCompilerTools.cs +++ b/src/ImageSharp/Advanced/AotCompilerTools.cs @@ -18,10 +18,7 @@ namespace SixLabors.ImageSharp.Advanced /// public static class AotCompilerTools { - /// - /// Seeds the calls. - /// - public static void SeedUnsafe() + static AotCompilerTools() { System.Runtime.CompilerServices.Unsafe.SizeOf(); System.Runtime.CompilerServices.Unsafe.SizeOf();