namespace System.Xml {
// XmlReaderSettings class specifies basic features of an XmlReader.
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !MOBILE
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
#endif
public sealed class XmlReaderSettings {
return xmlResolver;
}
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !MOBILE
//This is used by get XmlResolver in Xsd.
//Check if the config set to prohibit default resovler
//notice we must keep GetXmlResolver() to avoid dead lock when init System.Config.ConfigurationManager
void Initialize(XmlResolver resolver) {
nameTable = null;
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !MOBILE
if (!EnableLegacyXmlSettings())
{
xmlResolver = resolver;
}
}
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !MOBILE
private static bool? s_enableLegacyXmlSettings = null;
static internal bool EnableLegacyXmlSettings()