Problem:
PolymorphicStructs that are created in a different namespace than the interface are not generated in their using statements of the generated struct file, breaking compilation.
Example
namespacePlayground.ExamplePoly{[PolymorphicStruct]publicinterfaceIPoly{publicvoidDoThing();}}namespacePlayground.ExamplePoly.Test{publicpartialstructPolyC:IPoly{publicvoidDoThing(){}}}Current Temporary Workaround
In another IPoly struct, add the using namespace of what ever namespace is nested. These are picked up by the source generator.
Problem:
PolymorphicStructs that are created in a different namespace than the
interfaceare not generated in their using statements of the generated struct file, breaking compilation.Example
Current Temporary Workaround
In another IPoly struct, add the
using namespaceof what ever namespace is nested. These are picked up by the source generator.