Base:
method
ConvertNativeToManaged
System.Windows.Forms.ComponentModel.Com2Interop.Com2DataTypeToManagedDataTypeConverter.ConvertNativeToManaged(Windows.Win32.System.Variant.VARIANT, System.Windows.Forms.ComponentModel.Com2Interop.Com2PropertyDescriptor)
9 references to ConvertNativeToManaged
System.Windows.Forms.Tests (9)
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (9)
29
Assert.Null(Instance.
ConvertNativeToManaged
(default, null));
71
Assert.Null(Instance.
ConvertNativeToManaged
((VARIANT)unknown.Value, null));
82
using Icon icon = (Icon)Instance.
ConvertNativeToManaged
((VARIANT)unknown.Value, null);
89
Assert.Same(icon, (Icon)Instance.
ConvertNativeToManaged
((VARIANT)unknown.Value, null));
102
using Bitmap bitmap = (Bitmap)Instance.
ConvertNativeToManaged
((VARIANT)unknown.Value, property: null);
109
Assert.Same(bitmap, (Bitmap)Instance.
ConvertNativeToManaged
((VARIANT)unknown.Value, property: null));
124
Assert.Null(Instance.
ConvertNativeToManaged
((VARIANT)unknown.Value, null));
154
Assert.Same(exclamationIcon, Instance.
ConvertNativeToManaged
((VARIANT)picture.AsUnknown, null));
175
Assert.Same(bitmap, Instance.
ConvertNativeToManaged
((VARIANT)picture.AsUnknown, null));