diff --git a/src/ImageSharp/Advanced/AotCompilerTools.cs b/src/ImageSharp/Advanced/AotCompilerTools.cs index 63cc912eb..2d893e406 100644 --- a/src/ImageSharp/Advanced/AotCompilerTools.cs +++ b/src/ImageSharp/Advanced/AotCompilerTools.cs @@ -223,7 +223,7 @@ internal static class AotCompilerTools } /// - /// Seeds every bulk operation exposed by . + /// Seeds the selected methods required by Mono WASM AOT. /// /// The pixel format. [Preserve] @@ -232,8 +232,7 @@ internal static class AotCompilerTools { // These default arguments are never consumed. Direct calls are required so the IL contains the exact closed // MethodSpecs that Mono WASM AOT can otherwise miss when following static-abstract pixel dispatch indirectly. - _ = PixelOperations.Instance; - PixelOperations operations = default; + PixelOperations operations = PixelOperations.Instance; _ = operations.GetPixelTypeInfo(); _ = operations.GetPixelBlender(default(GraphicsOptions));