From 2d5e06e61ad9bf32d75e35ff61aff0d3f4c259ac Mon Sep 17 00:00:00 2001 From: Anirudh Agnihotry Date: Thu, 8 Feb 2018 13:03:50 -0800 Subject: [PATCH] Extra semicolons left at the end of Combine function taking 4 paths. (#16284) --- src/mscorlib/shared/System/IO/Path.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mscorlib/shared/System/IO/Path.cs b/src/mscorlib/shared/System/IO/Path.cs index fc70642..eeb9abc 100644 --- a/src/mscorlib/shared/System/IO/Path.cs +++ b/src/mscorlib/shared/System/IO/Path.cs @@ -449,9 +449,9 @@ namespace System.IO return CombineNoChecks(second, third, fourth); if (string.IsNullOrEmpty(second)) return CombineNoChecks(first, third, fourth); - if (string.IsNullOrEmpty(third)); + if (string.IsNullOrEmpty(third)) return CombineNoChecks(first, second, fourth); - if (string.IsNullOrEmpty(fourth)); + if (string.IsNullOrEmpty(fourth)) return CombineNoChecks(first, second, third); if (IsPathRooted(fourth.AsReadOnlySpan())) -- 2.7.4