10 references to PrimaryDiagnostic
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\Suppression\SuppressionTests.cs (2)
469var cs0219Fixes = allFixes.Where(fix => fix.PrimaryDiagnostic.Id == "CS0219").ToArray(); 479var cs0168Fixes = allFixes.Where(fix => fix.PrimaryDiagnostic.Id == "CS0168");
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
CodeFixSuggestedAction.cs (1)
48=> CodeFix.PrimaryDiagnostic.GetTelemetryDiagnosticID();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActions\CodeFixSuggestedAction.cs (1)
48=> CodeFix.PrimaryDiagnostic.GetTelemetryDiagnosticID();
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
166applicableToSpan: fix.PrimaryDiagnostic.Location.SourceSpan);
Microsoft.CodeAnalysis.Workspaces (5)
CodeFixes\CodeFix.cs (5)
27/// is selected in the light bulb menu. We also group all fixes with the same <see cref="PrimaryDiagnostic"/> 33/// each fix fixes a single <see cref="PrimaryDiagnostic"/>. 35/// Implementation-wise the <see cref="PrimaryDiagnostic"/> is always the first diagnostic that 39/// or if we decide to use some other heuristic to determine the <see cref="PrimaryDiagnostic"/>. 60var diagnostic = PrimaryDiagnostic;