2 writes to Prefix
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseWriter.cs (2)
1937
_defaultNamespace.
Prefix
= string.Empty;
2187
nameSpace.
Prefix
= prefix;
22 references to Prefix
System.Private.DataContractSerialization (22)
System\Xml\XmlBaseWriter.cs (22)
2025
writer.WriteXmlnsAttribute(nameSpace.
Prefix
, nameSpace.UriDictionaryString);
2027
writer.WriteXmlnsAttribute(nameSpace.
Prefix
, nameSpace.Uri!);
2115
if (nameSpace.
Prefix
== prefix)
2159
if (nameSpace.
Prefix
== prefix)
2197
return _lastNameSpace.
Prefix
;
2204
string? prefix = nameSpace.
Prefix
;
2209
if (_namespaces[j].
Prefix
== prefix)
2227
string? prefix = nameSpace.
Prefix
;
2232
if (_namespaces[j].
Prefix
== prefix)
2252
if (_namespaces![i].
Prefix
!.Length == 0)
2271
if (_lastNameSpace != null && _lastNameSpace.Uri == ns && _lastNameSpace.
Prefix
!.Length != 0)
2272
return _lastNameSpace.
Prefix
;
2281
string prefix = nameSpace.
Prefix
!;
2288
if (_namespaces[j].
Prefix
== prefix)
2307
string prefix = nameSpace.
Prefix
!;
2314
if (_namespaces[j].
Prefix
== prefix)
2341
if (nameSpace.
Prefix
!.Length == 0)
2360
if (nameSpace.
Prefix
== prefix)
2373
Debug.Assert(nsCount >= 1 && _namespaces![0].
Prefix
!.Length == 0 && _namespaces[0].Uri!.Length == 0);
2381
found = (nameSpace.
Prefix
== _namespaces[j].
Prefix
);
2386
signingWriter.WriteXmlnsAttribute(nameSpace.
Prefix
!, nameSpace.Uri!);