Esempio n. 1
0
 public static void Rewrite(RewriteDesign design, RewrittenValueBridge[] args)
 {
     if (!design.ModifiedEnumeration)
     {
         design.SwitchIsReversed();
         design.ListEnumeration = false;
         design.Indexer         = null;
     }
     else if (design.SourceSize != null)
     {
         KnownSourceSize(design);
         design.ListEnumeration     = true;
         design.ModifiedEnumeration = false;
     }
     else
     {
         UnknownSourceSize(design);
         design.ListEnumeration     = true;
         design.ModifiedEnumeration = false;
     }
     design.SimpleEnumeration = false;
 }