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