File: EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerIdColumnDefinition.cs
Web Access
Project: src\src\VisualStudio\Core\Def\Microsoft.VisualStudio.LanguageServices_25isknsj_wpftmp.csproj (Microsoft.VisualStudio.LanguageServices)
// 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 System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudio.Shell.TableControl;
using Microsoft.VisualStudio.Utilities;
using static Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Common.ColumnDefinitions.Analyzer;
 
namespace Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Analyzers.View.ColumnDefinitions;
 
[Export(typeof(ITableColumnDefinition))]
[Name(Id)]
internal class AnalyzerIdColumnDefinition : TableColumnDefinitionBase
{
    [ImportingConstructor]
    [Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
    public AnalyzerIdColumnDefinition()
    {
    }
 
    public override string Name => Id;
    public override string DisplayName => ServicesVSResources.Id;
    public override bool IsFilterable => true;
    public override bool IsSortable => true;
    public override double MinWidth => 50;
}