Closed afilatov-st closed 4 months ago
Hi, I have 2 projects A and B, A refers to B. B declares a enum:
namespace MemoryPack.Tests.Aux.Models; public enum ExternalEnum { A, B }
A is using it:
namespace MemoryPack.Tests.Models { [MemoryPackable] public partial class WithEnum { public ExternalEnum MyProperty { get; set; } = ExternalEnum.A; } }
compilation of such projects fail with error
The name 'ExternalEnum' does not exist in the current context
I created https://github.com/Cysharp/MemoryPack/pull/258 for illustration.
Sorry, there was a problem with the enum, fixed in #260
Hi, I have 2 projects A and B, A refers to B. B declares a enum:
A is using it:
compilation of such projects fail with error
I created https://github.com/Cysharp/MemoryPack/pull/258 for illustration.