From f41ce77acda0b20806266283660b1adabb756f85 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 10 Aug 2022 11:40:37 +0200 Subject: [PATCH] Move [UnscopedRef] to be shared with all projects --- .../ComputeSharp.Core.NetStandard.projitems | 1 - .../ComputeSharp.Core.SourceGenerators.csproj | 1 + .../Properties/Polyfills}/UnscopedRefAttribute.cs | 0 .../ComputeSharp.D2D1.SourceGenerators.csproj | 1 + .../ComputeSharp.SourceGenerators.csproj | 1 + 5 files changed, 3 insertions(+), 1 deletion(-) rename src/{ComputeSharp.Core.NetStandard/System/System.Diagnostics.CodeAnalysis => ComputeSharp.Core/Properties/Polyfills}/UnscopedRefAttribute.cs (100%) diff --git a/src/ComputeSharp.Core.NetStandard/ComputeSharp.Core.NetStandard.projitems b/src/ComputeSharp.Core.NetStandard/ComputeSharp.Core.NetStandard.projitems index e36f15e7..c73e175d 100644 --- a/src/ComputeSharp.Core.NetStandard/ComputeSharp.Core.NetStandard.projitems +++ b/src/ComputeSharp.Core.NetStandard/ComputeSharp.Core.NetStandard.projitems @@ -15,6 +15,5 @@ - \ No newline at end of file diff --git a/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj b/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj index 41726b30..65673a59 100644 --- a/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj +++ b/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj @@ -15,6 +15,7 @@ manually linking the source files from ComputeSharp\Core in here. We only need them to extract metadata and to match members based on full name, so the types being in the generator assembly are not an issue.--> + diff --git a/src/ComputeSharp.Core.NetStandard/System/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.cs b/src/ComputeSharp.Core/Properties/Polyfills/UnscopedRefAttribute.cs similarity index 100% rename from src/ComputeSharp.Core.NetStandard/System/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.cs rename to src/ComputeSharp.Core/Properties/Polyfills/UnscopedRefAttribute.cs diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj b/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj index b261d67a..e70de35f 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj +++ b/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj @@ -15,6 +15,7 @@ + diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj index e23d0319..404c9496 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj @@ -17,6 +17,7 @@ +