// Token: 0x060002F5 RID: 757 RVA: 0x000101BC File Offset: 0x0000E3BC private MethodInfo SanityCheckCallback(TypeModel model, MethodInfo callback) { this.metaType.ThrowIfFrozen(); if (callback == null) { return(callback); } if (callback.IsStatic) { throw new ArgumentException("Callbacks cannot be static", "callback"); } if (callback.ReturnType != model.MapType(typeof(void)) || !CallbackSet.CheckCallbackParameters(model, callback)) { throw CallbackSet.CreateInvalidCallbackSignature(callback); } return(callback); }