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