SharePoint 2010. Fix error Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file
In SharePoint 2010 once I had found a lot of errors in time of execution or publishing workflow processes: "(-1, -1) Type System.CodeDom.
I don't know who had found the solution, but in SharePoint 2010 to fix the problem you should add the string below to web.config of your site (web application).
<authorizedType Assembly="System, Version=188.8.131.52, Culture=neutral, PublicKeyToken=
You should add it to all the servers in your SharePoint farm.
The update, which leds to this error, is .NET Security Only patch to resolve CVE-2018-8421 (Remote Code Execution Vulnerability).