25 references to Create
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\Log.cs (1)
159return string.Create(CultureInfo.InvariantCulture, stackalloc char[256], $"{httpMethod} {httpHost}/{httpPath}");
PresentationCore (1)
System\Windows\Media\Color.cs (1)
272return 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)
125string.Create(null, stackalloc char[256], $"TargetType={((_typeInTargetAssembly != null) ? _typeInTargetAssembly.FullName : "null")} ID={((_resourceId != null) ? _resourceId.ToString() : "null")}");
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
172return string.Create(cultureInfo, stackalloc char[128],
System\Windows\CornerRadiusConverter.cs (1)
151return string.Create(cultureInfo, stackalloc char[64], $"{cr.TopLeft}{listSeparator}{cr.TopRight}{listSeparator}{cr.BottomRight}{listSeparator}{cr.BottomLeft}");
System\Windows\Documents\RtfToXamlReader.cs (2)
1960CF < 0 ? string.Create(CultureInfo.InvariantCulture, stackalloc char[128], $"\\brdrs\\brdrw{EffectiveWidth}") : 1961string.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)
92string.Create(
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
247string.Create(null, stackalloc char[128], $"00-{_traceId}-{_spanId}-{flagsChars}"); 279string.Create(null, stackalloc char[128], $"00-{_traceId}-{_parentSpanId}-{flagsChars}");
System.Diagnostics.TraceSource (4)
System\Diagnostics\TraceListener.cs (4)
178TraceEvent(eventCache, source, TraceEventType.Transfer, id, string.Create(null, stackalloc char[256], $"{message}, relatedActivityId={relatedActivityId}")); 384Write(string.Create(CultureInfo.InvariantCulture, stackalloc char[256], $"{source} {eventType}: {id} : ")); 425WriteLine(string.Create(null, stackBuffer, $"DateTime={eventCache.DateTime:o}")); 428WriteLine(string.Create(null, stackBuffer, $"Timestamp={eventCache.Timestamp}"));
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorage.cs (1)
156hash = 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)
55string.Create(null, stackalloc char[256], $"{RootPath}{(uint)pid}{StatusFileName}");
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\KeyValuePair.cs (1)
20string.Create(null, stackalloc char[256], $"[{key}, {value}]");
src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (2)
110string.Create(null, stackBuffer, $"{os}{_version}") : 111string.Create(null, stackBuffer, $"{os}{_version.ToString(3)} {_servicePack}");
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.FullGlobalizationData.Unix.cs (1)
161string 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)
238string? displayName = string.Create(null, stackalloc char[256], $"(UTC{(_baseUtcOffset >= TimeSpan.Zero ? '+' : '-')}{_baseUtcOffset:hh\\:mm}) {_id}");
src\System\Reflection\MdImport.cs (1)
171public 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};");