Remove Platform class override of PlatformNotSupportedException

This was confusing and unused in most places, exception itself removed
in cleanup.
This commit is contained in:
Andrew Schwartzmeyer
2016-07-14 17:34:12 -07:00
parent 093587fecb
commit 4e518fe1c7
@@ -496,7 +496,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
throw new Platform.PlatformNotSupportedException();
throw new PlatformNotSupportedException();
}
}
@@ -753,7 +753,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
throw new Platform.PlatformNotSupportedException();
throw new PlatformNotSupportedException();
}
}
@@ -8202,7 +8202,7 @@ namespace Microsoft.PowerShell.Commands
{
if (!Platform.IsWindows)
{
throw new Platform.PlatformNotSupportedException();
throw new PlatformNotSupportedException();
}
using (SafeFileHandle handle = OpenReparsePoint(filePath, FileDesiredAccess.GenericRead))
@@ -8601,7 +8601,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
throw new Platform.PlatformNotSupportedException();
throw new PlatformNotSupportedException();
}
}