Exemplo n.º 1
0
        private IAstTypeReference RemapArgumentTypesForGeneric(AstGenericTypeWithArguments generic, Func <IAstTypeReference, IAstTypeReference> remap)
        {
            var arguments = generic.TypeArguments;
            var remapped  = RemapAll(arguments, remap);

            return(!remapped.Item2 ? generic : new AstGenericTypeWithArguments(generic.PrimaryType, remapped.Item1));
        }
Exemplo n.º 2
0
 protected virtual void AppendGenericTypeWithArguments(StringBuilder builder, AstGenericTypeWithArguments genericTypeWithArguments)
 {
     builder.Append(genericTypeWithArguments);
 }