// Token: 0x060083B6 RID: 33718 RVA: 0x00245E90 File Offset: 0x00244090
 public override bool Equals(object obj)
 {
     if (!(obj is ElementMarkupObject.ShouldSerializeKey))
     {
         return(false);
     }
     ElementMarkupObject.ShouldSerializeKey shouldSerializeKey = (ElementMarkupObject.ShouldSerializeKey)obj;
     return(shouldSerializeKey._type == this._type && shouldSerializeKey._propertyName == this._propertyName);
 }
        // Token: 0x06002414 RID: 9236 RVA: 0x000AFF3C File Offset: 0x000AE13C
        private static void CacheShouldSerializeMethod(ElementMarkupObject.ShouldSerializeKey key, MethodInfo methodInfo)
        {
            object value = (methodInfo == null) ? ElementMarkupObject._shouldSerializeCacheLock : methodInfo;
            object shouldSerializeCacheLock = ElementMarkupObject._shouldSerializeCacheLock;

            lock (shouldSerializeCacheLock)
            {
                ElementMarkupObject._shouldSerializeCache[key] = value;
            }
        }
        // Token: 0x06002413 RID: 9235 RVA: 0x000AFF00 File Offset: 0x000AE100
        private static bool TryGetShouldSerializeMethod(ElementMarkupObject.ShouldSerializeKey key, out MethodInfo methodInfo)
        {
            object obj = ElementMarkupObject._shouldSerializeCache[key];

            if (obj == null || obj == ElementMarkupObject._shouldSerializeCacheLock)
            {
                methodInfo = null;
                return(obj != null);
            }
            methodInfo = (obj as MethodInfo);
            return(true);
        }