Bug description
The Analyzer does not detect properly missing attributes on generic types.
Repro steps
public class Foo<T>
{
public T Member { get; set; }
}
[MessagePack.MessagePackObject]
public class Bar
{
[MessagePack.Key(0)]
public Foo<int> MemberUserGeneric { get; set; }
[MessagePack.Key(1)]
public System.Collections.Generic.List<int> MemberKnownGeneric { get; set; }
}
static void Test()
{
MessagePackSerializer.Serialize(new Bar());
}
Expected behavior
The analyzer should detect an error and propose according changes.
Actual behavior
Analyzer does not detect any issue nor propose code change, issue is generated at runtime only as FormatterNotRegisteredException
Bug description
The Analyzer does not detect properly missing attributes on generic types.
Repro steps
Expected behavior
The analyzer should detect an error and propose according changes.
Actual behavior
Analyzer does not detect any issue nor propose code change, issue is generated at runtime only as FormatterNotRegisteredException