Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve file path from pragma checksum #7912

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

costin-zaharia-sonarsource
Copy link
Member

Part of #7894

@costin-zaharia-sonarsource costin-zaharia-sonarsource linked an issue Aug 29, 2023 that may be closed by this pull request
3 tasks
@github-actions github-actions bot added this to In progress in Best Kanban Aug 29, 2023
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban Aug 29, 2023
Base automatically changed from costin/symbol-ref-unit-test to master August 29, 2023 10:29
@costin-zaharia-sonarsource costin-zaharia-sonarsource marked this pull request as ready for review August 29, 2023 12:54
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good! I left some comments

@github-actions github-actions bot moved this from Review in progress to In progress in Best Kanban Aug 29, 2023
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM!

@github-actions github-actions bot moved this from Review in progress to Review approved in Best Kanban Aug 30, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Aug 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@costin-zaharia-sonarsource costin-zaharia-sonarsource merged commit 86603cb into master Aug 30, 2023
26 checks passed
Best Kanban automation moved this from Review approved to Validate Peach Aug 30, 2023
@costin-zaharia-sonarsource costin-zaharia-sonarsource deleted the costin/syntax-node-path branch August 30, 2023 08:24
@@ -38,7 +38,7 @@ public static bool IsGenerated(this SyntaxTree tree, GeneratedCodeRecognizer gen
return false;
}
var cache = GeneratedCodeCache.GetOrCreateValue(compilation);
// Hotpath: Don't use cache.GetOrAdd that takes a factory method. It allocates a delegate which causes GC preasure.
// Hot path: Don't use cache.GetOrAdd that takes a factory method. It allocates a delegate which causes GC preasure.
Copy link
Contributor

Choose a reason for hiding this comment

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

Was supposed to be pressure, instead of preasure?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've noticed that typo a bit later and fixed it in: https://github.com/SonarSource/sonar-dotnet/pull/7916/files

@costin-zaharia-sonarsource costin-zaharia-sonarsource moved this from Validate Peach to Done in Best Kanban Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Best Kanban
  
Done
Development

Successfully merging this pull request may close these issues.

.razor: Implement the Symbol reference metrics
3 participants