1 instantiation of DiagnosticItem
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\DiagnosticItem\BaseDiagnosticAndGeneratorItemSource.cs (1)
171return (BaseItem)new DiagnosticItem(project.Id, analyzerReference, selectedDiagnostic, effectiveSeverity, CommandHandler);
10 references to DiagnosticItem
Microsoft.VisualStudio.LanguageServices.Implementation (10)
SolutionExplorer\AnalyzerItemTracker.cs (2)
51public ImmutableArray<DiagnosticItem> SelectedDiagnosticItems { get; private set; } = []; 91.OfType<DiagnosticItem.BrowseObject>()
SolutionExplorer\AnalyzersCommandHandler.cs (3)
206return _initialized && items.All(item => item is DiagnosticItem); 285foreach (var diagnosticItem in group) 436foreach (var selectedDiagnostic in _tracker.SelectedDiagnosticItems)
SolutionExplorer\DiagnosticItem\DiagnosticItem.BrowseObject.cs (2)
15internal sealed class BrowseObject(DiagnosticItem diagnosticItem) : LocalizableProperties 18public DiagnosticItem DiagnosticItem { get; } = diagnosticItem;
SolutionExplorer\DiagnosticItem\DiagnosticItem.cs (3)
25: BaseItem(descriptor.Id + ": " + descriptor.Title), IEquatable<DiagnosticItem> 75=> Equals(obj as DiagnosticItem); 77public bool Equals(DiagnosticItem? other)