Blame SOURCES/msbuild-no-systemsecurity.patch

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