File: Threading\CriticalWpfFactAttribute.cs
Web Access
Project: src\src\EditorFeatures\TestUtilities\Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities.csproj (Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
#nullable disable
 
using System;
 
namespace Roslyn.Test.Utilities
{
    /// <summary>
    /// Indicates a <see cref="WpfFactAttribute"/> test which is essential to product quality and cannot be skipped.
    /// </summary>
    public class CriticalWpfFactAttribute : WpfFactAttribute
    {
        [Obsolete("Critical tests cannot be skipped.", error: true)]
        public new string Skip
        {
            get { return base.Skip; }
            set { base.Skip = value; }
        }
    }
}