Ejemplo n.º 1
0
        public void SetCurrent(CodeType type)
        {
            // Set the current type arg. If _providedTypeArguments[_current] is not an AnonymousType, it will be the same value as type.
            TypeArgs[_current] = type;
            Tracker.TypeArgs[_current].AddCodeType(type);

            _current++;
            Completed = _current == TypeArgs.Length;

            if (Completed)
            {
                Tracker.AddCombo(this);
            }
        }