68 references to Concat
illink (5)
Microsoft.AspNetCore.Http.Abstractions (2)
HostString.cs (1)
184uriComponent = string.Concat(s_idnMapping.GetUnicode(uriComponent, 0, index), port);
PathString.cs (1)
362var combined = string.Concat(Value.AsSpan(), other.Value.AsSpan(1));
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
MapPathMiddlewareTests.cs (1)
93Assert.Equal(string.Concat(basePath, requestPath.AsSpan(0, matchPath.Length)), (string)context.Items["test.PathBase"]!);
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)
78return 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)
253var partialMimeType = string.Concat(mimeType!.AsSpan(0, slashPos.Value), "/*");
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));
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)
710matchedText = 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.Formats.Tar (2)
src\libraries\Common\src\System\IO\Archiving.Utils.Unix.cs (1)
26(false, true) => string.Concat(path, "/"),
System\Formats\Tar\TarHeader.Write.cs (1)
1221string.Concat("/tmp", result.AsSpan(tmp.Length)) :
System.IO.Compression.ZipFile (2)
src\libraries\Common\src\System\IO\Archiving.Utils.Unix.cs (1)
26(false, true) => string.Concat(path, "/"),
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (1)
119destinationDirectoryFullPath = string.Concat(destinationDirectoryFullPath, new ReadOnlySpan<char>(in sep));
System.Net.Security (1)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
245if (!Uri.TryCreate(string.Concat(HttpSchemeAndDelimiter, host), UriKind.Absolute, out constructedUri))
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\ActivityTracker.cs (2)
258return string.Concat(providerName, activityName.AsSpan()[..^EventSource.ActivityStartSuffix.Length]); 262return string.Concat(providerName, activityName.AsSpan()[..^EventSource.ActivityStopSuffix.Length]);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
2204InsertHash(temp, string.Concat(str, monthPostfix), TokenType.MonthToken, i);
src\libraries\System.Private.CoreLib\src\System\Globalization\GlobalizationMode.Unix.cs (1)
68ReadOnlySpan<char> suffixAndSeparator = string.Concat(suffix, ".");
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (2)
74string.Concat(subpath, extension) : 710string.Concat(first, second) :
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (2)
823retVal = string.Concat(vsb.AsSpan(), charBufferSpan.Slice(0, idxOfNewline)); 933retVal = string.Concat(arrayPoolBuffer.AsSpan(0, arrayPoolBufferPos), charBuffer.AsSpan(charPos, idxOfNewline));
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 (15)
System\Uri.cs (12)
1188string.Concat(host.AsSpan(1, host.Length - 2), scopeId) : 3028return string.Concat( 3055return string.Concat( 3151return string.Concat( 3322_string = string.Concat(_string, _originalUnicodeString.AsSpan(origIdx)); 3874newHost = string.Concat(newHost, new ReadOnlySpan<char>(pString + start, end - start)); 3884newHost = string.Concat(newHost, new ReadOnlySpan<char>(pString + start, end - start)); 3922newHost = string.Concat(newHost, new ReadOnlySpan<char>(pString + start, end - start)); 3994newHost = string.Concat(newHost, new ReadOnlySpan<char>(pString + startPort, idx - startPort)); 4723return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart); 4728return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart); 4879return string.Concat(path.AsSpan(1, length - 1), extra);
System\UriExt.cs (1)
615string result = string.Concat(charsToUnescape.Slice(0, indexOfFirstToUnescape), vsb.AsSpan());
System\UriHelper.cs (2)
33string result = string.Concat(start, vsb.RawChars.Slice(0, charsWritten)); 226string result = string.Concat(charsToEscape.Slice(0, indexOfFirstToEscape), vsb.AsSpan());
System.Private.Xml (5)
System\Xml\Schema\XmlSchemaDataType.cs (1)
258canonicalUri = nameTable.Add(string.Concat(uri.AsSpan(0, offset), uri.Substring(offset).ToUpperInvariant()));
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)
570_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);