91 references to Concat
aspire (4)
Migrations\TypeScriptAppHostMigration.cs (1)
217appHost["path"] = string.Concat(
Projects\LegacyTypeScriptAppHost.cs (1)
105rewritten = string.Concat(rewritten.AsSpan(0, rewritten.Length - ".ts".Length), ".mts");
src\Shared\FormatHelpers.cs (1)
119return string.Concat(text.AsSpan(0, maxLength - Ellipsis.Length), Ellipsis);
Templating\ConditionalBlockProcessor.cs (1)
99content = string.Concat(content.AsSpan(0, startLineBegin), content.AsSpan(endLineEnd));
Aspire.Dashboard (1)
src\Shared\FormatHelpers.cs (1)
119return string.Concat(text.AsSpan(0, maxLength - Ellipsis.Length), Ellipsis);
Aspire.Dashboard.Tests (1)
Integration\Playwright\AccessibilityTests.cs (1)
524: value.Length <= maxLength ? value : string.Concat(value.AsSpan(0, maxLength), "…");
Aspire.Hosting.Rust (1)
CargoMetadataReader.cs (1)
193return string.Concat(
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs (1)
244? string.Concat("S.P.", candidateAssemblyName.AsSpan(15))
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs (1)
244? string.Concat("S.P.", candidateAssemblyName.AsSpan(15))
illink (5)
Microsoft.AspNetCore.Components (3)
NavigationManager.cs (3)
190return string.Concat(currentUri[..existingFragmentIndex], relativeUri.AsSpan()); 200return string.Concat(currentUri[..existingQueryOrFragmentIndex], relativeUri.AsSpan()); 219return string.Concat(currentUri[..basePathLength], relativeUri.AsSpan());
Microsoft.AspNetCore.Http.Abstractions (2)
HostString.cs (1)
184uriComponent = string.Concat(s_idnMapping.GetUnicode(uriComponent, 0, index), port);
PathString.cs (1)
394var combined = string.Concat(Value.AsSpan(), other.Value.AsSpan(1));
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ViewEnginePath.cs (1)
40result = string.Concat(first.AsSpan(0, index + 1), second);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
FileProviderRazorProjectFileSystem.cs (1)
82return string.Concat(path1, path2.AsSpan(1));
Microsoft.AspNetCore.Mvc.RazorPages (1)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (1)
71return string.Concat(path1, path2.AsSpan(1));
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
254var partialMimeType = string.Concat(mimeType!.AsSpan(0, slashPos.Value), "/*");
Microsoft.AspNetCore.Rewrite (1)
UrlNormalizer.cs (1)
30return string.Concat("/", url.AsSpan(firstNonSlash));
Microsoft.Build (1)
Evaluation\Expander.cs (1)
435metadataValue = string.Concat(metadataValue.AsSpan(0, CharacterLimitPerExpansion - 3), "...");
Microsoft.Build.Framework (2)
FileUtilities.cs (1)
501string.Concat(path.AsSpan(start), new(in Path.DirectorySeparatorChar)));
Utilities\FrameworkLocationHelper.cs (1)
872string.Concat(baseLocation.AsSpan(0, indexOf64), baseLocation.AsSpan(indexOf64 + 2));
Microsoft.Build.Tasks.Core (1)
ResourceHandling\MSBuildResXReader.cs (1)
95return string.Concat(aliasedTypeName.AsSpan(0, indexStart + 2), fullAssemblyIdentity);
Microsoft.Extensions.Configuration.Ini (1)
IniStreamConfigurationProvider.cs (1)
53sectionPrefix = string.Concat(line.AsSpan(1, line.Length - 2).Trim(), ConfigurationPath.KeyDelimiter);
Microsoft.Extensions.Logging.EventLog (2)
EventLogLogger.cs (2)
143messageSegment = string.Concat(message.AsSpan(startIndex, _beginOrEndMessageSegmentSize), ContinuationString); 156messageSegment = string.Concat(ContinuationString, message.AsSpan(startIndex));
Microsoft.NET.Build.Tasks (1)
ResolvePackageAssets.cs (1)
988_compilerNameSearchString = string.Concat("/".AsSpan(), compilerName.Span);
PresentationCore (2)
MS\Internal\FontCache\FontCacheUtil.cs (1)
642return string.Concat("#", fontFamilyReference.AsSpan(startIndex, length)).ToUpperInvariant();
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
189return string.Concat(returnValue, (ReadOnlySpan<char>)stackalloc char[] { '%' });
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (1)
707matchedText = String.Concat(newText, matchedText.AsSpan(matchedTextInfo.MatchedPrefixLength));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2094return string.Concat(uriInput, GetAssemblyNameForNamespace(_settings.LocalAssembly));
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (1)
88_typeId = string.Concat(GetType().FullName, baseType);
System.Data.Common (1)
System\Data\XmlToDatasetMap.cs (1)
518tempColumnName = string.Concat(tempColumnName, col.ColumnName.AsSpan(1));
System.Diagnostics.Process (1)
src\runtime\src\libraries\Common\src\Interop\Linux\cgroups\Interop.cgroups.cs (1)
291return string.Concat(hierarchyMount, cgroupPathRelativeToMount.AsSpan(commonPathPrefixLength));
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\System\IO\Archiving.Utils.Unix.cs (1)
26(false, true) => string.Concat(path, "/"),
System\Formats\Tar\TarHeader.Write.cs (1)
1155string.Concat("/tmp", result.AsSpan(tmp.Length)) :
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\MultiProxy.cs (1)
261if ((proxyType & wantedFlag) != 0 && Uri.TryCreate(string.Concat("http://", proxyString.Slice(0, iter)), UriKind.Absolute, out uri))
System.Net.NameResolution (1)
System\Net\DnsResolver.cs (1)
548return string.Concat(chars, "ip6.arpa");
System.Net.Requests (1)
System\Net\CommandStream.cs (1)
208sendCommand = string.Concat(sendCommand.AsSpan(0, index), " ********");
System.Net.Security (2)
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
410uriString = string.Concat(baseUri, encodedRequest.AsSpan());
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
245if (!Uri.TryCreate(string.Concat(HttpSchemeAndDelimiter, host), UriKind.Absolute, out constructedUri))
System.Net.Sockets (1)
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
128return string.Concat("@", _path.AsSpan(1));
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\ActivityTracker.cs (2)
259return string.Concat(providerName, activityName.AsSpan()[..^EventSource.ActivityStartSuffix.Length]); 263return string.Concat(providerName, activityName.AsSpan()[..^EventSource.ActivityStopSuffix.Length]);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
2198InsertHash(temp, string.Concat(str, monthPostfix), TokenType.MonthToken, i);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\GlobalizationMode.Unix.cs (1)
68ReadOnlySpan<char> suffixAndSeparator = string.Concat(suffix, ".");
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (2)
74string.Concat(subpath, extension) : 710string.Concat(first, second) :
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (2)
853retVal = string.Concat(vsb.AsSpan(), charBufferSpan.Slice(0, idxOfNewline)); 962retVal = string.Concat(arrayPoolBuffer.AsSpan(0, arrayPoolBufferPos), charBuffer.AsSpan(charPos, idxOfNewline));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
319string result = string.Concat(codebase.AsSpan(0, indexOfFirstToEscape), vsb.AsSpan());
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (2)
166serverTypeNamespace = string.Concat(Globals.DataContractXsdBaseNamespace, serverTypeNamespace.AsSpan(1)); 199serverTypeNamespace = string.Concat(Globals.DataContractXsdBaseNamespace, serverTypeNamespace.AsSpan(1));
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
89return string.Concat("#", dataContractNamespace.AsSpan(JsonGlobals.DataContractXsdBaseNamespaceLength));
System.Private.Uri (16)
System\Uri.cs (13)
1218string.Concat(host.AsSpan(1, host.Length - 2), scopeId) : 2970return string.Concat( 2997return string.Concat( 3093return string.Concat( 3459_string = string.Concat(vsb.AsSpan(), original); 3508string result = string.Concat(prefix, vsb.AsSpan()); 3761newHost = string.Concat(newHost, str.Slice(i, hostLength)); 3771newHost = string.Concat(newHost, str.Slice(i, hostLength)); 3823newHost = string.Concat(newHost, str.Slice(i, hostLength)); 3898newHost = string.Concat(newHost, str.Slice(startPort, i - startPort)); 4434return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart); 4439return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart); 4590return string.Concat(path.AsSpan(1, length - 1), extra);
System\UriExt.cs (1)
523string result = string.Concat(charsToUnescape.Slice(0, indexOfFirstToUnescape), vsb.AsSpan());
System\UriHelper.cs (2)
33string result = string.Concat(start, vsb.RawChars.Slice(0, charsWritten)); 225string result = string.Concat(charsToEscape.Slice(0, indexOfFirstToEscape), vsb.AsSpan());
System.Private.Xml (6)
System\Xml\Schema\XmlSchemaDataType.cs (1)
258canonicalUri = nameTable.Add(string.Concat(uri.AsSpan(0, offset), uri.Substring(offset).ToUpperInvariant()));
System\Xml\Schema\XmlSchemaValidator.cs (1)
1516? string.Concat(value.AsSpan(0, MaxLength), "...")
System\Xml\Xsl\IlGen\XmlILTrace.cs (4)
185return string.Concat(s.AsSpan(9), " introduction"); 189return string.Concat(s.AsSpan(9), " elimination"); 193return string.Concat(s.AsSpan(7), " commutation"); 197return string.Concat(s.AsSpan(4), " folding");
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\RuntimeEnvironment.cs (1)
28return string.Concat(Path.GetDirectoryName(runtimeDirectory), new ReadOnlySpan<char>(in sep));
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\DateTimeHelper.cs (1)
62dateTimeString = string.Concat(dateTimeString.AsSpan(0, 19), dateTimeString.AsSpan(i));
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\TextEncoder.cs (1)
179string retVal = string.Concat(value.Slice(0, indexOfFirstCharToEncode), stringBuilder.AsSpan());
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexLWCGCompiler.cs (1)
54description = string.Concat("_", pattern.Length > DescriptionLimit ? pattern.AsSpan(0, DescriptionLimit) : pattern);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (1)
64label = string.Concat(label.AsSpan(0, maxLabelLength), "..");
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (2)
113? Type.GetType(string.Concat(typeName.AsSpan(0, lastDot), assemblyName)) 114: assembly.GetType(string.Concat(typeName.AsSpan(0, lastDot), assemblyName));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
44value = string.Concat(value.AsSpan(0, MaximumToolTipLength), "...");
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
563_rootComponentClassName = string.Concat(className.AsSpan(0, className.Length - oldName.Length), newName);
System.Xaml (1)
System\Xaml\XamlType.cs (1)
1626typeName = string.Concat(typeNameSpan.Slice(0, index), subscript);