16 references to Serializable
System.Windows.Forms (2)
System\Windows\Forms\OLE\DataObject.DataStore.cs (2)
103
&& !_mappedData.ContainsKey(DataFormats.
Serializable
))
105
SetData(DataFormats.
Serializable
, data);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
203
return [NestedToolboxItemFormat, DataFormat, DataFormats.
Serializable
, ExtraInfoFormat];
System.Windows.Forms.Tests (9)
System\Windows\Forms\DataFormatsTests.cs (2)
27
yield return new object[] { DataFormats.
Serializable
, "WindowsForms10PersistentObject" };
81
yield return new object[] { DataFormats.
Serializable
, "WindowsForms10PersistentObject" };
System\Windows\Forms\DataObjectTests.cs (7)
52
DataFormats.
Serializable
,
935
{ new Mock<ISerializable>(MockBehavior.Strict).Object, DataFormats.
Serializable
}
977
dataObject.GetData(DataFormats.
Serializable
, autoConvert: false).Should().Be(data1);
978
dataObject.GetData(DataFormats.
Serializable
, autoConvert: true).Should().Be(data1);
982
dataObject.GetDataPresent(DataFormats.
Serializable
, autoConvert: false).Should().BeTrue();
983
dataObject.GetDataPresent(DataFormats.
Serializable
, autoConvert: true).Should().BeTrue();
1758
{ DataFormats.
Serializable
, TYMED.TYMED_HGLOBAL },
System.Windows.Forms.UI.IntegrationTests (4)
DragDropTests.cs (4)
284
if (e.Data?.GetDataPresent(DataFormats.
Serializable
) ?? false)
291
if (e.Data?.GetDataPresent(DataFormats.
Serializable
) ?? false)
294
data = (ListViewItem?)e.Data?.GetData(DataFormats.
Serializable
);
308
data.SetData(DataFormats.
Serializable
, listViewItem);