MA0065 - Default ValueType.Equals or HashCode is used for struct's equality The default implementation of Equals and GetHashCode is not performant. You should override these methods in the type. https://devblogs.microsoft.com/premier-developer/performance-implications-of-default-struct-equality-in-c/