File: ExternalAccess\UnitTesting\API\UnitTestingInvocationReasons_Constants.cs
Web Access
Project: src\src\Features\Core\Portable\Microsoft.CodeAnalysis.Features.csproj (Microsoft.CodeAnalysis.Features)
// 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.Collections.Immutable;
 
namespace Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.Api;
 
internal readonly partial struct UnitTestingInvocationReasons
{
    public static readonly UnitTestingInvocationReasons DocumentAdded =
        new(
            ImmutableHashSet.Create<string>(
                                UnitTestingPredefinedInvocationReasons.SemanticChanged));
 
    public static readonly UnitTestingInvocationReasons DocumentRemoved =
        new(
            ImmutableHashSet.Create<string>(
                                UnitTestingPredefinedInvocationReasons.SemanticChanged,
                                UnitTestingPredefinedInvocationReasons.HighPriority));
 
    public static readonly UnitTestingInvocationReasons ProjectConfigurationChanged =
        new(
            ImmutableHashSet.Create<string>(
                                UnitTestingPredefinedInvocationReasons.ProjectConfigurationChanged,
                                UnitTestingPredefinedInvocationReasons.SemanticChanged));
 
    public static readonly UnitTestingInvocationReasons DocumentChanged =
        new(
            ImmutableHashSet.Create<string>(
                                UnitTestingPredefinedInvocationReasons.SemanticChanged));
 
    public static readonly UnitTestingInvocationReasons AdditionalDocumentChanged =
        new(
            ImmutableHashSet.Create<string>(
                                UnitTestingPredefinedInvocationReasons.SemanticChanged));
 
    public static readonly UnitTestingInvocationReasons SemanticChanged =
        new(
            ImmutableHashSet.Create<string>(
                                UnitTestingPredefinedInvocationReasons.SemanticChanged));
 
    public static readonly UnitTestingInvocationReasons Reanalyze =
        new(UnitTestingPredefinedInvocationReasons.Reanalyze);
}