using System; namespace ComputeSharp.NetStandard.System.Runtime.InteropServices; /// /// Any method marked with can be directly called from native code. /// /// /// This polyfill is deliberately in the wrong namespace to avoid the C# compiler failing to build below .NET 5. /// [AttributeUsage(AttributeTargets.Method, Inherited = false)] public sealed class UnmanagedCallersOnlyAttribute : Attribute { }