public override string GetTypeName(IAnonymousType target) { if (IsVisualBasic) { return(string.Format(TypePattern, target.Index)); } else { return(string.Format(TypePattern, "f", target.Index)); } }
private static ITypeName GetName(this IAnonymousType type, IDictionary <DeclaredElementInstance, IName> seenElements) { return(Names.UnknownType); }
/// <summary> /// Obtains the <see cref="String"/> that represents /// a given <see cref="IAnonymousType"/>'s name. /// </summary> /// <param name="target">The target <see cref="IAnonymousType"/> /// from which to generate the name.</param> /// <returns>A <see cref="String"/> which represents the name /// of the <see cref="IAnonymousType"/>.</returns> public abstract string GetTypeName(IAnonymousType target);
public override void VisitAnonymousType(IAnonymousType anonymousType) { }