Closed xoofx closed 6 years ago
@jkoritzinsky I'm getting some weird errors on the CI:
"C:\projects\sharpdx\SharpDX.sln" (Build;Pack target) (1:2) ->
"C:\projects\sharpdx\Source\SharpDX.Direct2D1\SharpDX.Direct2D1.csproj" (default target) (3:23) ->
"C:\projects\sharpdx\Source\SharpDX.Direct2D1\SharpDX.Direct2D1.csproj" (Build target) (3:25) ->
"C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj" (default target) (6:32) ->
(CoreCompile target) ->
Device.cs(39,36): error CS1503: Argument 1: cannot convert from 'SharpDX.ComObject[]' to 'SharpDX.ComObject' [C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj]
Device.cs(39,48): error CS1503: Argument 2: cannot convert from 'SharpDX.DXGI.Residency[]' to 'SharpDX.ComObject' [C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj]
Device.cs(39,61): error CS1503: Argument 3: cannot convert from 'int' to 'SharpDX.ComObject' [C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj]
Do you have an idea what's going on?
It looks like the residencyStatus
parameter is being matched to the wrong marshaller. I'll try to fix that.
The next SharpGenTools drop should have that fixed.
Related to issue #1048
Fixes #1053