Blame SOURCES/msbuild-no-systemsecurity.patch

ced12e
--- a/src/Shared/ExceptionHandling.cs
ced12e
+++ b/src/Shared/ExceptionHandling.cs
ced12e
@@ -153,7 +153,9 @@ namespace Microsoft.Build.Shared
ced12e
         internal static bool IsXmlException(Exception e)
ced12e
         {
ced12e
             return e is XmlException
ced12e
+#if FEATURE_SECURITY_PERMISSIONS
ced12e
                 || e is XmlSyntaxException
ced12e
+#endif
ced12e
                 || e is XmlSchemaException
ced12e
                 || e is UriFormatException; // XmlTextReader for example uses this under the covers
ced12e
         }