98 references to Append
Aspire.Hosting.Docker (9)
EnvVarEscaper.cs (9)
60result.Append(input); 65result.Append(input[..firstUnescaped]); 142result.Append('$').Append(candidate); 148result.Append("$$").Append(candidate); 193result.Append(input); 201result.Append(input[..(closeIndex + 3)]); 229result.Append(input[..(closeIndex + 3)]); 244result.Append("$$").Append('{').Append(strippedSpan).Append('}'); 257result.Append(input[..(closeIndex + 3)]);
Identity.ExternalClaims (2)
Pages\Account\Manage\EnableAuthenticator.cshtml.cs (2)
122result.Append(unformattedKey.AsSpan(currentPosition, 4)).Append(' '); 127result.Append(unformattedKey.AsSpan(currentPosition));
illink (1)
Microsoft.AspNetCore.Components (4)
NavigationManagerExtensions.cs (4)
117_builder.Append(uriWithoutQueryStringAndHash); 140_builder.Append(encodedName); 142_builder.Append(encodedValue); 148_builder.Append(hash);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\Buffering\TextChunk.cs (1)
45charArraySegmentScope.Append((Span<char>)value);
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (2)
183result.Append(unformattedKey.AsSpan(currentPosition, 4)).Append(' '); 188result.Append(unformattedKey.AsSpan(currentPosition));
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (2)
183result.Append(unformattedKey.AsSpan(currentPosition, 4)).Append(' '); 188result.Append(unformattedKey.AsSpan(currentPosition));
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Rendering\TagBuilder.cs (2)
187stringBuffer.Append(remainingName); 191stringBuffer.Append(remainingName.Slice(0, indexOfInvalidCharacter));
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
CookieTempDataProviderTest.cs (2)
329stringBuilder.Append(cookie.Name.AsSpan()); 331stringBuilder.Append(cookie.Value.AsSpan());
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\Internal\LoggingStream.cs (2)
192builder.Append(charBuilder); 221builder.Append(charBuilder.Slice(0, charBuilderIndex));
Microsoft.AspNetCore.WebUtilities (6)
HttpRequestStreamReader.cs (4)
417sb.Append(span); 427sb.Append(span); 439sb.Append(span); 449sb.Append(span);
QueryHelpers.cs (2)
97sb.Append(uriToBeAppended); 112sb.Append(anchorText);
Microsoft.CodeAnalysis.CSharp (1)
Parser\LanguageParser_InterpolatedString.cs (1)
349content.Append(slice);
Microsoft.Extensions.Telemetry (4)
Http\HttpRouteFormatter.cs (4)
211_ = outputBuffer.Append(httpPath.Slice(startIndex, length)); 220_ = outputBuffer.Append(httpPath.Slice(startIndex, length)); 228_ = outputBuffer.Append(TelemetryConstants.Redacted.AsSpan()); 252_ = outputBuffer.Append(httpPath.Slice(startIndex, length));
Microsoft.Net.Http.Headers (13)
CacheControlHeaderValue.cs (1)
820sb.Append(value.AsSpan());
ContentDispositionHeaderValue.cs (1)
629builder.Append(remaining[..length]);
ContentRangeHeaderValue.cs (1)
177sb.Append(Unit.AsSpan());
CookieHeaderValue.cs (2)
93header.Append(_name.AsSpan()); 95header.Append(_value.AsSpan());
MediaTypeHeaderValue.cs (1)
468builder.Append(_mediaType.AsSpan());
NameValueHeaderValue.cs (2)
298destination.Append(values[i].Name.AsSpan()); 302destination.Append(values[i].Value.AsSpan());
RangeHeaderValue.cs (1)
79sb.Append(_unit.AsSpan());
SetCookieHeaderValue.cs (4)
339builder.Append(_name.AsSpan()); 341builder.Append(_value.AsSpan()); 399builder.Append(name.AsSpan()); 403builder.Append(value.AsSpan());
PresentationFramework (7)
MS\Internal\Globalization\BamlResourceContent.cs (1)
104stringBuilder.Append(contentSpan.Slice(0, firstEscapeToken));
System\Windows\Controls\VirtualizingStackPanel.cs (1)
12244sb.Append(name);
System\Windows\Documents\RtfToXamlReader.cs (1)
4980xamlStringBuilder.Append(substring);
System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
365resultBuilder.Append(value);
System\Windows\PropertyPathConverter.cs (2)
188builder.Append(originalPath.AsSpan(start, i-start+1)); 289builder.Append(originalPath.AsSpan(start));
System\Windows\ThemeDictionaryExtension.cs (1)
108uri.Append(themeName);
System.Console (3)
System\IO\CachedConsoleStream.cs (3)
57stream.Print(cache.Append(lineSpan).ToString()); 67cache.Append(charBuffer.Slice(lastNewLine + 1)); 74cache.Append(charBuffer);
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (2)
431sb.Append(valueSpan.Slice(0, i)).Append('\\').Append(valueSpan[i]); 436sb.Append(valueSpan);
System.Net.HttpListener (1)
System\Net\Managed\ChunkStream.cs (1)
366_saved.Append(stString.AsSpan(0, _saved.Length == 0 ? st - 2 : st));
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (2)
5751sb?.Append(" <map value=\"0x").Append(hexValueFormatted).Append('"'); 5797sb?.Append(" mask=\"0x").Append(keywordFormatted).AppendLine("\"/>");
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
662result.Append(dst);
src\libraries\System.Private.CoreLib\src\System\IO\StringWriter.cs (2)
121_sb.Append(buffer); 173_sb.Append(buffer);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeNameBuilder.cs (1)
220_str.Append(pStr.AsSpan(0, i));
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (1)
338return sb == null ? str : sb.Append(span).ToString();
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (7)
1100public StringBuilder Append(ReadOnlyMemory<char> value) => Append(value.Span); 1550Append(remainder); 3045public void AppendFormatted(ReadOnlySpan<char> value) => _stringBuilder.Append(value); 3055_stringBuilder.Append(value); 3069_stringBuilder.Append(value); 3073_stringBuilder.Append(value); 3079_stringBuilder.Append(value);
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\DataContract.cs (2)
1542localName?.Append(typeName.AsSpan(startIndex)); 1549localName.Append(tempLocalName);
System.Private.Uri (1)
System\Uri.cs (1)
4950return relPath.Append(path2.AsSpan(si + 1)).ToString();
System.Private.Xml (4)
System\Xml\BinaryXml\SqlUtils.cs (1)
398sb.Append(chars);
System\Xml\Core\XmlTextEncoder.cs (1)
248_attrValue.Append(text);
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
410_stringValue.Append(valAfter);
System\Xml\Xsl\Runtime\NumberFormatter.cs (1)
95sb.Append(letters.Slice(idx, MaxAlphabeticLength - idx));
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeNameBuilder.cs (1)
220_str.Append(pStr.AsSpan(0, i));
System.Security.Cryptography (1)
System\Security\Cryptography\XmlKeyHelper.cs (1)
152builder.Append(base64.Slice(0, written));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCharClass.cs (1)
1503categoriesBuilder = new StringBuilder().Append(charClass.AsSpan(end, categoryLength));
System.Windows.Forms (4)
System\Resources\ResXFileRef.cs (1)
93relPath.Append(path2.AsSpan(si + 1));
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
2157newString.Append(value.AsSpan(0, firstAmpersand));
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
136str.Append(text.AsSpan(0, index)); 258str.Append(text.AsSpan(0, index));
System.Xaml (4)
System\Xaml\XamlTypeName.cs (2)
239result.Append(name); 245result.Append(subscript);
System\Xaml\XamlXmlWriter.cs (2)
639builder.Append(typeNamePrefixed); 661builder.Append(subscript);
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (2)
532sbText.Append(text.AsSpan(start, embeddedObjectOffset - start)); 550sbText.Append(text.AsSpan(start, end - start));