internal void SetLastCalledMethod(string newMethName, MethodBase newMB) { this._lastMethodCalled = new RemotingTypeCachedData.LastCalledMethodClass() { methodName = newMethName, MB = newMB }; }
// Token: 0x060055B5 RID: 21941 RVA: 0x0012FA00 File Offset: 0x0012DC00 internal MethodBase GetLastCalledMethod(string newMeth) { RemotingTypeCachedData.LastCalledMethodClass lastMethodCalled = this._lastMethodCalled; if (lastMethodCalled == null) { return(null); } string methodName = lastMethodCalled.methodName; MethodBase mb = lastMethodCalled.MB; if (mb == null || methodName == null) { return(null); } if (methodName.Equals(newMeth)) { return(mb); } return(null); }
internal MethodBase GetLastCalledMethod(string newMeth) { RemotingTypeCachedData.LastCalledMethodClass calledMethodClass = this._lastMethodCalled; if (calledMethodClass == null) { return((MethodBase)null); } string str = calledMethodClass.methodName; MethodBase methodBase = calledMethodClass.MB; if (methodBase == (MethodBase)null || str == null) { return((MethodBase)null); } if (str.Equals(newMeth)) { return(methodBase); } return((MethodBase)null); }