diff --git a/src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Windows.cs b/src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Windows.cs index bfd6f18611236..9b692742a9db6 100644 --- a/src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Windows.cs +++ b/src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Windows.cs @@ -232,11 +232,6 @@ public override void EndWrite(IAsyncResult asyncResult) internal static string GetPipePath(string serverName, string pipeName) { - if (RuntimeInformation.RuntimeIdentifier.StartsWith("iossimulator") - || RuntimeInformation.RuntimeIdentifier.StartsWith("tvossimulator")) - { - return $"/tmp/{pipeName}"; - } string normalizedPipePath = Path.GetFullPath(@"\\" + serverName + @"\pipe\" + pipeName); if (string.Equals(normalizedPipePath, @"\\.\pipe\" + AnonymousPipeName, StringComparison.OrdinalIgnoreCase))