-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Honor [ComVisible(false)] method atrtibutes in advance #208
Comments
So to understand your Issue, your expectation is that a Because if that's the case I'll have to check whether that's the expected behavior. We tried to have the same behavior as the old tlbexp. |
For the generation of the tlb we ignore the property with So we produce an unnecessary warning during the generation process. |
Yes. Right. |
The problem here is that the One solution would be not to create the in private void CreateMethodWriters()
{
...
foreach (var method in methods)
{
var methodAttribute = method.GetCustomAttribute<ComVisibleAttribute>();
if (methodAttribute == null || methodAttribute.Value)
{
// Add a null entry
// This is needed to keep the correct order of the methods to calculate the VTableOffset
MethodWriter.Add(null);
}
... @SOsterbrink This should solve the problem ... maybe |
I have simple example:
If I run tlbexport with
--createmissingdependenttlbs false
there will be warnings in output.The text was updated successfully, but these errors were encountered: