// Token: 0x060055C9 RID: 21961 RVA: 0x0012FD5C File Offset: 0x0012DF5C internal bool IsOverloaded() { if ((this.flags & RemotingMethodCachedData.MethodCacheFlags.CheckedOverloaded) == RemotingMethodCachedData.MethodCacheFlags.None) { RemotingMethodCachedData.MethodCacheFlags methodCacheFlags = RemotingMethodCachedData.MethodCacheFlags.CheckedOverloaded; MethodBase ri = this.RI; RuntimeMethodInfo runtimeMethodInfo; if ((runtimeMethodInfo = (ri as RuntimeMethodInfo)) != null) { if (runtimeMethodInfo.IsOverloaded) { methodCacheFlags |= RemotingMethodCachedData.MethodCacheFlags.IsOverloaded; } } else { RuntimeConstructorInfo runtimeConstructorInfo; if (!((runtimeConstructorInfo = (ri as RuntimeConstructorInfo)) != null)) { throw new NotSupportedException(Environment.GetResourceString("InvalidOperation_Method")); } if (runtimeConstructorInfo.IsOverloaded) { methodCacheFlags |= RemotingMethodCachedData.MethodCacheFlags.IsOverloaded; } } this.flags |= methodCacheFlags; } return((this.flags & RemotingMethodCachedData.MethodCacheFlags.IsOverloaded) > RemotingMethodCachedData.MethodCacheFlags.None); }
// Token: 0x060055C8 RID: 21960 RVA: 0x0012FD00 File Offset: 0x0012DF00 internal bool IsOneWayMethod() { if ((this.flags & RemotingMethodCachedData.MethodCacheFlags.CheckedOneWay) == RemotingMethodCachedData.MethodCacheFlags.None) { RemotingMethodCachedData.MethodCacheFlags methodCacheFlags = RemotingMethodCachedData.MethodCacheFlags.CheckedOneWay; object[] customAttributes = this.RI.GetCustomAttributes(typeof(OneWayAttribute), true); if (customAttributes != null && customAttributes.Length != 0) { methodCacheFlags |= RemotingMethodCachedData.MethodCacheFlags.IsOneWay; } this.flags |= methodCacheFlags; return((methodCacheFlags & RemotingMethodCachedData.MethodCacheFlags.IsOneWay) > RemotingMethodCachedData.MethodCacheFlags.None); } return((this.flags & RemotingMethodCachedData.MethodCacheFlags.IsOneWay) > RemotingMethodCachedData.MethodCacheFlags.None); }