Пример #1
0
        public void Append(TypeSyntax?typeSyntax)
        {
            if (typeSyntax?.GetSyntaxName() is { } a)
            {
                Append(a);
            }

            if (typeSyntax is GenericNameSyntax gns)
            {
                foreach (var item in gns.TypeArgumentList.Arguments)
                {
                    Append(item);
                }
            }
        }