42 references to String
ILCompiler.ReadyToRun (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
400string message = szMessage != null ? new string(szMessage) : "JIT Exception";
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
400string message = szMessage != null ? new string(szMessage) : "JIT Exception";
Microsoft.AspNetCore.Cryptography.Internal (1)
SafeHandles\NCryptDescriptorHandle.cs (1)
32return new String((char*)ruleStringHandle.DangerousGetHandle());
Microsoft.AspNetCore.Server.HttpSys (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PCWSTR.g.cs (1)
69 public override string ToString() => this.Value is null ? null : new string(this.Value);
Microsoft.AspNetCore.Server.IIS (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PCWSTR.g.cs (1)
69 public override string ToString() => this.Value is null ? null : new string(this.Value);
Microsoft.Diagnostics.DataContractReader.Legacy (5)
ClrDataModule.cs (1)
380string fullName = new string(name);
ClrDataValue.cs (1)
413return StartEnumFields(name is null ? null : new string(name), nameFlags, fieldFlags, fromType, handle);
MetaDataImportImpl.cs (3)
995string targetName = new string(szName); 1100string targetName = new string(szTypeDef); 2213string targetName = new string(szName);
Microsoft.ML.Maml (1)
MAML.cs (1)
39string args = new string(psz);
Microsoft.Private.Windows.Core (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PCWSTR.g.cs (1)
69 public override string ToString() => this.Value is null ? null : new string(this.Value);
Windows\Win32\Foundation\PWSTR.cs (1)
15string value = new(Value);
Microsoft.Win32.Registry (1)
Microsoft\Win32\RegistryKey.cs (1)
909names[cpt++] = new string(c);
PresentationCore (1)
MS\Internal\Text\TextInterface\FontCollectionLoader.cs (1)
57string uriString = new string((char*)collectionKey);
PresentationFramework (1)
System\Windows\Controls\PasswordBox.cs (1)
160password = new string((char*)ptr);
System.Diagnostics.EventLog (2)
System\Diagnostics\EventLogEntry.cs (2)
288return new string(bufDomainName) + "\\" + new string(bufUserName);
System.DirectoryServices.AccountManagement (4)
System\DirectoryServices\AccountManagement\NetCred.cs (2)
88parsedDomainName = new string(splitDomain); 89parsedUserName = new string(splitUsername);
System\DirectoryServices\AccountManagement\Utils.cs (2)
635name = new string(sbName); 636domainName = new string(sbDomainName);
System.Private.CoreLib (12)
Internal\Runtime\CompilerHelpers\StartupCode\StartupCodeHelpers.Extensions.cs (1)
28args[i] = new string(argv[i]);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.Nls.cs (1)
68string calendarInfo = new string(lpCalendarInfoString);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (3)
183windowsName = new string(buffer); // the name passed to subsequent ICU calls 207windowsName = new string(buffer); // the name passed to subsequent ICU calls 249return new string(buffer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (4)
26return new string(pBuffer); 353string cultureName = new string(lpLocaleString); 375((EnumData*)contextHandle)->strings.Add(new string(lpLocaleString)); 396((EnumData*)lParam)->strings.Add(new string(lpTimeFormatString));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
58return new string((char*)ptr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\StartupHookProvider.cs (1)
81ParseStartupHook(ref startupHook, new string(pStartupHookPart));
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.String.cs (1)
52return new string((char*)(IntPtr)(args[0]));
System.Private.Windows.Core (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PCWSTR.g.cs (1)
69 public override string ToString() => this.Value is null ? null : new string(this.Value);
Windows\Win32\Foundation\PWSTR.cs (1)
15string value = new(Value);
System.Security.Cryptography (1)
System\Security\Cryptography\CngAsnFormatter.cs (1)
40return new string(bufferPtr);
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (1)
199issuer = new string(namePtr);
System.Text.Encoding.CodePages (1)
System\Text\BaseCodePageEncoding.netcoreapp.cs (1)
66default: codePageName = new string(&codePageIndex.CodePageName); break;
System.Windows.Forms.Primitives (1)
Windows\Win32\UI\Shell\FolderBrowserHelper.cs (1)
67return success ? new(b) : null;
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
2621string menuText = new string(text);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
655text = new string((char*)globalMem);