Closed RachamimYaakobov closed 5 years ago
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.
Why
unsigned int
maped toSystem.Int32
instead ofSystem.UInt32
, and the same question aboutunsigned short
andunsigned longlong
that maped toSystem.Int16
andSystem.Int64
?