25 references to new
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
372UTF8Encoding 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);
NuGet.Packaging (6)
PackageArchiveReader.cs (3)
392using (var reader = new BinaryReader(bufferedStream, new UTF8Encoding(), leaveOpen: true)) 444using (var reader = new BinaryReader(bufferedStream, new UTF8Encoding(), leaveOpen: true)) 565using (var reader = new BinaryReader(bufferedStream, new UTF8Encoding(), leaveOpen: true))
Signing\Package\SignedPackageArchive.cs (3)
55using (var reader = new BinaryReader(ZipReadStream, new UTF8Encoding(), leaveOpen: true)) 93using (var reader = new BinaryReader(bufferedStream, new UTF8Encoding(), leaveOpen: true)) 104using (var reader = new BinaryReader(bufferedStream, new UTF8Encoding(), leaveOpen: true))
PresentationBuildTasks (4)
MS\Internal\Tasks\TaskFileService.cs (3)
144UTF8Encoding utf8Encoding = new UTF8Encoding(); 295UTF8Encoding utf8Encoding = new UTF8Encoding(); 344UTF8Encoding utf8Encoding = new UTF8Encoding();
src\wpf\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)
592var encoder = new UTF8Encoding(); 597var encoder = new UTF8Encoding(); 1242var encoder = new UTF8Encoding();
System.Private.CoreLib (1)
src\runtime\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)
316bytes = new UTF8Encoding().GetBytes(reader.ReadContentAsString()); 356writer.WriteString(new UTF8Encoding().GetString(keyIdentifier, 0, keyIdentifier.Length));