Warning XS9043 - ambiguous field OF_SHARE_EXCLUSIVE
Posted: Tue Feb 19, 2019 3:23 pm
Hi All,
X# version 2.0.0.9
Dialect Vulcan.NET
X# runtime
I get a warning for field 'OF_SHARE_EXCLUSIVE' when I have a reference to XSharp.Core and VOWin32APILibrary in the same project:
Warning XS9043 Field 'OF_SHARE_EXCLUSIVE' is ambiguous. Could be 'XSharp.Core.Functions.OF_SHARE_EXCLUSIVE' or 'VOWin32APILibrary.Functions.OF_SHARE_EXCLUSIVE'. Using the first one.
It's just a warning, but we have enabled "warnigs as errors". So I could suppress the warning. And I saw it's the same value in both libraries.
But how can I be sure that one value won't change in the future and the wrong field is taken? Do you have to use this field in both libraries? Is there no risk to suppress the warning or is there a 'better' solution for me to solve this problem without to suppress the warning?
BTW which is the first one?
Thanks
Thomas
X# version 2.0.0.9
Dialect Vulcan.NET
X# runtime
I get a warning for field 'OF_SHARE_EXCLUSIVE' when I have a reference to XSharp.Core and VOWin32APILibrary in the same project:
Warning XS9043 Field 'OF_SHARE_EXCLUSIVE' is ambiguous. Could be 'XSharp.Core.Functions.OF_SHARE_EXCLUSIVE' or 'VOWin32APILibrary.Functions.OF_SHARE_EXCLUSIVE'. Using the first one.
It's just a warning, but we have enabled "warnigs as errors". So I could suppress the warning. And I saw it's the same value in both libraries.
But how can I be sure that one value won't change in the future and the wrong field is taken? Do you have to use this field in both libraries? Is there no risk to suppress the warning or is there a 'better' solution for me to solve this problem without to suppress the warning?
BTW which is the first one?
Thanks
Thomas