Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Followup to #79809

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner August 6, 2025 15:40
/// <param name="projectId">A project within <paramref name="solution"/> where <paramref name="analyzerReference"/> can be found</param>
Task<ImmutableArray<DiagnosticDescriptor>> GetDiagnosticDescriptorsAsync(
Solution solution, AnalyzerReference analyzerReference, string language, CancellationToken cancellationToken);
Solution solution, ProjectId projectId, AnalyzerReference analyzerReference, string language, CancellationToken cancellationToken);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just pass it the project then? That also covers the language parameter too.

Comment on lines 21 to 22
//ValueTask<ImmutableArray<DiagnosticDescriptorData>> GetDiagnosticDescriptorsAsync(
// Checksum solutionChecksum, ProjectId projectId, string analyzerReferenceFullPath, CancellationToken cancellationToken);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover code.

@CyrusNajmabadi CyrusNajmabadi merged commit 7ead97f into dotnet:main Aug 9, 2025
24 of 25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the diagServiceOOP branch August 9, 2025 05:50
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants