File: ConflictTagDefinition.cs
Web Access
Project: src\src\EditorFeatures\Core.Wpf\Microsoft.CodeAnalysis.EditorFeatures.Wpf_per0z0nh_wpftmp.csproj (Microsoft.CodeAnalysis.EditorFeatures.Wpf)
// 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;
using System.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
using System.Windows.Media;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
 
namespace Microsoft.CodeAnalysis.Editor.Shared.Tagging.Tags;
 
[Export(typeof(EditorFormatDefinition))]
[Name(ConflictTag.TagId)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
internal sealed class ConflictTagDefinition : MarkerFormatDefinition
{
    [ImportingConstructor]
    [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
    public ConflictTagDefinition()
    {
        this.Border = new Pen(Brushes.Red, thickness: 1.5);
        this.DisplayName = EditorFeaturesResources.Conflict;
        this.ZOrder = 10;
    }
}