Skip to content

Commit

Permalink
Minor code simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jun 18, 2024
1 parent 7593657 commit cf154d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/SponsorLink/SponsorLink/DiagnosticsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class DiagnosticsManager
/// Acceses the diagnostics dictionary for the current <see cref="AppDomain"/>.
/// </summary>
ConcurrentDictionary<string, Diagnostic> Diagnostics
{
get => AppDomainDictionary.Get<ConcurrentDictionary<string, Diagnostic>>(nameof(Diagnostics));
}
=> AppDomainDictionary.Get<ConcurrentDictionary<string, Diagnostic>>(nameof(Diagnostics));

/// <summary>
/// Creates a descriptor from well-known diagnostic kinds.
Expand Down

0 comments on commit cf154d5

Please sign in to comment.