예제 #1
0
        private static void AddComparison(this Dictionary <ReferenceWrapper, HashSet <ReferenceWrapper> > comparisons, ReferenceWrapper that, ReferenceWrapper other)
        {
            if (!comparisons.ContainsKey(that))
            {
                comparisons[that] = new HashSet <ReferenceWrapper>();
            }

            comparisons[that].Add(other);
        }