-
-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Description
Bug description
When a type is a record instead of a class or a struct, the analyzers seem not to work and raise no diagnostics.
Repro steps
[MessagePackObject]
public class Foo
{
public int Bar { get; init; }
}
[MessagePackObject]
public struct FooStruct
{
public int Bar { get; init; }
}
[MessagePackObject]
public record FooReord
{
public int Bar { get; init; }
}
Expected behavior
MsgPack004 for FooRecord.Bar.
Actual behavior
No diagnostic for FooRecord.Bar.
- Version used: 2.5.172
- Runtime: .NET 8
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
