3 references to RestrictDeserializationToSafeTypes
System.Windows.Forms (3)
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
116
_ => ReadObjectOrStreamFromHGLOBAL(hglobal,
RestrictDeserializationToSafeTypes
(format), resolver, legacyMode)
System\Windows\Forms\OLE\DataObject.Composition.WinFormsToNativeAdapter.cs (1)
328
=> SaveObjectToHGLOBAL(ref medium.hGlobal, data,
RestrictDeserializationToSafeTypes
(format)),
System\Windows\Forms\OLE\DataObject.cs (1)
180
private static bool IsRestrictedFormat(string format) =>
RestrictDeserializationToSafeTypes
(format)