System.Dynamic.ExpandoClass.GetTransitionList C# (CSharp) Method

GetTransitionList() private method

Gets the lists of transitions that are valid from this ExpandoClass to an ExpandoClass whose keys hash to the appropriate hash code.
private GetTransitionList ( int hashCode ) : List
hashCode int
return List
        private List<WeakReference> GetTransitionList(int hashCode)
        {
            if (_transitions == null)
            {
                _transitions = new Dictionary<int, List<WeakReference>>();
            }

            List<WeakReference> infos;
            if (!_transitions.TryGetValue(hashCode, out infos))
            {
                _transitions[hashCode] = infos = new List<WeakReference>();
            }

            return infos;
        }