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
A using directive to be included for the given remapped declaration name during binding generation. Supports wildcards.
How do wildcards work with this?
I've tried to use --with-using=*=SomeNamespace, but I don't see the using declaration for SomeNamespace get added.
Looking at the implementation, PInvokeGenerator.WithUsings doesn't set matchStar to true, and even if it did, PInvokeGenerator.TryGetRemappedValue would only match if the remapping was for * not arbitrary wildcards in the name.
The text was updated successfully, but these errors were encountered:
The documentation for
--with-using
says:How do wildcards work with this?
I've tried to use
--with-using=*=SomeNamespace
, but I don't see theusing
declaration forSomeNamespace
get added.Looking at the implementation,
PInvokeGenerator.WithUsings
doesn't setmatchStar
to true, and even if it did,PInvokeGenerator.TryGetRemappedValue
would only match if the remapping was for*
not arbitrary wildcards in the name.The text was updated successfully, but these errors were encountered: