22 references to XmlStr
System.Data (22)
fx\src\data\System\Data\Common\DBDataPermission.cs (22)
276if (!tag.Equals(XmlStr._Permission) && !tag.Equals(XmlStr._IPermission)) { 279String version = securityElement.Attribute(XmlStr._Version); 280if ((null != version) && !version.Equals(XmlStr._VersionNumber)) { 284string unrestrictedValue = securityElement.Attribute(XmlStr._Unrestricted); 289string allowNull = securityElement.Attribute(XmlStr._AllowBlankPassword); 296if ((XmlStr._add == tag) || ((null != tag) && (XmlStr._add == tag.ToLower(CultureInfo.InvariantCulture)))) { 297string constr = keyElement.Attribute(XmlStr._ConnectionString); 298string restrt = keyElement.Attribute(XmlStr._KeyRestrictions); 299string behavr = keyElement.Attribute(XmlStr._KeyRestrictionBehavior); 324SecurityElement root = new SecurityElement(XmlStr._IPermission); 325root.AddAttribute(XmlStr._class, type.AssemblyQualifiedName.Replace('\"', '\'')); 326root.AddAttribute(XmlStr._Version, XmlStr._VersionNumber); 329root.AddAttribute(XmlStr._Unrestricted, XmlStr._true); 332root.AddAttribute(XmlStr._AllowBlankPassword, _allowBlankPassword.ToString(CultureInfo.InvariantCulture)); 336SecurityElement valueElement = new SecurityElement(XmlStr._add); 342valueElement.AddAttribute(XmlStr._ConnectionString, tmp); 347valueElement.AddAttribute(XmlStr._KeyRestrictions, tmp); 350valueElement.AddAttribute(XmlStr._KeyRestrictionBehavior, tmp);