예제 #1
0
 public override int GetHashCode()
 {
     return(Method.GetHashCode()
            ^ (IsUnboxingStub ? -0x80000000 : 0)
            ^ (IsInstantiatingStub ? -0x40000000 : 0)
            ^ (31 * SignatureContext.GetHashCode()));
 }
예제 #2
0
 public override int GetHashCode()
 {
     return((CallSite != null ? CallSite.GetHashCode() : 0)
            ^ unchecked (31 * Method.GetHashCode())
            ^ (IsUnboxingStub ? -0x80000000 : 0)
            ^ (23 * SignatureContext.GetHashCode()));
 }
예제 #3
0
 public override int GetHashCode()
 {
     return((Type?.GetHashCode() ?? 0) ^
            unchecked (Method.GetHashCode() * 31) ^
            (IsUnboxingStub ? -0x80000000 : 0) ^
            (IsInstantiatingStub ? 0x40000000 : 0) ^
            (IsPrecodeImportRequired ? 0x20000000 : 0) ^
            (SignatureContext.GetHashCode() * 23));
 }
예제 #4
0
 public override int GetHashCode()
 {
     return(FixupKind.GetHashCode()
            ^ (31 * TypeDesc.GetHashCode())
            ^ (23 * SignatureContext.GetHashCode()));
 }
예제 #5
0
 public override int GetHashCode()
 {
     return(IsIndirect.GetHashCode()
            ^ (MethodWithToken.GetHashCode() * 23)
            ^ (SignatureContext.GetHashCode() * 31));
 }
예제 #6
0
 public override int GetHashCode()
 {
     return(Type.GetHashCode() ^ (SignatureContext.GetHashCode() * 31));
 }
예제 #7
0
 public override int GetHashCode()
 {
     return(Id.GetHashCode()
            ^ (Target.GetHashCode() * 23)
            ^ (SignatureContext.GetHashCode() * 31));
 }
예제 #8
0
 public override int GetHashCode()
 {
     return(ModuleToken.GetHashCode() ^ (SignatureContext.GetHashCode() * 31));
 }