16 references to Trim
Microsoft.Extensions.AI.Evaluation.Quality (1)
Utilities\JsonOutputFixer.cs (1)
22trimmed = trimmed.Trim().Trim(['`']);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\W3CPropagator.cs (1)
708public static ReadOnlySpan<char> Trim(ReadOnlySpan<char> span) => span.Trim(" \t");
System.Private.Xml (13)
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 (7)
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);
System\Xml\XPath\XPathNavigatorReader.cs (1)
268switch (tempNav.Value.AsSpan().Trim(XmlConvert.WhitespaceChars))
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
431switch (a.Value.AsSpan().Trim(" \t\n\r"))