-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Support nullability in SetMeasurementEventCallback (fixes #68025) #68071
Support nullability in SetMeasurementEventCallback (fixes #68025) #68071
Conversation
...ibraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MeterListener.cs
Outdated
Show resolved
Hide resolved
@soroshsabz could you please add a test too for the null case? |
CC @noahfalk |
...ibraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MeterListener.cs
Outdated
Show resolved
Hide resolved
...ibraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MeterListener.cs
Show resolved
Hide resolved
...ibraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MeterListener.cs
Outdated
Show resolved
Hide resolved
@tarekgh I added unit test for it. :) |
src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricsTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @soroshsabz for helping with this fix!
@tarekgh I think CI failure is not for my PR, it is seem to be for Json |
Right, it is known and unrelated issue to you changes #67761. |
ITNOA
Resolved #68025