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