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