mirror of https://github.com/dahall/Vanara.git
Fixed trimming error for type converters
parent
556798672b
commit
027a8ce228
|
@ -230,6 +230,7 @@ namespace Vanara.PInvoke
|
|||
|
||||
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context) => true;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("")]
|
||||
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
|
||||
{
|
||||
PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(POINT), attributes);
|
||||
|
|
|
@ -478,6 +478,7 @@ namespace Vanara.PInvoke
|
|||
|
||||
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context) => true;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("")]
|
||||
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
|
||||
{
|
||||
var props = TypeDescriptor.GetProperties(typeof(RECT), attributes);
|
||||
|
|
Loading…
Reference in New Issue