AssemblyCSharp.Scheduler.Validate C# (CSharp) Method

Validate() private method

private Validate ( ) : bool
return bool
        private bool Validate()
        {
            for (var action = _first; action != null; action = action.NextAction)
            {
            if (action == action.PrevAction || action == action.NextAction)
                return false;

            if (action.PrevAction != null && action.PrevAction.NextAction != action)
            {
                return false;
            }

            if (action.NextAction != null && action.NextAction.PrevAction != action)
            {
                return false;
            }
            }

            return true;
        }