217 references to StringBuilder
Aspire.Dashboard (1)
Components\Pages\Resources.razor.cs (1)
664var tooltipBuilder = new StringBuilder(string.Join(", ", displayedUrls.Take(maxShownUrls).Select(url => url.Text)));
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
33StringBuilder message = new StringBuilder($"{messagePrefix} Expected {expectedExitCode} exit code but got {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}");
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
33StringBuilder message = new StringBuilder($"{messagePrefix} Expected {expectedExitCode} exit code but got {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}");
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\Parser\Extensions.cs (1)
110StringBuilder sb = new(displayString);
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
484var builder = new StringBuilder($@"""{serverInfo.processFilePath}"" {serverInfo.commandLineArguments}");
dotnet-dev-certs (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
dotnet-svcutil-lib (12)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriterHelpers.cs (1)
407_stringValue = new StringBuilder(valAfter);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (1)
215StringBuilder builder = new StringBuilder(value);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCharacterData.cs (2)
147string newValue = new StringBuilder(_data).Remove(offset, count).ToString(); 175StringBuilder temp = new StringBuilder(_data).Remove(offset, count);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDeclaration.cs (1)
78StringBuilder strb = new StringBuilder("version=\"" + Version + "\"");
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (1)
263StringBuilder strb = new StringBuilder(String.Empty);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
2029StringBuilder namespaces = new StringBuilder(genericNameProvider.GetNamespaces());
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlConverter.cs (1)
471StringBuilder sb = new StringBuilder(value);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (1)
353sb = new StringBuilder(result);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
1653unImportedPolicyMessage = new StringBuilder(SRServiceModel.UnabletoImportPolicy);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (1)
136sb = new StringBuilder(s);
Shared\FrameworkInfo.cs (1)
59StringBuilder sb = new StringBuilder(versionString);
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
GetDocument.Insider (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (1)
48var stringBuilder = new StringBuilder("/RequestPath/");
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (1)
48var stringBuilder = new StringBuilder("/RequestPath/");
illink (2)
InMemory.FunctionalTests (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Metrics (1)
MetricsOutputWriter.cs (1)
67var minimalTypeName = new StringBuilder(data.Symbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat));
Metrics.Legacy (1)
src\RoslynAnalyzers\Tools\Metrics\MetricsOutputWriter.cs (1)
67var minimalTypeName = new StringBuilder(data.Symbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat));
Microsoft.Arcade.Common (1)
CommandResult.cs (1)
31StringBuilder message = new StringBuilder($"Command failed with exit code {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}");
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
308var builder = new StringBuilder(Options.Challenge);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (1)
77var sb = new StringBuilder("<");
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthTokenResponse.cs (1)
103var result = new StringBuilder("OAuth token endpoint failure: ");
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests.cs (1)
419var builder = new StringBuilder(JwtBearerDefaults.AuthenticationScheme);
JwtBearerTests_Handler.cs (1)
389var builder = new StringBuilder(JwtBearerDefaults.AuthenticationScheme);
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
387var errorMessageStringBuilder = new StringBuilder("An error has occurred while calling the Twitter API, error's returned:");
Microsoft.AspNetCore.Components (1)
BindConverter.cs (1)
1816var builder = new StringBuilder("[\"");
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
61var sb = new StringBuilder($"There is more than one named submit event with the name '{scopeQualifiedName}'. Ensure named submit events have unique names, or are in scopes with distinct names. The following components use this name:");
Microsoft.AspNetCore.Http.Abstractions (1)
QueryString.cs (1)
204var builder = new StringBuilder(Value);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HttpMethodslTests.cs (1)
46return new StringBuilder(input).ToString();
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
1006var sb = new StringBuilder("ResetLockout failed.");
Microsoft.AspNetCore.Mvc.Razor (1)
RazorFileHierarchy.cs (1)
26var builder = new StringBuilder(path);
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\CacheTagKey.cs (1)
125var builder = new StringBuilder(_prefix);
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
RequestTests.cs (1)
341var stringBuilder = new StringBuilder("/");
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (1)
72StringBuilder builder = new StringBuilder(message);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (4)
HubClientProxyGenerator.Emitter.cs (1)
131var registrationMethodBody = new StringBuilder(GeneratorHelpers.SourceFilePrefix() + $@"
HubServerProxyGenerator.Emitter.cs (3)
84var signature = new StringBuilder($"public {methodSpec.FullyQualifiedReturnTypeName} {methodSpec.Name}("); 85var callArgs = new StringBuilder(""); 86var signatureArgs = new StringBuilder("");
Microsoft.Build (7)
AssemblyNameExtension.cs (1)
840StringBuilder sb = new StringBuilder(displayName);
Construction\Solution\ProjectInSolution.cs (1)
534var cleanProjectName = new StringBuilder(projectName);
Construction\Solution\SolutionProjectGenerator.cs (4)
553var builder = new StringBuilder(name); 1457var conditionDescribingValidConfigurations = new StringBuilder("(false)"); 1478StringBuilder referenceItemName = new StringBuilder(GenerateSafePropertyName(project, "References")); 1773var condition = new StringBuilder(" ('$(CurrentSolutionConfigurationContents)' != '') and (false");
TaskLoggingHelper.cs (1)
531StringBuilder flattenedMessage = new StringBuilder(e.Message);
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Shared\BuildServerConnection.cs (1)
484var builder = new StringBuilder($@"""{serverInfo.processFilePath}"" {serverInfo.commandLineArguments}");
Vbc.cs (1)
766StringBuilder finalDefineConstants = new StringBuilder(originalDefineConstants);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (2)
TestUtilities\ErrorLoggerEngine.cs (1)
36set { _log = new StringBuilder(value); }
TestUtilities\MockEngine.cs (1)
23set { _log = new StringBuilder(value); }
Microsoft.Build.Tasks.Core (5)
AssemblyNameExtension.cs (1)
840StringBuilder sb = new StringBuilder(displayName);
ManifestUtil\AssemblyIdentity.cs (1)
451var sb = new StringBuilder(_name);
ManifestUtil\Util.cs (1)
93StringBuilder sb = new StringBuilder(value);
RedistList.cs (2)
346var keyBuilder = assemblyTables.Length > 0 ? new StringBuilder(assemblyTables[0].Descriptor) : new StringBuilder(); 534var keyBuilder = allowListAssemblyTableInfo.Length > 0 ? new StringBuilder(allowListAssemblyTableInfo[0].Descriptor) : new StringBuilder();
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
591StringBuilder temp = new (projectFileContents);
Microsoft.Build.Utilities.Core (2)
TaskLoggingHelper.cs (1)
531StringBuilder flattenedMessage = new StringBuilder(e.Message);
ToolTask.cs (1)
1639StringBuilder sb = new StringBuilder(input);
Microsoft.Build.Utilities.UnitTests (1)
MockEngine.cs (1)
85set => _log = new StringBuilder(value);
Microsoft.CodeAnalysis (1)
InternalUtilities\ConsList`1.cs (1)
143StringBuilder result = new StringBuilder("ConsList[");
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
143StringBuilder result = new StringBuilder("ConsList[");
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
532var value = new StringBuilder("{");
Microsoft.CodeAnalysis.CSharp (2)
Binder\PatternExplainer.cs (1)
544var subpatternBuilder = new StringBuilder("(");
Symbols\AbstractTypeParameterMap.cs (1)
41var result = new StringBuilder("[");
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
StringIndentation\StringIndentationTests.cs (1)
735var input = new StringBuilder(
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenCapturing.cs (1)
441=> new StringBuilder(string.Format(ClassFmt,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests_MarshalAs.cs (2)
479StringBuilder source = new StringBuilder(@" 625StringBuilder source = new StringBuilder(@"
Attributes\AttributeTests_WellKnownAttributes.cs (2)
2906StringBuilder sb = new StringBuilder(@" 2948StringBuilder sb = new StringBuilder("[DllImport(\"bar\"");
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullableTests.cs (1)
1195var source = new StringBuilder(@"
Semantics\SemanticErrorTests.cs (1)
11281var builder = new System.Text.StringBuilder("{ ");
Microsoft.CodeAnalysis.UnitTests (8)
StringTableTests.cs (8)
21var sb1 = new StringBuilder("goo"); 22var sb2 = new StringBuilder("goo"); 32var sb1 = new StringBuilder("goo"); 33var sb2 = new StringBuilder("bar"); 44var s1 = st.Add(new StringBuilder(" ")); 70var sb1 = new StringBuilder("goo"); 71var sb2 = new StringBuilder("goo"); 92var sbResult = StringTable.TextEquals(str, new StringBuilder(ascii));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Attributes\AttributeTests_MarshalAs.vb (2)
381Dim source As StringBuilder = New StringBuilder(<text> 507Dim source As StringBuilder = New StringBuilder(<text>
Attributes\AttributeTests_WellKnownAttributes.vb (2)
1920Dim sb As StringBuilder = New StringBuilder( 1951Dim sb As StringBuilder = New StringBuilder("<DllImport(""bar""")
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
143StringBuilder result = new StringBuilder("ConsList[");
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
532var value = new StringBuilder("{");
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
143StringBuilder result = new StringBuilder("ConsList[");
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
152var messageBuilder = new StringBuilder("Failed to clean up listeners in a timely manner.");
Microsoft.Data.Analysis (1)
DataFrameColumn.cs (1)
439var sb = new StringBuilder(Name);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishBuildToMaestro.cs (1)
598StringBuilder builder = new StringBuilder(repoName);
Microsoft.DotNet.Build.Tasks.Packaging (2)
GetPackageDescription.cs (1)
124StringBuilder description = new StringBuilder(metadata.Description);
NuGetAssetResolver.cs (1)
122StringBuilder assetLog = new StringBuilder($"{assetType} assets for {package} on {target}: ");
Microsoft.DotNet.Open.Api.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (1)
77var sb = new StringBuilder("<");
Microsoft.Extensions.AI.Abstractions (1)
AITool.cs (1)
40StringBuilder sb = new(Name);
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (1)
77var sb = new StringBuilder("<");
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (1)
77var sb = new StringBuilder("<");
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationProvider.cs (1)
67var error = new StringBuilder(SR.Format(SR.Error_FileNotFound, Source.Path));
Microsoft.Extensions.DependencyInjection (1)
DependencyInjectionEventSource.cs (1)
181StringBuilder descriptorBuilder = new StringBuilder("{ \"descriptors\":[ ");
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
171builder ??= new StringBuilder("Duplicate health checks were registered with the name(s): ");
Microsoft.Extensions.SecretManager.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (1)
77var sb = new StringBuilder("<");
Microsoft.Gen.Logging.Unit.Tests (1)
ParserTests.LogMethod.cs (1)
305var sb = new System.Text.StringBuilder(@"
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
88StringBuilder equivalenceKeyBuilder = new(baseEquivalenceKey);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
88StringBuilder equivalenceKeyBuilder = new(baseEquivalenceKey);
Microsoft.Interop.SourceGeneration (1)
ContainingSyntaxContext.cs (1)
73containingNamespace = new StringBuilder(ns.Name.ToString());
Microsoft.Maui.Controls (1)
Brush\BrushTypeConverter.cs (1)
155 var colorString = new StringBuilder(part);
Microsoft.ML.Core (1)
CommandLine\CmdLexer.cs (1)
324return NeedsQuoting(new StringBuilder(str), 0);
Microsoft.ML.Data (1)
Dirty\IniFileUtils.cs (1)
28StringBuilder bld = new StringBuilder(ini);
Microsoft.ML.FastTree (15)
FastTreeRanking.cs (1)
462StringBuilder headerBuilder = new StringBuilder("Eval:\tFileName\tNDCG@1\tNDCG@2\tNDCG@3\tNDCG@4\tNDCG@5\tNDCG@6\tNDCG@7\tNDCG@8\tNDCG@9\tNDCG@10");
FastTreeRegression.cs (1)
339StringBuilder headerBuilder = new StringBuilder("Eval:\tFileName\tNDCG@1\tNDCG@2\tNDCG@3\tNDCG@4\tNDCG@5\tNDCG@6\tNDCG@7\tNDCG@8\tNDCG@9\tNDCG@10");
FastTreeTweedie.cs (1)
283StringBuilder headerBuilder = new StringBuilder("Eval:\tFileName\tNDCG@1\tNDCG@2\tNDCG@3\tNDCG@4\tNDCG@5\tNDCG@6\tNDCG@7\tNDCG@8\tNDCG@9\tNDCG@10");
TreeEnsemble\InternalRegressionTree.cs (12)
1185StringBuilder sbFeatures = new StringBuilder("SplitFeatures="); 1186StringBuilder sbSplitGain = new StringBuilder("\nSplitGain="); 1187StringBuilder sbGainPValue = _gainPValue != null ? new StringBuilder("\nGainPValue=") : null; 1188StringBuilder sbLteChild = new StringBuilder("\nLTEChild="); 1189StringBuilder sbGtChild = new StringBuilder("\nGTChild="); 1190StringBuilder sbOutput = new StringBuilder("\nOutput="); 1191StringBuilder sbThreshold = new StringBuilder("\nThreshold="); 1271StringBuilder sbFeatures = new StringBuilder("SplitFeatures="); 1272StringBuilder sbLteChild = new StringBuilder("\nLTEChild="); 1273StringBuilder sbGtChild = new StringBuilder("\nGTChild="); 1274StringBuilder sbOutput = new StringBuilder("\nOutput="); 1275StringBuilder sbThreshold = new StringBuilder("\nThreshold=");
Microsoft.ML.InternalCodeAnalyzer (2)
NameFixProvider.cs (2)
136StringBuilder sb = new StringBuilder(prefix); 151StringBuilder sb = new StringBuilder(prefix);
Microsoft.ML.StandardTrainers (2)
Standard\LinearPredictorUtils.cs (2)
102StringBuilder aggregatedNodesBuilder = new StringBuilder("Nodes="); 103StringBuilder weightsBuilder = new StringBuilder("Weights=");
Microsoft.ML.Transforms (1)
PermutationFeatureImportance.cs (1)
76StringBuilder msgFilteredOutFeatures = new StringBuilder("The following features have zero weight and will not be evaluated: \n \t");
Microsoft.Net.Http.Headers (1)
ContentDispositionHeaderValue.cs (1)
620var builder = new StringBuilder("UTF-8\'\'");
Microsoft.NET.StringTools.net35.UnitTests (2)
WeakStringCache_Tests.cs (2)
47string testString = new StringBuilder(strPart1).Append(strPart2).ToString(); 59string testStringCopy = new StringBuilder(strPart1).Append(strPart2).ToString();
Microsoft.NET.StringTools.UnitTests (2)
WeakStringCache_Tests.cs (2)
47string testString = new StringBuilder(strPart1).Append(strPart2).ToString(); 59string testStringCopy = new StringBuilder(strPart1).Append(strPart2).ToString();
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\Utils.LateBinder.vb (1)
172sb = New StringBuilder(s)
Microsoft.VisualStudio.LanguageServices (1)
Library\ObjectBrowser\Extensions.cs (1)
144var builder = new StringBuilder(result);
MSBuild (1)
AssemblyNameExtension.cs (1)
840StringBuilder sb = new StringBuilder(displayName);
MSBuildTaskHost (1)
AssemblyNameExtension.cs (1)
840StringBuilder sb = new StringBuilder(displayName);
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParseException.cs (1)
422StringBuilder sb = new StringBuilder(message);
PresentationFramework (4)
System\Windows\Documents\RtfToXamlReader.cs (3)
4953StringBuilder xamlStringBuilder = new StringBuilder(Xaml); 6446StringBuilder xamlBuilder = new StringBuilder(dn.Xaml); 6510StringBuilder xamlBuilder = new StringBuilder(dn.Xaml);
System\Windows\Markup\XamlParseException.cs (1)
422StringBuilder sb = new StringBuilder(message);
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
484var builder = new StringBuilder($@"""{serverInfo.processFilePath}"" {serverInfo.commandLineArguments}");
ResultsOfTGenerator (1)
Program.cs (1)
741var sb = new StringBuilder("Results<");
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
System.Collections.Specialized (1)
System\Collections\Specialized\NameValueCollection.cs (1)
124StringBuilder s = new StringBuilder((string?)list[0]);
System.Data.Common (1)
System\Data\XmlDataLoader.cs (1)
1257builder ??= new StringBuilder(text);
System.Diagnostics.TextWriterTraceListener (2)
System\Diagnostics\DelimitedListTraceListener.cs (2)
213StringBuilder sb = new StringBuilder("\""); 222StringBuilder sb = new StringBuilder("\"");
System.IO.IsolatedStorage (2)
System\IO\IsolatedStorage\IsolatedStorageFile.NonMobile.cs (2)
32StringBuilder sb = new StringBuilder(GetIsolatedStorageRoot()); 55StringBuilder root = new StringBuilder(Helper.GetRootDirectory(Scope));
System.IO.Packaging (1)
System\IO\Packaging\ContentType.cs (1)
218StringBuilder stringBuilder = new StringBuilder(_type);
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\AssemblyGen.cs (1)
47StringBuilder sb = new StringBuilder(name);
System.Net.Mail (1)
System\Net\Mail\MailMessage.cs (1)
454StringBuilder s = new StringBuilder(" NOTIFY=");
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
306var sb = new StringBuilder($"System.Numerics.Tensors.Tensor<{typeof(T).Name}>[{_shape}]");
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\ComponentModel\Win32Exception.cs (1)
94StringBuilder s = new StringBuilder(className);
src\libraries\System.Private.CoreLib\src\System\Reflection\ReflectionTypeLoadException.cs (1)
63var text = new StringBuilder(baseValue);
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\VersioningHelper.cs (1)
47StringBuilder safeName = new StringBuilder(name);
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContract.cs (1)
1902StringBuilder namespaces = new StringBuilder(genericNameProvider.GetNamespaces());
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
114_xPathBuilder = new StringBuilder(XPathQueryGenerator.XPathSeparator + prefix + XPathQueryGenerator.NsSeparator + rootContract.TopLevelElementName!.Value);
System\Xml\XmlConverter.cs (1)
437StringBuilder sb = new StringBuilder(value);
System\Xml\XmlDictionaryReader.cs (2)
410sb ??= new StringBuilder(result); 479sb ??= new StringBuilder(result);
System.Private.Xml (6)
System\Xml\Dom\DocumentXPathNavigator.cs (1)
209StringBuilder builder = new StringBuilder(value);
System\Xml\Dom\XmlCharacterData.cs (2)
147string newValue = new StringBuilder(_data).Remove(offset, count).ToString(); 173StringBuilder temp = new StringBuilder(_data).Remove(offset, count);
System\Xml\Dom\XmlNodeReader.cs (1)
248StringBuilder strb = new StringBuilder(string.Empty);
System\Xml\Xsl\XslException.cs (1)
59StringBuilder sb = new StringBuilder(res);
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
421sb ??= new StringBuilder(result);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
79StringBuilder sb = new(t.ToString());
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\FormatterServices.cs (1)
358var builder = new StringBuilder(type.GetGenericTypeDefinition().FullName).Append('[');
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
1538StringBuilder builder = new StringBuilder("{ ");
System.ServiceModel.Syndication (3)
System\ServiceModel\Syndication\DateTimeHelper.cs (2)
74StringBuilder dateTimeStringBuilder = new StringBuilder(dateTimeString.Trim()); 137StringBuilder result = new StringBuilder(rfc822TimeZone);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
187StringBuilder sb = new StringBuilder(dateTime.ToString(Rfc822OutputLocalDateTimeFormat, CultureInfo.InvariantCulture));
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverChain.cs (1)
59var sb = new StringBuilder("[");
System\Text\Json\Serialization\ReadStack.cs (1)
259StringBuilder sb = new StringBuilder("$");
System\Text\Json\Serialization\WriteStack.cs (1)
395StringBuilder sb = new StringBuilder("$");
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Emitter.cs (1)
922StringBuilder sb = new($"static {ArgsVarName} => new {typeGenerationSpec.TypeRef.FullyQualifiedName}(");
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexNode.cs (1)
2882var sb = new StringBuilder(Kind.ToString());
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (1)
2882var sb = new StringBuilder(Kind.ToString());
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
350StringBuilder builder = new(Environment.NewLine);
System.Xaml (1)
System\Xaml\XamlMarkupExtensionWriter.cs (1)
257StringBuilder sb = new StringBuilder("\"");
Templates.Blazor.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
Templates.Mvc.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
Templates.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
UIAutomationClientSideProviders (4)
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
297result = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_SETTEXT, IntPtr.Zero, new StringBuilder(str));
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
380Misc.ProxySendMessage(_hwnd, NativeMethods.WM_SETTEXT, IntPtr.Zero, new StringBuilder(i.ToString(CultureInfo.CurrentCulture)));
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
195result = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_SETTEXT, IntPtr.Zero, new StringBuilder(str));
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
606if (Misc.ProxySendMessageInt(hwndEdit, NativeMethods.WM_SETTEXT, IntPtr.Zero, new StringBuilder(text)) != 1)
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
484var builder = new StringBuilder($@"""{serverInfo.processFilePath}"" {serverInfo.commandLineArguments}");
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
484var builder = new StringBuilder($@"""{serverInfo.processFilePath}"" {serverInfo.commandLineArguments}");
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
441var headerBuilder = new StringBuilder("Usage:");
xunit.assert (3)
Sdk\ArgumentFormatter.cs (1)
453 var result = new StringBuilder("Tuple (");
Sdk\CollectionTracker.cs (2)
625 var printedValues = new StringBuilder("["); 733 var printedValues = new StringBuilder("[");