Extra semicolons left at the end of Combine function taking 4 paths. (#16284)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Thu, 8 Feb 2018 21:03:50 +0000 (13:03 -0800)
committerJan Kotas <jkotas@microsoft.com>
Thu, 8 Feb 2018 21:03:50 +0000 (13:03 -0800)
src/mscorlib/shared/System/IO/Path.cs

index fc70642..eeb9abc 100644 (file)
@@ -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()))