using Xunit; namespace Avalonia.LeakTests; /// /// Use on leak tests where objects are somehow kept rooted in debug mode. /// internal sealed class ReleaseFactAttribute : FactAttribute { public ReleaseFactAttribute() { #if DEBUG Skip = "Only runs in Release mode"; #endif } }