You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a class which is only allocated in C++ via a different a classes static method. So the constructor needs to be public but it contains parameters which do not exist in C#, hence I marked it with CS_IGNORE. However the dllimport lines in the C# wrapper class for that constructor (containing missing types) is still generated, even though it is never called.
The text was updated successfully, but these errors were encountered:
Note: same result if i make the constructor private.
Note: same result if i add another constructor which is public/not-ignored and takes no parameters (the other constructor still appears as an import and breaks the build with its unknown types).
I have a class which is only allocated in C++ via a different a classes static method. So the constructor needs to be public but it contains parameters which do not exist in C#, hence I marked it with CS_IGNORE. However the dllimport lines in the C# wrapper class for that constructor (containing missing types) is still generated, even though it is never called.
The text was updated successfully, but these errors were encountered: