Skip to content

Refactor DisposeWithException invocations to remove null conditional operator#1493

Merged
zacharycmontoya merged 1 commit into
masterfrom
zach/refactor/disposewithexception
May 26, 2021
Merged

Refactor DisposeWithException invocations to remove null conditional operator#1493
zacharycmontoya merged 1 commit into
masterfrom
zach/refactor/disposewithexception

Conversation

@zacharycmontoya

Copy link
Copy Markdown
Contributor

The DisposeWithException extension method already provides a null-check so this ?. is unnecessary. Removing them makes all the method invocations consistent.

@DataDog/apm-dotnet

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for doing this!

@zacharycmontoya
zacharycmontoya merged commit a42fde0 into master May 26, 2021
@zacharycmontoya
zacharycmontoya deleted the zach/refactor/disposewithexception branch May 26, 2021 16:42
@andrewlock andrewlock added this to the 1.27.0 milestone Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants