Bug in Mapping.xml file?
RachamimYaakobov opened this issue · comments
Why unsigned int
maped to System.Int32
instead of System.UInt32
, and the same question about unsigned short
and unsigned longlong
that maped to System.Int16
and System.Int64
?
Because it is a very old decision that had to be made because SharpDX was meant to be compatible with SlimDX and all .NET APIs are mainly working with int. Int Literals in .NET are by default plain int, so that any usage of a SharpDX API would have had required to cast from int to uint.