···215215 typeof(T) != typeof(double); // Will be **constant** after JIT.
216216217217 public void Set<U>(U val) where U : struct,
218218- IComparable, IFormattable, IConvertible, IComparable<U>, IEquatable<U>
218218+ IFormattable, IConvertible, IComparable<U>, IEquatable<U>
219219 {
220220 // Comparison between typeof(T) and type literals are treated as **constant** on value types.
221221 // Code pathes for other types will be eliminated.
···244244 }
245245246246 public void Add<U>(U val) where U : struct,
247247- IComparable, IFormattable, IConvertible, IComparable<U>, IEquatable<U>
247247+ IFormattable, IConvertible, IComparable<U>, IEquatable<U>
248248 {
249249 // Comparison between typeof(T) and type literals are treated as **constant** on value types.
250250 // Code pathes for other types will be eliminated.
+1-1
osu.Framework/IStateful.cs
···1010 /// </summary>
1111 /// <typeparam name="T">Generally an Enum type local to the class implementing this interface.</typeparam>
1212 public interface IStateful<T>
1313- where T : struct, IComparable
1313+ where T : struct
1414 {
1515 /// <summary>
1616 /// Invoked when the state of this <see cref="IStateful{T}"/> has changed.