Skip to content

Commit

Permalink
Remove additional null-check from ActivityCreationOptions (#81351)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchirikov committed Jan 30, 2023
1 parent 311a4a3 commit 5d604a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ internal ActivityCreationOptions(ActivitySource source, string name, T parent, A

_traceState = ac.TraceState;
}
else if (parent is string p && p != null)
else if (parent is string p)
{
if (IdFormat != ActivityIdFormat.Hierarchical)
{
Expand Down

0 comments on commit 5d604a8

Please sign in to comment.