// Token: 0x06000195 RID: 405 RVA: 0x000108AC File Offset: 0x0000EAAC
        public static void LoadOverride(MethodInfo method)
        {
            OverrideAttribute attribute = (OverrideAttribute)Attribute.GetCustomAttribute(method, typeof(OverrideAttribute));

            if (OverrideManager.Overrides.Count((KeyValuePair <OverrideAttribute, OverrideWrapper> a) => a.Key.Method == attribute.Method) > 0)
            {
                return;
            }
            OverrideWrapper overrideWrapper = new OverrideWrapper(attribute.Method, method, attribute, null);

            overrideWrapper.Override();
            OverrideManager.Overrides.Add(attribute, overrideWrapper);
        }
        // Token: 0x0600019D RID: 413 RVA: 0x00010B44 File Offset: 0x0000ED44
        public static bool EnableOverride(MethodInfo method)
        {
            OverrideWrapper value = OverrideManager.Overrides.First((KeyValuePair <OverrideAttribute, OverrideWrapper> a) => a.Value.Original == method).Value;

            return(value != null && value.Override());
        }