1 instantiation of EquatableArray
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EnumValidationInfo.cs (1)
13return new EnumValidationInfo(EnumTypeInfo.FromEnumType(enumType), new EquatableArray<int>(values), isFlags);
9 references to EquatableArray
System.Windows.Forms.PrivateSourceGenerators (9)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (1)
167private static IEnumerable<(int min, int max)> GetElementSets(SourceProductionContext context, EquatableArray<int> values)
System\Windows\Forms\SourceGenerators\EnumValidationInfo.cs (1)
8internal sealed record EnumValidationInfo(EnumValidationInfo.EnumTypeInfo EnumType, EquatableArray<int> Values, bool IsFlags)
System\Windows\Forms\SourceGenerators\EquatableArray`1.cs (7)
8internal readonly struct EquatableArray<T> : IEquatable<EquatableArray<T>> 18public static bool operator ==(EquatableArray<T> left, EquatableArray<T> right) 23public static bool operator !=(EquatableArray<T> left, EquatableArray<T> right) 31public bool Equals(EquatableArray<T> other) 38return obj is EquatableArray<T> other && Equals(other);