Exemplo n.º 1
0
        IEnumerable <byte> OptimizedAnnotations()
        {
            Debug.Assert(_profile == null);
            byte thisOne = 0;

            if (Kind.IsNRTFullNonNullable())
            {
                thisOne = 1;
            }
            else if (Kind.IsNRTFullNullable())
            {
                thisOne = 2;
            }
            for (int i = 0; i < 10000; ++i)
            {
                yield return(thisOne);
            }
        }