29 references to TrimEnd
Aspire.Dashboard (1)
ConsoleLogs\AnsiParser.cs (1)
514return combined.TrimEnd() + ">";
illink (1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
375.TrimEnd() // Trim newlines added by autoformat
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
375.TrimEnd() // Trim newlines added by autoformat
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
DefaultEditorTemplatesTest.cs (1)
1631return new HtmlString(helperName.TrimEnd());
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
522arg = arg.TrimEnd();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
391outWriter.ToString().TrimEnd());
Microsoft.CodeAnalysis.CSharp.Features (1)
Structure\Providers\DocumentationCommentStructureProvider.cs (1)
34var endPos = documentationComment.SpanStart + documentationComment.ToString().TrimEnd().Length;
Microsoft.CodeAnalysis.Features (7)
CodeLens\CodeLensReferencesService.cs (7)
156line.TrimEnd(), 159beforeLine1.TrimEnd(), 160beforeLine2.TrimEnd(), 161afterLine1.TrimEnd(), 162afterLine2.TrimEnd()), 308return (reference.Value.Content.ToString().TrimEnd(), 342return lines[index].ToString().TrimEnd();
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\TestRunner.TestRunHandler.cs (1)
192return text.Replace(Environment.NewLine, $"{Environment.NewLine}{indentation}").TrimEnd().Insert(0, indentation);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\InlayHint\InlayHintHandler.cs (2)
122var trimBoth = trimStart.TrimEnd(); 138var trimEnd = last.Text.TrimEnd();
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (1)
1874Dim trimmedSymbolList As String = symbolList.TrimEnd()
Compilation\DocumentationComments\DocumentationCommentWalker.vb (1)
308Me._diagnostics.Add(errid, location, reference.ToFullString().TrimEnd())
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Utilities\DocumentationComment.cs (1)
220var trimmedLine = line.TrimEnd();
Microsoft.DotNet.Build.Tasks.Installers (1)
src\RpmBuilder.cs (1)
273fileLinkTos.Add(reader.ReadToEnd().TrimEnd());
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\FileIO\FileSystem.vb (1)
1393If wildcard.TrimEnd() = "" Then
PresentationFramework (3)
MS\Internal\Data\PathParser.cs (1)
322valueString = valueString.TrimEnd();
System\Windows\Documents\WinRTSpellerInteropExtensions.cs (1)
178var altForm = documentText.Substring(lastToken.TextRange.Start, lastTokenText.Length + i).TrimEnd('\0').TrimEnd();
System\Windows\PropertyPath.cs (1)
837nsPrefix = name.Substring(0, nsIndex).TrimEnd();
System.Configuration.ConfigurationManager (1)
System\Configuration\BaseConfigurationRecord.cs (1)
3090trimmedSubPath = subPath.TrimEnd();
System.Data.Common (2)
System\Data\SQLTypes\SQLString.cs (2)
895rgbSortKey = s_unicodeEncoding.GetBytes(m_value!.TrimEnd()); 914rgbSortKey = cmpInfo.GetSortKey(m_value!.TrimEnd(), options).KeyData;