On my WinForm, a reference is created:
using System.Runtime.InteropServices.ComTypes;
When a variable is declared:
private IStream data;
This becomes a reference to the struct Namespace.
It must be fully qualified:
private System.Runtime.InteropServices.ComTypes.IStream data;
What other reference could interfere with this?
I have another project that does not need to fully qualify this reference.
If you don’t fully qualify, do you get an ambiguous reference error? It should tell you what the two options are.. You can also use the refactoring helper — if you do the dropdown to try and resolve it, it’ll tell you where it’s finding the interface..