68 references to Concat
illink (5)
Linker\MethodReferenceExtensions.cs (5)
24
string name = methodDefinition.IsSetter ? string.
Concat
(methodDefinition.Name.AsSpan(4), ".set") : string.
Concat
(methodDefinition.Name.AsSpan(4), ".get");
36
MethodSemanticsAttributes.AddOn => string.
Concat
(methodDefinition.Name.AsSpan(4), ".add"),
37
MethodSemanticsAttributes.RemoveOn => string.
Concat
(methodDefinition.Name.AsSpan(7), ".remove"),
38
MethodSemanticsAttributes.Fire => string.
Concat
(methodDefinition.Name.AsSpan(6), ".raise"),
Microsoft.AspNetCore.Http.Abstractions (2)
HostString.cs (1)
184
uriComponent = string.
Concat
(s_idnMapping.GetUnicode(uriComponent, 0, index), port);
PathString.cs (1)
362
var combined = string.
Concat
(Value.AsSpan(), other.Value.AsSpan(1));
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
MapPathMiddlewareTests.cs (1)
93
Assert.Equal(string.
Concat
(basePath, requestPath.AsSpan(0, matchPath.Length)), (string)context.Items["test.PathBase"]!);
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ViewEnginePath.cs (1)
40
result = string.
Concat
(first.AsSpan(0, index + 1), second);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
FileProviderRazorProjectFileSystem.cs (1)
78
return string.
Concat
(path1, path2.AsSpan(1));
Microsoft.AspNetCore.Mvc.RazorPages (1)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (1)
71
return string.
Concat
(path1, path2.AsSpan(1));
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
253
var partialMimeType = string.
Concat
(mimeType!.AsSpan(0, slashPos.Value), "/*");
Microsoft.Extensions.Configuration.Ini (1)
IniStreamConfigurationProvider.cs (1)
53
sectionPrefix = string.
Concat
(line.AsSpan(1, line.Length - 2).Trim(), ConfigurationPath.KeyDelimiter);
Microsoft.Extensions.Logging.EventLog (2)
EventLogLogger.cs (2)
143
messageSegment = string.
Concat
(message.AsSpan(startIndex, _beginOrEndMessageSegmentSize), ContinuationString);
156
messageSegment = string.
Concat
(ContinuationString, message.AsSpan(startIndex));
PresentationCore (2)
MS\Internal\FontCache\FontCacheUtil.cs (1)
642
return string.
Concat
("#", fontFamilyReference.AsSpan(startIndex, length)).ToUpperInvariant();
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
189
return string.
Concat
(returnValue, (ReadOnlySpan<char>)stackalloc char[] { '%' });
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (1)
710
matchedText = String.
Concat
(newText, matchedText.AsSpan(matchedTextInfo.MatchedPrefixLength));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2094
return 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)
518
tempColumnName = 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)
1221
string.
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)
119
destinationDirectoryFullPath = string.
Concat
(destinationDirectoryFullPath, new ReadOnlySpan<char>(in sep));
System.Net.Security (1)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
245
if (!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)
258
return string.
Concat
(providerName, activityName.AsSpan()[..^EventSource.ActivityStartSuffix.Length]);
262
return string.
Concat
(providerName, activityName.AsSpan()[..^EventSource.ActivityStopSuffix.Length]);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
2204
InsertHash(temp, string.
Concat
(str, monthPostfix), TokenType.MonthToken, i);
src\libraries\System.Private.CoreLib\src\System\Globalization\GlobalizationMode.Unix.cs (1)
68
ReadOnlySpan<char> suffixAndSeparator = string.
Concat
(suffix, ".");
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (2)
74
string.
Concat
(subpath, extension) :
710
string.
Concat
(first, second) :
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (2)
823
retVal = string.
Concat
(vsb.AsSpan(), charBufferSpan.Slice(0, idxOfNewline));
933
retVal = string.
Concat
(arrayPoolBuffer.AsSpan(0, arrayPoolBufferPos), charBuffer.AsSpan(charPos, idxOfNewline));
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
319
string result = string.
Concat
(codebase.AsSpan(0, indexOfFirstToEscape), vsb.AsSpan());
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (2)
166
serverTypeNamespace = string.
Concat
(Globals.DataContractXsdBaseNamespace, serverTypeNamespace.AsSpan(1));
199
serverTypeNamespace = string.
Concat
(Globals.DataContractXsdBaseNamespace, serverTypeNamespace.AsSpan(1));
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
89
return string.
Concat
("#", dataContractNamespace.AsSpan(JsonGlobals.DataContractXsdBaseNamespaceLength));
System.Private.Uri (15)
System\Uri.cs (12)
1188
string.
Concat
(host.AsSpan(1, host.Length - 2), scopeId) :
3028
return string.
Concat
(
3055
return string.
Concat
(
3151
return string.
Concat
(
3322
_string = string.
Concat
(_string, _originalUnicodeString.AsSpan(origIdx));
3874
newHost = string.
Concat
(newHost, new ReadOnlySpan<char>(pString + start, end - start));
3884
newHost = string.
Concat
(newHost, new ReadOnlySpan<char>(pString + start, end - start));
3922
newHost = string.
Concat
(newHost, new ReadOnlySpan<char>(pString + start, end - start));
3994
newHost = string.
Concat
(newHost, new ReadOnlySpan<char>(pString + startPort, idx - startPort));
4723
return string.
Concat
(basePart.OriginalString.AsSpan(0, idx + 1), relativePart);
4728
return string.
Concat
(basePart.OriginalString.AsSpan(0, idx + 1), relativePart);
4879
return string.
Concat
(path.AsSpan(1, length - 1), extra);
System\UriExt.cs (1)
615
string result = string.
Concat
(charsToUnescape.Slice(0, indexOfFirstToUnescape), vsb.AsSpan());
System\UriHelper.cs (2)
33
string result = string.
Concat
(start, vsb.RawChars.Slice(0, charsWritten));
226
string result = string.
Concat
(charsToEscape.Slice(0, indexOfFirstToEscape), vsb.AsSpan());
System.Private.Xml (5)
System\Xml\Schema\XmlSchemaDataType.cs (1)
258
canonicalUri = nameTable.Add(string.
Concat
(uri.AsSpan(0, offset), uri.Substring(offset).ToUpperInvariant()));
System\Xml\Xsl\IlGen\XmlILTrace.cs (4)
185
return string.
Concat
(s.AsSpan(9), " introduction");
189
return string.
Concat
(s.AsSpan(9), " elimination");
193
return string.
Concat
(s.AsSpan(7), " commutation");
197
return string.
Concat
(s.AsSpan(4), " folding");
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\RuntimeEnvironment.cs (1)
28
return string.
Concat
(Path.GetDirectoryName(runtimeDirectory), new ReadOnlySpan<char>(in sep));
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\DateTimeHelper.cs (1)
62
dateTimeString = string.
Concat
(dateTimeString.AsSpan(0, 19), dateTimeString.AsSpan(i));
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\TextEncoder.cs (1)
179
string retVal = string.
Concat
(value.Slice(0, indexOfFirstCharToEncode), stringBuilder.AsSpan());
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexLWCGCompiler.cs (1)
54
description = string.
Concat
("_", pattern.Length > DescriptionLimit ? pattern.AsSpan(0, DescriptionLimit) : pattern);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (1)
64
label = 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)
44
value = 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)
1626
typeName = string.
Concat
(typeNameSpan.Slice(0, index), subscript);