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