From 15f387ea6943156836db2850c6731bb4937af138 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 9 Dec 2022 11:36:05 +0100 Subject: [PATCH] Fix visibility of interpolated string handler polyfills --- .../InterpolatedStringHandlerArgumentAttribute.cs | 2 +- .../InterpolatedStringHandlerAttribute.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs index 74ec0772..38c625ca 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerArgumentAttribute.cs @@ -4,7 +4,7 @@ namespace System.Runtime.CompilerServices; /// Indicates which arguments to a method involving an interpolated string handler should be passed to that handler. /// [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] -public sealed class InterpolatedStringHandlerArgumentAttribute : Attribute +internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute { /// /// Initializes a new instance of the class. diff --git a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs index 0ef12b61..b618403c 100644 --- a/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs +++ b/src/ComputeSharp.Core.NetStandard/System/Runtime.CompilerServices/InterpolatedStringHandlerAttribute.cs @@ -4,6 +4,6 @@ namespace System.Runtime.CompilerServices; /// Indicates the attributed type is to be used as an interpolated string handler. /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] -public sealed class InterpolatedStringHandlerAttribute : Attribute +internal sealed class InterpolatedStringHandlerAttribute : Attribute { } \ No newline at end of file