mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Cleanup '#if CORE' ParameterBinderBase.cs (#4427)
This commit is contained in:
@@ -1645,13 +1645,11 @@ namespace System.Management.Automation
|
||||
errorOccurred = true;
|
||||
error = targetInvocationException;
|
||||
}
|
||||
#if !CORECLR // MethodAccessException not in CoreCLR
|
||||
catch (MethodAccessException methodAccessException)
|
||||
{
|
||||
errorOccurred = true;
|
||||
error = methodAccessException;
|
||||
}
|
||||
#endif
|
||||
catch (MemberAccessException memberAccessException)
|
||||
{
|
||||
errorOccurred = true;
|
||||
|
||||
Reference in New Issue
Block a user