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