24 references to UTF8Encoding
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
376UTF8Encoding utf8 = new();
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
319writer.WriteString(new UTF8Encoding().GetString(keyIdentifier, 0, keyIdentifier.Length));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
579byte[] inputBytes = new UTF8Encoding().GetBytes(inputString);
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
60var byteArray = new UTF8Encoding().GetBytes(username + ":" + password);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
60var byteArray = new UTF8Encoding().GetBytes(username + ":" + password);
Microsoft.DotNet.SignCheckLibrary (3)
Verification\Jar\JarManifestFile.cs (1)
70byte[] hashValue = hashAlgorithm.ComputeHash(new UTF8Encoding().GetBytes(input.ToCharArray()));
Verification\Jar\JarManifestFileBase.cs (1)
135byte[] hashValue = hashAlgorithm.ComputeHash(new UTF8Encoding().GetBytes(ManifestText.ToCharArray()));
Verification\Jar\JarUtils.cs (1)
53byte[] hashValue = hashAlgorithm.ComputeHash(new UTF8Encoding().GetBytes(input.ToCharArray()));
PresentationBuildTasks (4)
MS\Internal\Tasks\TaskFileService.cs (3)
144UTF8Encoding utf8Encoding = new UTF8Encoding(); 295UTF8Encoding utf8Encoding = new UTF8Encoding(); 344UTF8Encoding utf8Encoding = new UTF8Encoding();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecordWriter.cs (1)
61_bamlBinaryWriter = new BamlBinaryWriter(stream,new System.Text.UTF8Encoding());
PresentationFramework (3)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
294UTF8Encoding encoding = new UTF8Encoding();
System\Windows\Markup\BamlRecordReader.cs (1)
5391_binaryReader = new BamlBinaryReader(BamlStream, new System.Text.UTF8Encoding());
System\Windows\Markup\BamlRecordWriter.cs (1)
61_bamlBinaryWriter = new BamlBinaryWriter(stream,new System.Text.UTF8Encoding());
System.DirectoryServices.Protocols (5)
System\DirectoryServices\Protocols\common\BerConverter.cs (1)
18UTF8Encoding utf8Encoder = new UTF8Encoding();
System\DirectoryServices\Protocols\common\DirectoryAttribute.cs (1)
18private static readonly UTF8Encoding s_encoder = new UTF8Encoding();
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (3)
598var encoder = new UTF8Encoding(); 603var encoder = new UTF8Encoding(); 1248var encoder = new UTF8Encoding();
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (1)
80this()
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
675byte[] inputBytes = new UTF8Encoding().GetBytes(inputString);
System.ServiceModel.Primitives (2)
System\IdentityModel\Tokens\WSSecurityJan2004.cs (2)
306bytes = new UTF8Encoding().GetBytes(reader.ReadContentAsString()); 346writer.WriteString(new UTF8Encoding().GetString(keyIdentifier, 0, keyIdentifier.Length));