diff options
Diffstat (limited to 'mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs')
-rw-r--r-- | mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs index 17b3a199ca5..ebcb399930f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs @@ -7,7 +7,7 @@ namespace System.Xml { [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")] public partial class XmlSecureResolver : XmlResolver { public override Task<object> GetEntityAsync(Uri absoluteUri, string role, Type ofObjectToReturn) { -#if FEATURE_MONO_CAS +#if MONO_FEATURE_CAS permissionSet.PermitOnly(); #endif return resolver.GetEntityAsync(absoluteUri, role, ofObjectToReturn); |