Add [SupportedOSPlatform] to all assemblies

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-07 21:01:59 +02:00
1 親 af71ac1902
コミット a9b1afe9de
24ファイル変更
+51 -11

検索条件に一致するファイルはありません

+7
ファイルの表示
@@ -1,7 +1,14 @@
using System.Diagnostics;
using System.Linq;
#if NET6_0_OR_GREATER
using System.Runtime.Versioning;
#endif
using ComputeSharp;
#if NET6_0_OR_GREATER
[assembly: SupportedOSPlatform("windows6.2")]
#endif
float[] array = Enumerable.Range(1, 100).Select(static i => (float)i).ToArray();
// Create the graphics buffer