18 references to WhitespaceChars
System.Private.Xml (18)
System\Xml\Core\XmlTextReaderImpl.cs (1)
5068
switch (attr.StringValue.AsSpan().Trim(XmlConvert.
WhitespaceChars
))
System\Xml\Core\XmlTextWriter.cs (1)
1751
switch (value.AsSpan().Trim(XmlConvert.
WhitespaceChars
))
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
406
ReadOnlySpan<char> valAfter = valBefore.AsSpan().Trim(XmlConvert.
WhitespaceChars
);
System\Xml\Dom\XmlNode.cs (1)
1353
switch (elem.GetAttribute("xml:space").AsSpan().Trim(XmlConvert.
WhitespaceChars
))
System\Xml\Schema\XmlValueConverter.cs (1)
612
return XmlConvert.FromBinHexString(value.AsSpan().Trim(XmlConvert.
WhitespaceChars
), false);
System\Xml\XmlConvert.cs (12)
747
switch (s.AsSpan().Trim(
WhitespaceChars
))
762
switch (s.AsSpan().Trim(
WhitespaceChars
))
958
ReadOnlySpan<char> value = s.AsSpan().Trim(
WhitespaceChars
);
978
ReadOnlySpan<char> value = s.AsSpan().Trim(
WhitespaceChars
);
1005
ReadOnlySpan<char> value = s.AsSpan().Trim(
WhitespaceChars
);
1025
ReadOnlySpan<char> value = s.AsSpan().Trim(
WhitespaceChars
);
1057
ReadOnlySpan<char> value = str.AsSpan().Trim(
WhitespaceChars
);
1353
return value.Trim(
WhitespaceChars
);
1359
return value.TrimStart(
WhitespaceChars
);
1365
return value.TrimEnd(
WhitespaceChars
);
1371
return value.Split(
WhitespaceChars
, StringSplitOptions.RemoveEmptyEntries);
1376
return value.Split(
WhitespaceChars
, splitStringOptions);
System\Xml\XPath\XPathNavigatorReader.cs (1)
268
switch (tempNav.Value.AsSpan().Trim(XmlConvert.
WhitespaceChars
))