61 references to Remove
dotnet-svcutil-lib (1)
TypeLoader.cs (1)
25path = path.Remove(path.Length - DotDll.Length, DotDll.Length);
dotnet-svcutil-lib.Tests (1)
FixupUtil.cs (1)
159updatedText = updatedText.Remove(idx, target.Length);
Microsoft.AspNetCore.DataProtection (1)
TypeForwardingActivator.cs (1)
92forwardedTypeName = forwardedTypeName.Remove(versionStartIndex, versionEndIndex - versionStartIndex);
Microsoft.Build (1)
Logging\DistributedLoggers\DistributedFileLogger.cs (1)
88_parameters = _parameters.Remove(indexOfParameter, length);
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.cs (1)
1501: message.Remove(position, locationString.Length);
Microsoft.CodeAnalysis.Features (1)
Shared\Utilities\ExtractTypeHelpers.cs (1)
79? containingNamespaceDisplay.Remove(index, rootNamespace.Length)
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\SourceChange.cs (1)
74return text.Remove(offset, Span.Length).Insert(offset, NewText);
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.TextUtils.vb (1)
143Return If(position < 0, message, message.Remove(position, locationString.Length))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (2)
206significantDigitsStr = significantDigitsStr.Remove(1, 1) 223valueText = valueText.Remove(exponentIndex + 2, 1)
Microsoft.DotNet.Build.Tasks.Workloads (2)
StringExtensions.cs (2)
19return str.StartsWith(trimString) ? str.Remove(0, trimString.Length) : str; 31return str.StartsWith(trimString, comparisonType) ? str.Remove(0, trimString.Length) : str;
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\Usage.cs (1)
76.Remove(0, prefix.Length)
Microsoft.NET.Sdk.Publish.Tasks (1)
WebConfigTransform.cs (1)
238arguments = arguments.Remove(position, templateLauncherArg.Length);
Microsoft.TestPlatform.CrossPlatEngine (1)
Execution\MSTestV1TelemetryHelper.cs (1)
58testExtension = testExtension.Remove(0, 4);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Interaction.vb (1)
66s = s.Remove(j, 1)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Utility\Converter.cs (1)
656var testMethodName = fullyQualifiedName.StartsWith($"{className}.", StringComparison.Ordinal) ? fullyQualifiedName.Remove(0, $"{className}.".Length) : fullyQualifiedName;
PresentationFramework (3)
System\Windows\Controls\AccessText.cs (1)
685text = text.Remove(index, 1);
System\windows\Documents\TextEditorTyping.cs (1)
1519textData = textData.Remove(i--, 1); // decrement i to compensate for character removal
System\Windows\SystemKeyConverter.cs (1)
263return propName.Remove(0, 7); // Remove the "ToolBar" prefix
System.Console (1)
System\TermInfo.cs (1)
172printfFormat = printfFormat.Remove(1, 1);
System.DirectoryServices (1)
System\DirectoryServices\DirectoryEntry.cs (1)
997rangeName = rangeName.Remove(rangeName.Length - 1, 1);
System.Management (29)
System\Management\ManagementQuery.cs (29)
124q = q.Remove(0, token.Length).TrimStart(null); 133q = q.Remove(0, op.Length).TrimStart(null); 146q = q.Remove(0, tokenValue.Length).TrimStart(null); 155q = q.Remove(0, token.Length).TrimStart(null); 993q = q.Remove(0, i + 1).TrimStart(null); 1003q = q.Remove(0, i).TrimStart(null); 1013q = q.Remove(0, 1).TrimStart(null); 1041q = q.Remove(0, keyword.Length).TrimStart(null); 1047q = q.Remove(0, 1).TrimStart(null); 1055q = q.Remove(0, keyword.Length).TrimStart(null); 1063q = q.Remove(0, keyword.Length).TrimStart(null); 1074q = q.Remove(0, keyword.Length); 1649q = q.Remove(0, TokenAssociators.Length); 1662q = q.Remove(0, TokenOf.Length).TrimStart(null); 1669q = q.Remove(0, 1).TrimStart(null); 1676q = q.Remove(0, i + 1).TrimStart(null); 1685q = q.Remove(0, TokenWhere.Length); 2166q = q.Remove(0, TokenReferences.Length); 2179q = q.Remove(0, TokenOf.Length).TrimStart(null); 2186q = q.Remove(0, 1).TrimStart(null); 2193q = q.Remove(0, i + 1).TrimStart(null); 2202q = q.Remove(0, TokenWhere.Length); 3035q = q.Remove(0, keyword.Length).TrimStart(null); 3039q = q.Remove(0, 1).TrimStart(null); 3062q = q.Remove(0, i); 3072q = q.Remove(0, keyword.Length); 3084q = q.Remove(0, i + 1).TrimStart(null); 3094q = q.Remove(0, i).TrimStart(null); 3111q = q.Remove(0, keyword.Length);
System.Net.Mail (1)
System\Net\Mail\SmtpConnection.Auth.cs (1)
57string[] authTypes = extension.Remove(0, SizeOfAuthExtension).Split(s_authExtensionSplitters, StringSplitOptions.RemoveEmptyEntries);
System.Private.Uri (1)
System\Uri.cs (1)
1015str = str.Remove(1, 1);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
346return windowText.Remove(index, 2);
System.Xaml (1)
System\Xaml\Parser\XamlText.cs (1)
58return text.Remove(0, ME_ESCAPE.Length);
UIAutomationClientSideProviders (4)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
132str = str.Remove(nullTermination, maxLength - nullTermination);
MS\Internal\AutomationProxies\Misc.cs (1)
598str = str.Remove(nullTermination, maxLength - nullTermination);
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
2628menuText = menuText.Remove(nullTermination, readSize - nullTermination); 2738return menuRawText.Remove(0, pos + 1);
vstest.console (1)
Processors\Utilities\ArgumentProcessorFactory.cs (1)
272commandName = string.Concat("--", commandName.Remove(0, 1));
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Processors\Utilities\ArgumentProcessorFactory.cs (1)
272commandName = string.Concat("--", commandName.Remove(0, 1));