8000 Merge | Merge metrics/performance counter methodology by edwardneal · Pull Request #3251 · dotnet/SqlClient · GitHub
[go: up one dir, main page]

Skip to content

Merge | Merge metrics/performance counter methodology #3251

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

Merged
merged 8 commits into from
Apr 21, 2025
Prev Previous commit
Next Next commit
Correct null coalescing behaviour
  • Loading branch information
edwardneal committed Apr 1, 2025
commit 06b837be43ddcbdf7e6dd04d79113e390c780a01
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ internal sealed partial class SqlClientMetrics
{
// First try GetEntryAssembly name, then AppDomain.FriendlyName.
Assembly? assembly = Assembly.GetEntryAssembly();
AssemblyName? name = assembly.GetName();
AssemblyName? name = assembly?.GetName();

return name?.Name;
}
Expand Down
Loading
0