2 writes to Uri
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseWriter.cs (2)
1938
_defaultNamespace.
Uri
= string.Empty;
2188
nameSpace.
Uri
= uri;
14 references to Uri
System.Private.DataContractSerialization (14)
System\Xml\XmlBaseWriter.cs (14)
2027
writer.WriteXmlnsAttribute(nameSpace.Prefix, nameSpace.
Uri
!);
2161
if (nameSpace.
Uri
== uri)
2163
throw new ArgumentException(SR.Format(SR.XmlPrefixBoundToNamespace, prefix, nameSpace.
Uri
, uri), nameof(prefix));
2196
if (_lastNameSpace != null && _lastNameSpace.
Uri
== ns)
2202
if (object.ReferenceEquals(nameSpace.
Uri
, ns))
2225
if (nameSpace.
Uri
== ns)
2271
if (_lastNameSpace != null && _lastNameSpace.
Uri
== ns && _lastNameSpace.Prefix!.Length != 0)
2279
if (object.ReferenceEquals(nameSpace.
Uri
, ns))
2305
if (nameSpace.
Uri
== ns)
2342
return nameSpace.
Uri
;
2353
return nameSpace.
Uri
;
2361
return nameSpace.
Uri
;
2373
Debug.Assert(nsCount >= 1 && _namespaces![0].Prefix!.Length == 0 && _namespaces[0].
Uri
!.Length == 0);
2386
signingWriter.WriteXmlnsAttribute(nameSpace.Prefix!, nameSpace.
Uri
!);