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

Support nullability in SetMeasurementEventCallback (fixes #68025) #68071

Merged
merged 6 commits into from
Apr 15, 2022

Conversation

soroshsabz
Copy link
Contributor

ITNOA

Resolved #68025

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Apr 15, 2022
@tarekgh
Copy link
Member

tarekgh commented Apr 15, 2022

@soroshsabz could you please add a test too for the null case?

@tarekgh
Copy link
Member

tarekgh commented Apr 15, 2022

CC @noahfalk

@soroshsabz soroshsabz requested a review from tarekgh April 15, 2022 18:03
@soroshsabz
Copy link
Contributor Author

@soroshsabz could you please add a test too for the null case?

@tarekgh I added unit test for it. :)

@soroshsabz soroshsabz requested a review from tarekgh April 15, 2022 19:03
Copy link
Member

@tarekgh tarekgh left a 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!

@soroshsabz
Copy link
Contributor Author

@tarekgh I think CI failure is not for my PR, it is seem to be for Json

@tarekgh
Copy link
Member

tarekgh commented Apr 15, 2022

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.

@tarekgh tarekgh merged commit 7368836 into dotnet:main Apr 15, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Diagnostics.Metric community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bogus null checks in MeterListener.SetMeasurementEventCallback<T>
2 participants