osu/CodeAnalysis/BannedSymbols.txt

10 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-11-13 14:29:44 +00:00
M:System.Object.Equals(System.Object,System.Object)~System.Boolean;Don't use object.Equals. Use IEquatable<T> or EqualityComparer<T>.Default instead.
M:System.Object.Equals(System.Object)~System.Boolean;Don't use object.Equals. Use IEquatable<T> or EqualityComparer<T>.Default instead.
M:System.ValueType.Equals(System.Object)~System.Boolean;Don't use object.Equals(Fallbacks to ValueType). Use IEquatable<T> or EqualityComparer<T>.Default instead.
2019-12-03 12:07:22 +00:00
M:System.Nullable`1.Equals(System.Object)~System.Boolean;Use == instead.
2019-11-13 14:29:44 +00:00
T:System.IComparable;Don't use non-generic IComparable. Use generic version instead.
2019-11-25 15:42:59 +00:00
M:osu.Framework.Graphics.Sprites.SpriteText.#ctor;Use OsuSpriteText.
M:osu.Framework.Bindables.IBindableList`1.GetBoundCopy();Fails on iOS. Use manual ctor + BindTo instead. (see https://github.com/mono/mono/issues/19900)
T:Microsoft.EntityFrameworkCore.Internal.EnumerableExtensions;Don't use internal extension methods.
T:Microsoft.EntityFrameworkCore.Internal.TypeExtensions;Don't use internal extension methods.
2021-02-25 07:10:27 +00:00
M:System.Enum.HasFlag(System.Enum);Use osu.Framework.Extensions.EnumExtensions.HasFlagFast<T>() instead.