File: EditAndContinue\Contracts\HotReload\ManagedHotReloadDiagnosticSeverity.cs
Web Access
Project: ..\..\..\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.
 
namespace Microsoft.CodeAnalysis.EditAndContinue.Contracts
{
    /// <summary>
    /// Severity of a rude edit made by the user.
    /// </summary>
    internal enum ManagedHotReloadDiagnosticSeverity
    {
        /// <summary>
        /// Diagnostic for a warning.
        /// </summary>
        Warning = 1,
 
        /// <summary>
        /// Diagnostic for a rude edit. 
        /// This is a less severe diagnostic and can be generally addressed by restarting the application.
        /// </summary>
        RestartRequired = 2,
 
        /// <summary>
        /// Diagnostic for a compiler error.
        /// This means we can't do anything until the error is fixed.
        /// </summary>
        Error = 3
    }
}