The group name is reserved

The group name collides with a member of the generated collection.

  • Error
  • BEVEL075

What it means

Group names become members on the collection. Count, Item, GetEnumerator and the members of object are taken.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL075: [GroupBy("Tags")] on 'BlogPost.Tags': 'Count' would be a member of 'PostCollection' and collides with a member of IReadOnlyList<T> or object (Count, Item, GetEnumerator, Equals, GetHashCode, GetType, ToString...). Choose another group name. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel075/

How to fix

Pick a different group name.