Exemplo n.º 1
0
        internal override int GetMaxYieldLength()
        {
            int m = falseCase.GetMaxYieldLength();
            int n = trueCase.GetMaxYieldLength();

            return(m <= n ? n : m);
        }
Exemplo n.º 2
0
        internal override int GetMaxYieldLength()
        {
            var k = defaultcase.GetMaxYieldLength();

            foreach (var c in cases)
            {
                k = Math.Max(k, c.Value.GetMaxYieldLength());
            }
            return(k);
        }