mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove Platform class override of PlatformNotSupportedException
This was confusing and unused in most places, exception itself removed in cleanup.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user