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