25 references to Create
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\Log.cs (1)
159
return string.
Create
(CultureInfo.InvariantCulture, stackalloc char[256], $"{httpMethod} {httpHost}/{httpPath}");
PresentationCore (1)
System\Windows\Media\Color.cs (1)
272
return string.
Create
(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}");
PresentationFramework (6)
System\Windows\ComponentResourceKey.cs (1)
125
string.
Create
(null, stackalloc char[256], $"TargetType={((_typeInTargetAssembly != null) ? _typeInTargetAssembly.FullName : "null")} ID={((_resourceId != null) ? _resourceId.ToString() : "null")}");
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
172
return string.
Create
(cultureInfo, stackalloc char[128],
System\Windows\CornerRadiusConverter.cs (1)
151
return string.
Create
(cultureInfo, stackalloc char[64], $"{cr.TopLeft}{listSeparator}{cr.TopRight}{listSeparator}{cr.BottomRight}{listSeparator}{cr.BottomLeft}");
System\Windows\Documents\RtfToXamlReader.cs (2)
1960
CF < 0 ? string.
Create
(CultureInfo.InvariantCulture, stackalloc char[128], $"\\brdrs\\brdrw{EffectiveWidth}") :
1961
string.
Create
(CultureInfo.InvariantCulture, stackalloc char[128], $"\\brdrs\\brdrw{EffectiveWidth}\\brdrcf{CF}");
System\Windows\Markup\BamlReader.cs (1)
1914
_value = string.
Create
(null, stackalloc char[100], $"XmlNamespace=\"{_xmlNamespace}\" ClrNamespace=\"{_clrNamespace}\" Assembly=\"{_assemblyName}\"");
System.ComponentModel.TypeConverter (1)
System\ComponentModel\MaskedTextProvider.cs (1)
92
string.
Create
(
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
247
string.
Create
(null, stackalloc char[128], $"00-{_traceId}-{_spanId}-{flagsChars}");
279
string.
Create
(null, stackalloc char[128], $"00-{_traceId}-{_parentSpanId}-{flagsChars}");
System.Diagnostics.TraceSource (4)
System\Diagnostics\TraceListener.cs (4)
178
TraceEvent(eventCache, source, TraceEventType.Transfer, id, string.
Create
(null, stackalloc char[256], $"{message}, relatedActivityId={relatedActivityId}"));
384
Write(string.
Create
(CultureInfo.InvariantCulture, stackalloc char[256], $"{source} {eventType}: {id} : "));
425
WriteLine(string.
Create
(null, stackBuffer, $"DateTime={eventCache.DateTime:o}"));
428
WriteLine(string.
Create
(null, stackBuffer, $"Timestamp={eventCache.Timestamp}"));
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorage.cs (1)
156
hash = string.
Create
(null, stackalloc char[128], $"{hash}{SeparatorExternal}{hash}");
System.Private.CoreLib (7)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (1)
55
string.
Create
(null, stackalloc char[256], $"{RootPath}{(uint)pid}{StatusFileName}");
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\KeyValuePair.cs (1)
20
string.
Create
(null, stackalloc char[256], $"[{key}, {value}]");
src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (2)
110
string.
Create
(null, stackBuffer, $"{os}{_version}") :
111
string.
Create
(null, stackBuffer, $"{os}{_version.ToString(3)} {_servicePack}");
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.FullGlobalizationData.Unix.cs (1)
161
string baseOffsetText = string.
Create
(null, stackalloc char[128], $"(UTC{(baseUtcOffset >= TimeSpan.Zero ? '+' : '-')}{baseUtcOffset:hh\\:mm})");
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.cs (1)
238
string? displayName = string.
Create
(null, stackalloc char[256], $"(UTC{(_baseUtcOffset >= TimeSpan.Zero ? '+' : '-')}{_baseUtcOffset:hh\\:mm}) {_id}");
src\System\Reflection\MdImport.cs (1)
171
public override string ToString() => string.
Create
(CultureInfo.InvariantCulture, stackalloc char[64], $"0x{Value:x8}");
System.Private.Xml (2)
System\Xml\Core\CharEntityEncoderFallback.cs (2)
75
_charEntity = string.
Create
(null, stackalloc char[64], $"&#x{(int)charUnknown:X};");
102
_charEntity = string.
Create
(null, stackalloc char[64], $"&#x{SurrogateCharToUtf32(charUnknownHigh, charUnknownLow):X};");