mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
9a07feda28
commit
f64b808aed
@ -6,14 +6,10 @@ namespace Mirror.Weaver
|
||||
// Compares TypeReference using FullName
|
||||
public class TypeReferenceComparer : IEqualityComparer<TypeReference>
|
||||
{
|
||||
public bool Equals(TypeReference x, TypeReference y)
|
||||
{
|
||||
return x.FullName == y.FullName;
|
||||
}
|
||||
public bool Equals(TypeReference x, TypeReference y) =>
|
||||
x.FullName == y.FullName;
|
||||
|
||||
public int GetHashCode(TypeReference obj)
|
||||
{
|
||||
return obj.FullName.GetHashCode();
|
||||
}
|
||||
public int GetHashCode(TypeReference obj) =>
|
||||
obj.FullName.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user