refactor: Update Unity to 2022.3.62
This commit is contained in:
@@ -102,17 +102,17 @@ namespace Cryville.Common.Pdt {
|
||||
ParamCount = paramCount;
|
||||
_hash = Name ^ ((ParamCount << 16) | (ParamCount >> 16));
|
||||
}
|
||||
public override bool Equals(object obj) {
|
||||
if (!(obj is PdtOperatorSignature)) return false;
|
||||
return Equals((PdtOperatorSignature)obj);
|
||||
public override readonly bool Equals(object obj) {
|
||||
if (obj is not PdtOperatorSignature other) return false;
|
||||
return Equals(other);
|
||||
}
|
||||
public bool Equals(PdtOperatorSignature other) {
|
||||
public readonly bool Equals(PdtOperatorSignature other) {
|
||||
return Name == other.Name && ParamCount == other.ParamCount;
|
||||
}
|
||||
public override int GetHashCode() {
|
||||
public override readonly int GetHashCode() {
|
||||
return _hash;
|
||||
}
|
||||
public override string ToString() {
|
||||
public override readonly string ToString() {
|
||||
return string.Format("{0}({1})", IdentifierManager.Shared.Retrieve(Name), ParamCount);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user