Cleanup '#if CORE' ParameterBinderBase.cs (#4427)

This commit is contained in:
Ilya
2017-07-31 12:49:32 -07:00
committed by Dongbo Wang
parent 2bfe094b12
commit 5ce4e03ca5
@@ -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;