File: InlineRename\RenameTrackingSpan.cs
Web Access
Project: ..\..\..\src\EditorFeatures\Core\Microsoft.CodeAnalysis.EditorFeatures.csproj (Microsoft.CodeAnalysis.EditorFeatures)
// 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.
 
using Microsoft.VisualStudio.Text;
 
namespace Microsoft.CodeAnalysis.Editor.Implementation.InlineRename
{
    internal readonly struct RenameTrackingSpan
    {
        public readonly ITrackingSpan TrackingSpan;
        public readonly RenameSpanKind Type;
 
        public RenameTrackingSpan(ITrackingSpan trackingSpan, RenameSpanKind type)
        {
            this.TrackingSpan = trackingSpan;
            this.Type = type;
        }
    }
 
    internal enum RenameSpanKind
    {
        None,
        Reference,
        UnresolvedConflict,
        Complexified
    }
}