3 references to TryGetData
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
18
Action tryGetData1 = () => DataObjectExtensions.
TryGetData
<string>(dataObject: null!, out _);
38
Action tryGetData = () => dataObject.
TryGetData
<string>(out _);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
514
if (e.Data?.
TryGetData
(out SimpleTestData data) ?? false)