465 references to string
Microsoft.AspNetCore.Cryptography.Internal (1)
SafeHandles\NCryptDescriptorHandle.cs (1)
32return new String((char*)ruleStringHandle.DangerousGetHandle());
Microsoft.ML.Maml (1)
MAML.cs (1)
39string args = new string(psz);
Microsoft.VisualStudio.LanguageServices (1)
Utilities\ClipboardHelpers.cs (1)
115stringData = new string((char*)ptr);
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.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\AppContext.cs (2)
182s_dataStore.Add(new string(pNames[i]), new string(pValues[i]));
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\XplatEventLogger.cs (1)
21private static unsafe string GetClrConfig(string configName) => new string(EventSource_GetClrConfig(configName));
src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.Nls.cs (1)
67string calendarInfo = new string(lpCalendarInfoString);
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\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\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
58return new string((char*)ptr);
src\libraries\System.Private.CoreLib\src\System\StartupHookProvider.cs (1)
80ParseStartupHook(ref startupHook, new string(pStartupHookPart));
src\System\Environment.CoreCLR.cs (2)
95commandLineArgs[0] = new string(exePath); 99commandLineArgs[i + 1] = mainMethodArgs[i] = new string(argv[i]);
src\System\Reflection\AssemblyName.CoreCLR.cs (2)
70_name = new string(pParts->_pName); 75_cultureInfo = new CultureInfo(new string(pParts->_pCultureName));
src\System\StartupHookProvider.CoreCLR.cs (1)
18ProcessStartupHooks(new string(pDiagnosticStartupHooks));
System.Private.Windows.Core (1)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
177stringData = unicode ? new string((char*)buffer) : new string((sbyte*)buffer);
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;
System.Windows.Forms.Primitives.Tests (2)
Interop\ComCtl32\LVITEMWTests.cs (2)
36string text = new(lvi.pszText); 67string text = new(lvi.pszText);
System.Windows.Forms.Tests (435)
System\Windows\Forms\ColumnHeaderTests.cs (1)
1018Assert.Equal(expected, new string(column.pszText));
System\Windows\Forms\DataObjectTests.cs (1)
2527new string(pChar).Should().Be("text");
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (360)
523Assert.Equal("4", new string(textBuffer)); 525Assert.Equal("1", new string(textBuffer)); 527Assert.Equal("3", new string(textBuffer)); 540Assert.Equal("4", new string(textBuffer)); 542Assert.Equal("2", new string(textBuffer)); 544Assert.Equal("3", new string(textBuffer)); 557Assert.Equal("4", new string(textBuffer)); 559Assert.Equal("2", new string(textBuffer)); 561Assert.Equal("5", new string(textBuffer)); 574Assert.Equal("4", new string(textBuffer)); 576Assert.Equal("2", new string(textBuffer)); 578Assert.Equal("5", new string(textBuffer)); 612Assert.Equal("4", new string(textBuffer)); 614Assert.Equal("2", new string(textBuffer)); 616Assert.Equal("3", new string(textBuffer)); 629Assert.Equal("4", new string(textBuffer)); 631Assert.Equal("1", new string(textBuffer)); 633Assert.Equal("3", new string(textBuffer)); 646Assert.Equal("4", new string(textBuffer)); 648Assert.Equal("1", new string(textBuffer)); 650Assert.Equal("5", new string(textBuffer)); 663Assert.Equal("4", new string(textBuffer)); 665Assert.Equal("1", new string(textBuffer)); 667Assert.Equal("5", new string(textBuffer)); 1493Assert.Equal("2", new string(textBuffer)); 1506Assert.Equal("2", new string(textBuffer)); 1508Assert.Equal("1", new string(textBuffer)); 1521Assert.Equal("2", new string(textBuffer)); 1523Assert.Equal("1", new string(textBuffer)); 1525Assert.Equal("1", new string(textBuffer)); 1538Assert.Equal("2", new string(textBuffer)); 1540Assert.Equal("1", new string(textBuffer)); 1542Assert.Equal("1", new string(textBuffer)); 1544Assert.Equal("3", new string(textBuffer)); 1572Assert.Equal("2", new string(textBuffer)); 1585Assert.Equal("2", new string(textBuffer)); 1587Assert.Equal("1", new string(textBuffer)); 1600Assert.Equal("2", new string(textBuffer)); 1602Assert.Equal("1", new string(textBuffer)); 1604Assert.Equal("1", new string(textBuffer)); 1617Assert.Equal("2", new string(textBuffer)); 1619Assert.Equal("1", new string(textBuffer)); 1621Assert.Equal("1", new string(textBuffer)); 1623Assert.Equal("3", new string(textBuffer)); 1654Assert.Equal("2", new string(textBuffer)); 1667Assert.Equal("1", new string(textBuffer)); 1669Assert.Equal("2", new string(textBuffer)); 1682Assert.Equal("1", new string(textBuffer)); 1684Assert.Equal("1", new string(textBuffer)); 1686Assert.Equal("2", new string(textBuffer)); 1699Assert.Equal("1", new string(textBuffer)); 1701Assert.Equal("1", new string(textBuffer)); 1703Assert.Equal("2", new string(textBuffer)); 1705Assert.Equal("3", new string(textBuffer)); 1736Assert.Equal("2", new string(textBuffer)); 1749Assert.Equal("1", new string(textBuffer)); 1751Assert.Equal("2", new string(textBuffer)); 1764Assert.Equal("1", new string(textBuffer)); 1766Assert.Equal("1", new string(textBuffer)); 1768Assert.Equal("2", new string(textBuffer)); 1781Assert.Equal("1", new string(textBuffer)); 1783Assert.Equal("1", new string(textBuffer)); 1785Assert.Equal("2", new string(textBuffer)); 1787Assert.Equal("3", new string(textBuffer)); 2172Assert.Equal("2", new string(textBuffer)); 2174Assert.Equal("1", new string(textBuffer)); 2176Assert.Equal("1", new string(textBuffer)); 2178Assert.Equal("3", new string(textBuffer)); 2343Assert.Equal("2", new string(textBuffer)); 2345Assert.Equal("1", new string(textBuffer)); 2347Assert.Equal("1", new string(textBuffer)); 2349Assert.Equal("3", new string(textBuffer)); 2362Assert.Equal("2", new string(textBuffer)); 2364Assert.Equal("1", new string(textBuffer)); 2366Assert.Equal("1", new string(textBuffer)); 2368Assert.Equal("3", new string(textBuffer)); 2395Assert.Equal("2", new string(textBuffer)); 2397Assert.Equal("1", new string(textBuffer)); 2399Assert.Equal("1", new string(textBuffer)); 2401Assert.Equal("3", new string(textBuffer)); 2414Assert.Equal("2", new string(textBuffer)); 2416Assert.Equal("1", new string(textBuffer)); 2418Assert.Equal("1", new string(textBuffer)); 2420Assert.Equal("3", new string(textBuffer)); 2450Assert.Equal("1", new string(textBuffer)); 2452Assert.Equal("1", new string(textBuffer)); 2454Assert.Equal("2", new string(textBuffer)); 2456Assert.Equal("3", new string(textBuffer)); 2469Assert.Equal("1", new string(textBuffer)); 2471Assert.Equal("1", new string(textBuffer)); 2473Assert.Equal("2", new string(textBuffer)); 2475Assert.Equal("3", new string(textBuffer)); 2505Assert.Equal("1", new string(textBuffer)); 2507Assert.Equal("1", new string(textBuffer)); 2509Assert.Equal("2", new string(textBuffer)); 2511Assert.Equal("3", new string(textBuffer)); 2524Assert.Equal("1", new string(textBuffer)); 2526Assert.Equal("1", new string(textBuffer)); 2528Assert.Equal("2", new string(textBuffer)); 2530Assert.Equal("3", new string(textBuffer)); 2862Assert.Equal("2", new string(textBuffer)); 2864Assert.Equal("1", new string(textBuffer)); 2866Assert.Equal("1", new string(textBuffer)); 2868Assert.Equal("3", new string(textBuffer)); 3020Assert.Equal("2", new string(textBuffer)); 3022Assert.Equal("1", new string(textBuffer)); 3024Assert.Equal("1", new string(textBuffer)); 3026Assert.Equal("3", new string(textBuffer)); 3041Assert.Equal("2", new string(textBuffer)); 3043Assert.Equal("1", new string(textBuffer)); 3045Assert.Equal("1", new string(textBuffer)); 3047Assert.Equal("3", new string(textBuffer)); 3077Assert.Equal("2", new string(textBuffer)); 3079Assert.Equal("1", new string(textBuffer)); 3081Assert.Equal("1", new string(textBuffer)); 3083Assert.Equal("3", new string(textBuffer)); 3098Assert.Equal("2", new string(textBuffer)); 3100Assert.Equal("1", new string(textBuffer)); 3102Assert.Equal("1", new string(textBuffer)); 3104Assert.Equal("3", new string(textBuffer)); 3137Assert.Equal("1", new string(textBuffer)); 3139Assert.Equal("1", new string(textBuffer)); 3141Assert.Equal("2", new string(textBuffer)); 3143Assert.Equal("3", new string(textBuffer)); 3158Assert.Equal("1", new string(textBuffer)); 3160Assert.Equal("1", new string(textBuffer)); 3162Assert.Equal("2", new string(textBuffer)); 3164Assert.Equal("3", new string(textBuffer)); 3197Assert.Equal("1", new string(textBuffer)); 3199Assert.Equal("1", new string(textBuffer)); 3201Assert.Equal("2", new string(textBuffer)); 3203Assert.Equal("3", new string(textBuffer)); 3218Assert.Equal("1", new string(textBuffer)); 3220Assert.Equal("1", new string(textBuffer)); 3222Assert.Equal("2", new string(textBuffer)); 3224Assert.Equal("3", new string(textBuffer)); 3602Assert.Equal("2", new string(textBuffer)); 3604Assert.Equal("1", new string(textBuffer)); 3606Assert.Equal("1", new string(textBuffer)); 3608Assert.Equal("3", new string(textBuffer)); 4316Assert.Equal("1", new string(textBuffer)); 4329Assert.Equal("2", new string(textBuffer)); 4331Assert.Equal("1", new string(textBuffer)); 4344Assert.Equal("2", new string(textBuffer)); 4346Assert.Equal("2", new string(textBuffer)); 4348Assert.Equal("1", new string(textBuffer)); 4361Assert.Equal("2", new string(textBuffer)); 4363Assert.Equal("2", new string(textBuffer)); 4365Assert.Equal("1", new string(textBuffer)); 4367Assert.Equal("3", new string(textBuffer)); 4395Assert.Equal("1", new string(textBuffer)); 4408Assert.Equal("2", new string(textBuffer)); 4410Assert.Equal("1", new string(textBuffer)); 4423Assert.Equal("2", new string(textBuffer)); 4425Assert.Equal("2", new string(textBuffer)); 4427Assert.Equal("1", new string(textBuffer)); 4440Assert.Equal("2", new string(textBuffer)); 4442Assert.Equal("2", new string(textBuffer)); 4444Assert.Equal("1", new string(textBuffer)); 4446Assert.Equal("3", new string(textBuffer)); 4477Assert.Equal("1", new string(textBuffer)); 4490Assert.Equal("1", new string(textBuffer)); 4492Assert.Equal("2", new string(textBuffer)); 4505Assert.Equal("1", new string(textBuffer)); 4507Assert.Equal("2", new string(textBuffer)); 4509Assert.Equal("2", new string(textBuffer)); 4522Assert.Equal("1", new string(textBuffer)); 4524Assert.Equal("2", new string(textBuffer)); 4526Assert.Equal("2", new string(textBuffer)); 4528Assert.Equal("3", new string(textBuffer)); 4559Assert.Equal("1", new string(textBuffer)); 4572Assert.Equal("1", new string(textBuffer)); 4574Assert.Equal("2", new string(textBuffer)); 4587Assert.Equal("1", new string(textBuffer)); 4589Assert.Equal("2", new string(textBuffer)); 4591Assert.Equal("2", new string(textBuffer)); 4604Assert.Equal("1", new string(textBuffer)); 4606Assert.Equal("2", new string(textBuffer)); 4608Assert.Equal("2", new string(textBuffer)); 4610Assert.Equal("3", new string(textBuffer)); 4985Assert.Equal("2", new string(textBuffer)); 4987Assert.Equal("1", new string(textBuffer)); 4989Assert.Equal("1", new string(textBuffer)); 4991Assert.Equal("3", new string(textBuffer)); 5263Assert.Equal("2", new string(textBuffer)); 5265Assert.Equal("3", new string(textBuffer)); 5278Assert.Equal("2", new string(textBuffer)); 5280Assert.Equal("3", new string(textBuffer)); 5293Assert.Equal("2", new string(textBuffer)); 5338Assert.Equal("2", new string(textBuffer)); 5340Assert.Equal("3", new string(textBuffer)); 5354Assert.Equal("2", new string(textBuffer)); 5356Assert.Equal("3", new string(textBuffer)); 5370Assert.Equal("2", new string(textBuffer)); 5415Assert.Equal("1", new string(textBuffer)); 5417Assert.Equal("3", new string(textBuffer)); 5430Assert.Equal("1", new string(textBuffer)); 5432Assert.Equal("3", new string(textBuffer)); 5445Assert.Equal("1", new string(textBuffer)); 5493Assert.Equal("1", new string(textBuffer)); 5495Assert.Equal("3", new string(textBuffer)); 5509Assert.Equal("1", new string(textBuffer)); 5511Assert.Equal("3", new string(textBuffer)); 5525Assert.Equal("1", new string(textBuffer)); 6180Assert.Equal("2", new string(textBuffer)); 6182Assert.Equal("3", new string(textBuffer)); 6195Assert.Equal("2", new string(textBuffer)); 6240Assert.Equal("2", new string(textBuffer)); 6242Assert.Equal("3", new string(textBuffer)); 6256Assert.Equal("2", new string(textBuffer)); 6301Assert.Equal("1", new string(textBuffer)); 6303Assert.Equal("3", new string(textBuffer)); 6316Assert.Equal("1", new string(textBuffer)); 6364Assert.Equal("1", new string(textBuffer)); 6366Assert.Equal("3", new string(textBuffer)); 6380Assert.Equal("1", new string(textBuffer)); 7326Assert.Equal("4", new string(textBuffer)); 7328Assert.Equal("1", new string(textBuffer)); 7330Assert.Equal("3", new string(textBuffer)); 7343Assert.Equal("4", new string(textBuffer)); 7345Assert.Equal("2", new string(textBuffer)); 7347Assert.Equal("3", new string(textBuffer)); 7360Assert.Equal("4", new string(textBuffer)); 7362Assert.Equal("2", new string(textBuffer)); 7364Assert.Equal("5", new string(textBuffer)); 7377Assert.Equal("4", new string(textBuffer)); 7379Assert.Equal("2", new string(textBuffer)); 7381Assert.Equal("5", new string(textBuffer)); 7417Assert.Equal("4", new string(textBuffer)); 7419Assert.Equal("2", new string(textBuffer)); 7421Assert.Equal("3", new string(textBuffer)); 7434Assert.Equal("4", new string(textBuffer)); 7436Assert.Equal("1", new string(textBuffer)); 7438Assert.Equal("3", new string(textBuffer)); 7451Assert.Equal("4", new string(textBuffer)); 7453Assert.Equal("1", new string(textBuffer)); 7455Assert.Equal("5", new string(textBuffer)); 7468Assert.Equal("4", new string(textBuffer)); 7470Assert.Equal("1", new string(textBuffer)); 7472Assert.Equal("5", new string(textBuffer)); 8298Assert.Equal("2", new string(textBuffer)); 8311Assert.Equal("2", new string(textBuffer)); 8313Assert.Equal("1", new string(textBuffer)); 8326Assert.Equal("2", new string(textBuffer)); 8328Assert.Equal("1", new string(textBuffer)); 8330Assert.Equal("1", new string(textBuffer)); 8343Assert.Equal("2", new string(textBuffer)); 8345Assert.Equal("1", new string(textBuffer)); 8347Assert.Equal("1", new string(textBuffer)); 8349Assert.Equal("3", new string(textBuffer)); 8377Assert.Equal("2", new string(textBuffer)); 8390Assert.Equal("2", new string(textBuffer)); 8392Assert.Equal("1", new string(textBuffer)); 8405Assert.Equal("2", new string(textBuffer)); 8407Assert.Equal("1", new string(textBuffer)); 8409Assert.Equal("1", new string(textBuffer)); 8422Assert.Equal("2", new string(textBuffer)); 8424Assert.Equal("1", new string(textBuffer)); 8426Assert.Equal("1", new string(textBuffer)); 8428Assert.Equal("3", new string(textBuffer)); 8459Assert.Equal("2", new string(textBuffer)); 8472Assert.Equal("1", new string(textBuffer)); 8474Assert.Equal("2", new string(textBuffer)); 8487Assert.Equal("1", new string(textBuffer)); 8489Assert.Equal("1", new string(textBuffer)); 8491Assert.Equal("2", new string(textBuffer)); 8504Assert.Equal("1", new string(textBuffer)); 8506Assert.Equal("1", new string(textBuffer)); 8508Assert.Equal("2", new string(textBuffer)); 8510Assert.Equal("3", new string(textBuffer)); 8541Assert.Equal("2", new string(textBuffer)); 8554Assert.Equal("1", new string(textBuffer)); 8556Assert.Equal("2", new string(textBuffer)); 8569Assert.Equal("1", new string(textBuffer)); 8571Assert.Equal("1", new string(textBuffer)); 8573Assert.Equal("2", new string(textBuffer)); 8586Assert.Equal("1", new string(textBuffer)); 8588Assert.Equal("1", new string(textBuffer)); 8590Assert.Equal("2", new string(textBuffer)); 8592Assert.Equal("3", new string(textBuffer)); 8977Assert.Equal("2", new string(textBuffer)); 8979Assert.Equal("1", new string(textBuffer)); 8981Assert.Equal("1", new string(textBuffer)); 8983Assert.Equal("3", new string(textBuffer)); 9638Assert.Equal("1", new string(textBuffer)); 9651Assert.Equal("2", new string(textBuffer)); 9653Assert.Equal("1", new string(textBuffer)); 9666Assert.Equal("2", new string(textBuffer)); 9668Assert.Equal("2", new string(textBuffer)); 9670Assert.Equal("1", new string(textBuffer)); 9683Assert.Equal("2", new string(textBuffer)); 9685Assert.Equal("2", new string(textBuffer)); 9687Assert.Equal("1", new string(textBuffer)); 9689Assert.Equal("3", new string(textBuffer)); 9717Assert.Equal("1", new string(textBuffer)); 9730Assert.Equal("2", new string(textBuffer)); 9732Assert.Equal("1", new string(textBuffer)); 9745Assert.Equal("2", new string(textBuffer)); 9747Assert.Equal("2", new string(textBuffer)); 9749Assert.Equal("1", new string(textBuffer)); 9762Assert.Equal("2", new string(textBuffer)); 9764Assert.Equal("2", new string(textBuffer)); 9766Assert.Equal("1", new string(textBuffer)); 9768Assert.Equal("3", new string(textBuffer)); 9799Assert.Equal("1", new string(textBuffer)); 9812Assert.Equal("1", new string(textBuffer)); 9814Assert.Equal("2", new string(textBuffer)); 9827Assert.Equal("1", new string(textBuffer)); 9829Assert.Equal("2", new string(textBuffer)); 9831Assert.Equal("2", new string(textBuffer)); 9844Assert.Equal("1", new string(textBuffer)); 9846Assert.Equal("2", new string(textBuffer)); 9848Assert.Equal("2", new string(textBuffer)); 9850Assert.Equal("3", new string(textBuffer)); 9881Assert.Equal("1", new string(textBuffer)); 9894Assert.Equal("1", new string(textBuffer)); 9896Assert.Equal("2", new string(textBuffer)); 9909Assert.Equal("1", new string(textBuffer)); 9911Assert.Equal("2", new string(textBuffer)); 9913Assert.Equal("2", new string(textBuffer)); 9926Assert.Equal("1", new string(textBuffer)); 9928Assert.Equal("2", new string(textBuffer)); 9930Assert.Equal("2", new string(textBuffer)); 9932Assert.Equal("3", new string(textBuffer)); 10307Assert.Equal("2", new string(textBuffer)); 10309Assert.Equal("1", new string(textBuffer)); 10311Assert.Equal("1", new string(textBuffer)); 10313Assert.Equal("3", new string(textBuffer)); 10585Assert.Equal("2", new string(textBuffer)); 10587Assert.Equal("3", new string(textBuffer)); 10600Assert.Equal("2", new string(textBuffer)); 10602Assert.Equal("3", new string(textBuffer)); 10615Assert.Equal("2", new string(textBuffer)); 10660Assert.Equal("2", new string(textBuffer)); 10662Assert.Equal("3", new string(textBuffer)); 10676Assert.Equal("2", new string(textBuffer)); 10678Assert.Equal("3", new string(textBuffer)); 10692Assert.Equal("2", new string(textBuffer)); 10737Assert.Equal("1", new string(textBuffer)); 10739Assert.Equal("3", new string(textBuffer)); 10752Assert.Equal("1", new string(textBuffer)); 10754Assert.Equal("3", new string(textBuffer)); 10767Assert.Equal("1", new string(textBuffer)); 10815Assert.Equal("1", new string(textBuffer)); 10817Assert.Equal("3", new string(textBuffer)); 10831Assert.Equal("1", new string(textBuffer)); 10833Assert.Equal("3", new string(textBuffer)); 10847Assert.Equal("1", new string(textBuffer)); 11502Assert.Equal("2", new string(textBuffer)); 11504Assert.Equal("3", new string(textBuffer)); 11517Assert.Equal("2", new string(textBuffer)); 11562Assert.Equal("2", new string(textBuffer)); 11564Assert.Equal("3", new string(textBuffer)); 11578Assert.Equal("2", new string(textBuffer)); 11623Assert.Equal("1", new string(textBuffer)); 11625Assert.Equal("3", new string(textBuffer)); 11638Assert.Equal("1", new string(textBuffer)); 11686Assert.Equal("1", new string(textBuffer)); 11688Assert.Equal("3", new string(textBuffer)); 11702Assert.Equal("1", new string(textBuffer));
System\Windows\Forms\ListViewGroupTests.cs (6)
518Assert.Equal(expected, new string(lvgroup.pszSubtitle)); 630Assert.Equal(expected, new string(lvgroup.pszFooter)); 774Assert.Equal(footer, new string(lvgroup.pszFooter)); 892Assert.Equal(expected, new string(lvgroup.pszHeader)); 1026Assert.Equal(header, new string(lvgroup.pszHeader)); 1296Assert.Equal(expected, new string(lvgroup.pszTask));
System\Windows\Forms\ListViewTests.cs (4)
1945Assert.Equal("ListViewGroup", new string(lvgroup1.pszHeader)); 1946Assert.Empty(new string(lvgroup1.pszFooter)); 1960Assert.Equal(expectedHeaderText, new string(lvgroup2.pszHeader)); 1961Assert.Equal(expectedFooterText, new string(lvgroup2.pszFooter));
System\Windows\Forms\TabControl.ControlCollectionTests.cs (10)
784Assert.Empty(new string(item.pszText)); 792Assert.Equal(expectedText, new string(item.pszText)); 800Assert.Empty(new string(item.pszText)); 852Assert.Empty(new string(item.pszText)); 860Assert.Equal(expectedText, new string(item.pszText)); 868Assert.Empty(new string(item.pszText)); 1496Assert.Empty(new string(item.pszText)); 1504Assert.Empty(new string(item.pszText)); 1554Assert.Empty(new string(item.pszText)); 1562Assert.Empty(new string(item.pszText));
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (22)
790Assert.Empty(new string(item.pszText)); 798Assert.Equal(expectedText, new string(item.pszText)); 806Assert.Empty(new string(item.pszText)); 860Assert.Empty(new string(item.pszText)); 868Assert.Equal(expectedText, new string(item.pszText)); 876Assert.Empty(new string(item.pszText)); 2816Assert.Empty(new string(item.pszText)); 2824Assert.Equal(expectedText, new string(item.pszText)); 2832Assert.Empty(new string(item.pszText)); 2884Assert.Empty(new string(item.pszText)); 2892Assert.Equal(expectedText, new string(item.pszText)); 2900Assert.Empty(new string(item.pszText)); 3571Assert.Empty(new string(item.pszText)); 3579Assert.Equal(expectedText, new string(item.pszText)); 3587Assert.Empty(new string(item.pszText)); 3643Assert.Empty(new string(item.pszText)); 3651Assert.Equal(expectedText, new string(item.pszText)); 3659Assert.Empty(new string(item.pszText)); 4616Assert.Empty(new string(item.pszText)); 4624Assert.Empty(new string(item.pszText)); 4676Assert.Empty(new string(item.pszText)); 4684Assert.Empty(new string(item.pszText));
System\Windows\Forms\TabControlTests.cs (6)
1072Assert.Empty(new string(item.pszText)); 1080Assert.Equal(expectedText, new string(item.pszText)); 1088Assert.Empty(new string(item.pszText)); 4947Assert.Empty(new string(item.pszText)); 4955Assert.Equal(expectedText, new string(item.pszText)); 4963Assert.Empty(new string(item.pszText));
System\Windows\Forms\TabPageTests.cs (24)
1401Assert.Empty(new string(item.pszText)); 1409Assert.Equal("Text", new string(item.pszText)); 1417Assert.Empty(new string(item.pszText)); 1468Assert.Empty(new string(item.pszText)); 1476Assert.Equal("Text", new string(item.pszText)); 1484Assert.Empty(new string(item.pszText)); 1776Assert.Empty(new string(item.pszText)); 1784Assert.Equal("Text", new string(item.pszText)); 1792Assert.Empty(new string(item.pszText)); 1840Assert.Empty(new string(item.pszText)); 1848Assert.Equal("Text", new string(item.pszText)); 1856Assert.Empty(new string(item.pszText)); 3032Assert.Empty(new string(item.pszText)); 3040Assert.Equal(expectedText, new string(item.pszText)); 3048Assert.Empty(new string(item.pszText)); 3099Assert.Empty(new string(item.pszText)); 3107Assert.Equal(expectedText, new string(item.pszText)); 3115Assert.Empty(new string(item.pszText)); 3405Assert.Empty(new string(item.pszText)); 3413Assert.Equal("Text", new string(item.pszText)); 3421Assert.Empty(new string(item.pszText)); 3469Assert.Empty(new string(item.pszText)); 3477Assert.Equal("Text", new string(item.pszText)); 3485Assert.Empty(new string(item.pszText));
System\Windows\Forms\TreeNodeTests.cs (1)
4463Assert.Equal(expected, new string((char*)item.pszText));
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
2621string menuText = new string(text);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
655text = new string((char*)globalMem);