public override string GetTypeParameter(AnonymousTypeMember associatedMember)
 {
     if (IsCSharp)
     {
         return(string.Format(TypeParamPattern, associatedMember.Name));
     }
     else
     {
         return(string.Format(TypeParamPattern, associatedMember.Position));
     }
 }
            public override string GetAnonymousField(AnonymousTypeMember associatedMember)
            {
                const string fieldPattern_CSharpPatternIO      = "i";
                const string fieldPattern_CleanCSharpPatternIO = "initOnly";

                if (IsCSharp)
                {
                    return(string.Format(string.Format(FieldPattern, associatedMember.Immutable ? IsClean ? fieldPattern_CleanCSharpPatternIO : fieldPattern_CSharpPatternIO : string.Empty), associatedMember.Name));
                }
                else
                {
                    return(string.Format(FieldPattern, associatedMember.Name));
                }
            }
 public override string GetAutoGeneratedProperty(AnonymousTypeMember associatedMember)
 {
     return(associatedMember.Name);
 }