Switch UWP sample to PolySharp, remove local polyfill

このコミットが含まれているのは:
Sergio Pedri committed 2023-01-15 16:28:25 +01:00
1 親 a09a817b5c
コミット 4ea8eda979
2ファイル変更
+6 -18

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

+6 -2
ファイルの表示
@@ -80,7 +80,6 @@
</Compile>
<Compile Include="Assets\ServiceTokens\App.AppCenter.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\SkipLocalsInitAttribute.cs" />
<Compile Include="Services\AppCenterService.cs" />
<Compile Include="Views\MainView.xaml.cs">
<DependentUpon>MainView.xaml</DependentUpon>
@@ -160,7 +159,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm">
<Version>8.0.0</Version>
<Version>8.1.0-preview3</Version>
</PackageReference>
<PackageReference Include="Microsoft.AppCenter.Analytics">
<Version>5.0.1</Version>
@@ -183,6 +182,11 @@
<PackageReference Include="Microsoft.UI.Xaml">
<Version>2.8.2</Version>
</PackageReference>
<PackageReference Include="PolySharp">
<Version>1.10.0</Version>
<IncludeAssets>build; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\ComputeSharp.Core\ComputeSharp.Core.csproj" />
-16
ファイルの表示
@@ -1,16 +0,0 @@
namespace System.Runtime.CompilerServices;
/// <summary>
/// Used to indicate to the compiler that the <c>.locals init</c> flag should not be set in method headers.
/// </summary>
[AttributeUsage(AttributeTargets.Module
| AttributeTargets.Class
| AttributeTargets.Struct
| AttributeTargets.Interface
| AttributeTargets.Constructor
| AttributeTargets.Method
| AttributeTargets.Property
| AttributeTargets.Event, Inherited = false)]
internal sealed class SkipLocalsInitAttribute : Attribute
{
}