using System.Runtime.CompilerServices; namespace ComputeSharp.SwapChain.Core.Converters; /// /// A class with some static converters for values. /// public static class BoolConverter { /// /// Negates an input value. /// /// The value to negate. /// The negated value of . [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool Not(bool value) { return !value; } }