169 references to GetString
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
193return Encoding.UTF8.GetString(data.FirstSpan);
Aspire.Hosting (3)
Dcp\DcpHost.cs (1)
363return (_logger, LogLevel.Debug, Encoding.UTF8.GetString(line));
Dcp\DcpLogParser.cs (2)
93message = Encoding.UTF8.GetString(messageSpan); 94category = Encoding.UTF8.GetString(categorySpan);
Aspire.Hosting.RabbitMQ.Tests (2)
RabbitMQFunctionalTests.cs (2)
89Assert.Equal(message, Encoding.UTF8.GetString(result!.Body.Span)); 206Assert.Equal("Hello World!", Encoding.UTF8.GetString(result!.Body.Span));
cdac-build-tool (1)
ObjectFileScraper.cs (1)
346return System.Text.Encoding.UTF8.GetString(nameBytes);
ILAssembler (3)
GrammarVisitor.cs (3)
585: Encoding.Unicode.GetString([.. VisitBytes(context.bytes()).Value]); 2519SerializationTypeCode.String => Encoding.Unicode.GetString(valueBytes), 2576return Encoding.UTF8.GetString(bytes.Slice(bytesRead, length));
ilc (6)
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\HelperExtensions.cs (6)
79throw new InvalidOperationException(string.Format("Expected method '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 94throw new InvalidOperationException(string.Format("Expected field '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 109throw new InvalidOperationException(string.Format("Expected type '{0}' not found on type '{1}'", Encoding.UTF8.GetString(name), type)); 126@namespace.Length > 0 ? string.Concat(Encoding.UTF8.GetString(@namespace), ".", Encoding.UTF8.GetString(name)) : Encoding.UTF8.GetString(name),
ILCompiler.Compiler (8)
Compiler\SourceLinkWriter.cs (1)
50? "{\"documents\":{}}" : Encoding.UTF8.GetString(sourceLinkBytes);
Compiler\SubstitutionProvider.cs (1)
138string resourceStringName = System.Text.Encoding.UTF8.GetString(method.Name.AsSpan().Slice(4));
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\HelperExtensions.cs (6)
79throw new InvalidOperationException(string.Format("Expected method '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 94throw new InvalidOperationException(string.Format("Expected field '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 109throw new InvalidOperationException(string.Format("Expected type '{0}' not found on type '{1}'", Encoding.UTF8.GetString(name), type)); 126@namespace.Length > 0 ? string.Concat(Encoding.UTF8.GetString(@namespace), ".", Encoding.UTF8.GetString(name)) : Encoding.UTF8.GetString(name),
ILCompiler.ReadyToRun (9)
IBC\IBCProfileParser.cs (1)
391_logger.Writer.WriteLine($"Ibc TypeToken {ibcToken:x} unable to find nested type '{Encoding.UTF8.GetString(typeName)}' on type '{externalModule.MetadataReader.GetToken(enclosingType):x}'");
IBC\MIbcProfileParser.cs (2)
653var failure = ResolutionFailure.GetTypeLoadResolutionFailure(Encoding.UTF8.GetString(nameSpace.AsSpan()), Encoding.UTF8.GetString(name.AsSpan()), "System.Private.Canon");
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\HelperExtensions.cs (6)
79throw new InvalidOperationException(string.Format("Expected method '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 94throw new InvalidOperationException(string.Format("Expected field '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 109throw new InvalidOperationException(string.Format("Expected type '{0}' not found on type '{1}'", Encoding.UTF8.GetString(name), type)); 126@namespace.Length > 0 ? string.Concat(Encoding.UTF8.GetString(@namespace), ".", Encoding.UTF8.GetString(name)) : Encoding.UTF8.GetString(name),
ILCompiler.RyuJit (8)
src\runtime\src\coreclr\tools\aot\ILCompiler.ReadyToRun\IBC\MIbcProfileParser.cs (2)
653var failure = ResolutionFailure.GetTypeLoadResolutionFailure(Encoding.UTF8.GetString(nameSpace.AsSpan()), Encoding.UTF8.GetString(name.AsSpan()), "System.Private.Canon");
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\HelperExtensions.cs (6)
79throw new InvalidOperationException(string.Format("Expected method '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 94throw new InvalidOperationException(string.Format("Expected field '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 109throw new InvalidOperationException(string.Format("Expected type '{0}' not found on type '{1}'", Encoding.UTF8.GetString(name), type)); 126@namespace.Length > 0 ? string.Concat(Encoding.UTF8.GetString(@namespace), ".", Encoding.UTF8.GetString(name)) : Encoding.UTF8.GetString(name),
ILCompiler.TypeSystem (14)
src\runtime\src\coreclr\tools\Common\Internal\Text\Utf8Span.cs (2)
40return Encoding.UTF8.GetString(_value) == value; 59public override string ToString() => Encoding.UTF8.GetString(_value);
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\DefType.cs (2)
23public string GetNamespace() => System.Text.Encoding.UTF8.GetString(Namespace 36public string GetName() => System.Text.Encoding.UTF8.GetString(Name
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs (1)
44return System.Text.Encoding.UTF8.GetString(
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\MethodDesc.cs (1)
601return System.Text.Encoding.UTF8.GetString(Name
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs (2)
701return ResolutionFailure.GetTypeLoadResolutionFailure(Encoding.UTF8.GetString(typeName), ((MetadataType)resolutionScope).Module); 745return ResolutionFailure.GetTypeLoadResolutionFailure(Encoding.UTF8.GetString(name), this);
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\HelperExtensions.cs (6)
79throw new InvalidOperationException(string.Format("Expected method '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 94throw new InvalidOperationException(string.Format("Expected field '{0}' not found on type '{1}'", System.Text.Encoding.UTF8.GetString(name), type)); 109throw new InvalidOperationException(string.Format("Expected type '{0}' not found on type '{1}'", Encoding.UTF8.GetString(name), type)); 126@namespace.Length > 0 ? string.Concat(Encoding.UTF8.GetString(@namespace), ".", Encoding.UTF8.GetString(name)) : Encoding.UTF8.GetString(name),
Microsoft.AspNetCore.Antiforgery (1)
src\aspnetcore\src\Shared\Encoding\Int7BitEncodingUtils.cs (1)
157value = Encoding.UTF8.GetString(bytes.Slice(consumed, length));
Microsoft.AspNetCore.Components (1)
Routing\RouteContext.cs (1)
34path = Encoding.UTF8.GetString(utf8Span);
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\ClientValidationDataWriter.cs (1)
112var result = _anyField ? Encoding.UTF8.GetString(_buffer.WrittenSpan) : null;
Microsoft.AspNetCore.Components.Server (2)
src\aspnetcore\src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (1)
658return binder.GetTarget(span) ?? Encoding.UTF8.GetString(span);
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackReader.cs (1)
817string value = StringEncoding.UTF8.GetString(unreadSpan.Slice(0, byteLength));
Microsoft.AspNetCore.DataProtection (1)
src\aspnetcore\src\Shared\Encoding\Int7BitEncodingUtils.cs (1)
157value = Encoding.UTF8.GetString(bytes.Slice(consumed, length));
Microsoft.AspNetCore.Identity (1)
Passkeys\BufferSource.cs (1)
124return Encoding.UTF8.GetString(span);
Microsoft.AspNetCore.OutputCaching (1)
FormatterBinaryReader.cs (1)
143var s = Encoding.UTF8.GetString(MemoryMarshal.CreateReadOnlySpan(ref Unsafe.Add(ref _root, _offset), bytes));
Microsoft.AspNetCore.Server.HttpSys (3)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (1)
42return UTF8.GetString(unescapedPath.Slice(0, length));
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (2)
42resultString = defaultEncoding.GetString(span); 75return Encoding.Latin1.GetString(span);
Microsoft.AspNetCore.Server.IIS (3)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (1)
42return UTF8.GetString(unescapedPath.Slice(0, length));
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (2)
42resultString = defaultEncoding.GetString(span); 75return Encoding.Latin1.GetString(span);
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\PathDecoder.cs (1)
33return Encoding.UTF8.GetString(path.Slice(0, pathLength));
Internal\Infrastructure\HttpUtilities.cs (1)
169return encoding.GetString(span);
Internal\Infrastructure\KestrelEventSource.cs (2)
195var applicationProtocol = feature == null ? string.Empty : Encoding.UTF8.GetString(feature.ApplicationProtocol.Span); 244var serializedConfig = Encoding.UTF8.GetString(bufferWriter.WrittenSpan);
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (2)
42resultString = defaultEncoding.GetString(span); 75return Encoding.Latin1.GetString(span);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (2)
42resultString = defaultEncoding.GetString(span); 75return Encoding.Latin1.GetString(span);
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocolWorker.cs (1)
658return binder.GetTarget(span) ?? Encoding.UTF8.GetString(span);
Microsoft.AspNetCore.WebUtilities (2)
FormPipeReader.cs (2)
405return _encoding.GetString(span); 416var decodedString = _encoding.GetString(readOnlySpan);
Microsoft.Diagnostics.DataContractReader (4)
ContractDescriptorTarget.cs (4)
717return strict ? strictUTF8Encoding.GetString(span) : looseUTF8Encoding.GetString(span); 743? Encoding.Unicode.GetString(span) 744: Encoding.BigEndianUnicode.GetString(span);
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\DacStreams_1.cs (1)
117string name = Encoding.UTF8.GetString(miniMdBuffer.Slice((int)(currentAddress - miniMetaDataBuffAddress), stringLen));
EcmaMetadataUtils.cs (1)
83return Encoding.UTF8.GetString(buffer);
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Resolver\EncodedDomainName.cs (1)
29sb.Append(Encoding.ASCII.GetString(label.Span));
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (1)
Fuzzers\WriteDomainNameRoundTripFuzzer.cs (1)
20string domainName = Encoding.UTF8.GetString(data);
Microsoft.ML.Tokenizers (1)
Utils\Helpers.netcoreapp.cs (1)
62=> Encoding.UTF8.GetString(utf8Bytes);
Microsoft.ML.Tokenizers.Tests (1)
src\Microsoft.ML.Tokenizers\Utils\Helpers.netcoreapp.cs (1)
62=> Encoding.UTF8.GetString(utf8Bytes);
Microsoft.Net.Http.Headers (1)
ContentDispositionHeaderValue.cs (1)
562var result = Encoding.UTF8.GetString(buffer.Slice(0, MimePrefix.Length + base64ContentLength + MimeSuffix.Length));
ServiceBusWorker (1)
Consumer.cs (1)
20logger.LogInformation("Received message: {Message}", Encoding.UTF8.GetString(args.Message.Body));
Shared (1)
ServerSentEvents\Helpers.cs (1)
116return Encoding.UTF8.GetString(bytes);
System.Diagnostics.Process (6)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadLink.cs (1)
54return Encoding.UTF8.GetString(spanBuffer.Slice(0, resultLength));
System\Diagnostics\Process.Linux.cs (1)
296string argString = Encoding.UTF8.GetString(arg.Slice(nameStart));
System\Diagnostics\Process.Multiplexing.cs (4)
60string standardOutput = outputEncoding.GetString(outputBuffer.AsSpan(0, outputBytesRead)); 61string standardError = errorEncoding.GetString(errorBuffer.AsSpan(0, errorBytesRead)); 392return (outputEncoding.GetString(standardOutput.AsSpan()), errorEncoding.GetString(standardError.AsSpan()));
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\common\DirectoryControl.cs (1)
259attribute = s_utf8Encoding.GetString(attributeNameBuffer);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnDecoder.Text.cs (1)
407str = encoding.GetString(contents);
System.Formats.Cbor (1)
System\Formats\Cbor\Reader\CborReader.String.cs (1)
196result = utf8Encoding.GetString(encodedString);
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.Read.cs (4)
537_magic = Encoding.ASCII.GetString(magic); 590_version = Encoding.ASCII.GetString(version); 794key = Encoding.UTF8.GetString(keySlice); 795value = Encoding.UTF8.GetString(valueSlice);
System\Formats\Tar\TarHelpers.cs (1)
280return Encoding.UTF8.GetString(buffer);
System.Memory (1)
System\Text\EncodingExtensions.cs (1)
341return encoding.GetString(bytes.FirstSpan);
System.Memory.Data (1)
System\BinaryData.cs (1)
419public override string ToString() => Encoding.UTF8.GetString(_bytes.Span);
System.Net.Http (20)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
174string value = (valueEncoding ?? HttpRuleParser.DefaultHttpEncoding).GetString(headerValue);
System\Net\Http\Headers\UriHeaderParser.cs (1)
79return decoder.GetString(rawBytes);
System\Net\Http\HttpContent.cs (2)
179return encoding.GetString(firstBuffer[bomLength..]); 186string result = encoding.GetString(buffer.AsSpan(0, (int)stream.Length)[bomLength..]);
System\Net\Http\HttpRuleParser.cs (1)
57return Encoding.ASCII.GetString(input);
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (1)
389throw new HttpIOException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_chunk_terminator_invalid, Encoding.ASCII.GetString(currentLine)));
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
457string response = Encoding.ASCII.GetString(_incomingBuffer.ActiveSpan.Slice(0, Math.Min(20, _incomingBuffer.ActiveLength))); 783string altSvcHeaderValue = Encoding.ASCII.GetString(span);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (3)
679if (NetEventSource.Log.IsEnabled()) Trace($"{descriptor.Name}: {Encoding.ASCII.GetString(value)}"); 744if (NetEventSource.Log.IsEnabled()) Trace($"Invalid response pseudo-header '{Encoding.ASCII.GetString(name)}'."); 754throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_header_name, Encoding.ASCII.GetString(name)));
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
997throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_header_name, Encoding.ASCII.GetString(name)));
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (7)
1070throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_status_line, Encoding.ASCII.GetString(line))); 1091throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_status_line, Encoding.ASCII.GetString(line))); 1099throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_status_code, Encoding.ASCII.GetString(line.Slice(9, 3)))); 1120response.ReasonPhrase = HttpRuleParser.DefaultHttpEncoding.GetString(reasonBytes); 1130throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_status_line, Encoding.ASCII.GetString(line))); 1229throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_header_line, Encoding.ASCII.GetString(buffer.Slice(0, newLineIndex)))); 1331throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_header_name, Encoding.ASCII.GetString(name)));
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
306throw new HttpRequestException(HttpRequestError.InvalidResponse, SR.Format(SR.net_http_invalid_response_status_code, Encoding.ASCII.GetString(value)));
System.Net.NameResolution (1)
System\Net\DnsResolverPal.Managed.cs (1)
257values.Add(Encoding.UTF8.GetString(str));
System.Net.Security (2)
System\Net\NegotiateAuthenticationPal.Unix.cs (1)
534return Encoding.UTF8.GetString(tokenBytes);
System\Net\Security\TlsFrameHelper.cs (1)
791idnEncodedString = s_encoding.GetString(bytes);
System.Net.ServerSentEvents (3)
System\Net\ServerSentEvents\SseParser_1.cs (2)
431_eventType = Encoding.UTF8.GetString(fieldValue); 439LastEventId = _eventId = Encoding.UTF8.GetString(fieldValue);
System\Net\ServerSentEvents\SseParser.cs (1)
27Create(sseStream, static (_, bytes) => Encoding.UTF8.GetString(bytes));
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1112closeStatusDescription = s_textEncoding.GetString(_receiveBuffer.Span.Slice(_receiveBufferOffset + 2, (int)header.PayloadLength - 2));
System.Private.CoreLib (9)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (1)
44? Encoding.UTF8.GetString(nameBytes) // Fallback to allocation since this is a rare case
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadLink.cs (1)
54return Encoding.UTF8.GetString(spanBuffer.Slice(0, resultLength));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipePayloadDecoder.cs (1)
129decodedFields[i] = BitConverter.IsLittleEndian ? new string(charPayload) : Encoding.Unicode.GetString(MemoryMarshal.Cast<char, byte>(charPayload));
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BinaryReader.cs (1)
275return _encoding.GetString(charBytes[..n]);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Directory.Unix.cs (1)
56return Encoding.UTF8.GetString(path.Slice(0, path.Length - 1)); // trim off the trailing '\0'
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (1)
121return Encoding.UTF8.GetString(path.Slice(0, path.Length - 1)); // trim off the trailing '\0'
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (1)
1722SR.Format(SR.Format_InvalidStringWithValue, Encoding.UTF8.GetString(bytes)) :
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (1)
282return enc.GetString(new ReadOnlySpan<byte>(pStart, length));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
459Encoding.UTF8.GetString(Unsafe.BitCast<ReadOnlySpan<TChar>, ReadOnlySpan<byte>>(originalInput));
System.Private.StackTraceMetadata (1)
Internal\StackTraceMetadata\StackTraceMetadata.cs (1)
178string documentName = System.Text.Encoding.UTF8.GetString(MemoryMarshal.CreateReadOnlySpanFromNullTerminated(documentAddress));
System.Private.TypeLoader (6)
src\runtime\src\coreclr\tools\Common\Internal\Text\Utf8Span.cs (2)
40return Encoding.UTF8.GetString(_value) == value; 59public override string ToString() => Encoding.UTF8.GetString(_value);
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\DefType.cs (2)
23public string GetNamespace() => System.Text.Encoding.UTF8.GetString(Namespace 36public string GetName() => System.Text.Encoding.UTF8.GetString(Name
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs (1)
44return System.Text.Encoding.UTF8.GetString(
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\MethodDesc.cs (1)
601return System.Text.Encoding.UTF8.GetString(Name
System.Private.Windows.Core (2)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (2)
267return bytes.IsEmpty ? string.Empty : encoding.GetString(bytes); 301return Encoding.UTF8.GetString(bytes);
System.Reflection.Emit (1)
System\Reflection\Emit\CustomAttributeWrapper.cs (1)
97return Text.Encoding.UTF8.GetString(data.Slice(pos, len));
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Helpers.cs (1)
357public static string ToUtf16(this ReadOnlySpan<byte> utf8) => Encoding.UTF8.GetString(utf8);
System.Runtime.Numerics (2)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder_1.cs (1)
106return Encoding.UTF8.GetString(Unsafe.BitCast<ReadOnlySpan<TChar>, ReadOnlySpan<byte>>(slice));
System\Number.BigInteger.cs (1)
987strResult = Encoding.UTF8.GetString(Unsafe.BitCast<ReadOnlySpan<TChar>, ReadOnlySpan<byte>>(vlb.AsSpan()));
System.Text.Json (10)
System\Text\Json\Document\JsonElement.cs (1)
221throw new KeyNotFoundException(SR.Format(SR.Arg_KeyNotFoundWithKey, Encoding.UTF8.GetString(utf8PropertyName)));
System\Text\Json\Nodes\JsonNode.To.cs (2)
28return Encoding.UTF8.GetString(output.WrittenSpan); 61return Encoding.UTF8.GetString(output.WrittenSpan);
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (2)
257return s_utf8Encoding.GetString(utf8Unescaped); 353return s_utf8Encoding.GetString(utf8Text);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (2)
47string stringPropertyName = Encoding.UTF8.GetString(unescapedPropertyName); 54state.Current.JsonPropertyNameAsString = Encoding.UTF8.GetString(unescapedPropertyName);
System\Text\Json\ThrowHelper.cs (1)
378string message = GetResourceString(ref json, resource, nextByte, Encoding.UTF8.GetString(bytes));
System\Text\Json\ThrowHelper.Serialization.cs (2)
369string name = Encoding.UTF8.GetString(nameBytes); 808ThrowJsonException(SR.Format(SR.DuplicateMetadataProperty, Encoding.UTF8.GetString(utf8PropertyName)));
System.Transactions.Local (1)
System\Transactions\DtcProxyShim\Xactopt.cs (1)
55=> new(unmanaged.UlTimeout, Encoding.ASCII.GetString(unmanaged.SzDescription));