Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TempAssemblyCacheKey.cs
Go to the documentation of this file.
2
4
5internal sealed class TempAssemblyCacheKey
6{
7 private readonly string _ns;
8
9 private readonly object _type;
10
11 internal TempAssemblyCacheKey(string ns, object type)
12 {
13 _type = type;
14 _ns = ns;
15 }
16
17 public override bool Equals([NotNullWhen(true)] object o)
18 {
20 {
21 return false;
22 }
23 if (tempAssemblyCacheKey._type == _type)
24 {
26 }
27 return false;
28 }
29
30 public override int GetHashCode()
31 {
32 return ((_ns != null) ? _ns.GetHashCode() : 0) ^ ((_type != null) ? _type.GetHashCode() : 0);
33 }
34}
override bool Equals([NotNullWhen(true)] object o)