From 12f42493ecf3dc1b158ede374d732f42323c0372 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Wed, 18 May 2022 11:10:32 -0400 Subject: [PATCH] chore: Add comment in conditional compilation exclusion --- .../SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs index d0f106998fe..21f4a9dbaf3 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs @@ -1,4 +1,7 @@ #if !__WATCHOS__ && !__WASM__ && (!UNO_REFERENCE_API || (NET6_0_OR_GREATER && (__IOS__ || __MACOS__))) +// Note that `(!UNO_REFERENCE_API || (NET6_0_OR_GREATER && (__IOS__ || __MACOS__)))` is required +// because of https://github.com/unoplatform/uno/issues/8814, where !UNO_REFERENCE_API should be enough. + using System.Runtime.InteropServices; namespace SkiaSharp.Views.GlesInterop