Пример #1
0
            public override ITypeSymbol VisitPointerType(IPointerTypeSymbol symbol)
            {
                var pointedAtType = symbol.PointedAtType.Accept(this);

                if (pointedAtType != null && pointedAtType.Equals(symbol.PointedAtType))
                {
                    return(symbol);
                }

                return(typeGenerator.CreatePointerTypeSymbol(pointedAtType));
            }