Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16576 for misc/tools


Ignore:
Timestamp:
01/29/19 09:41:45 (6 years ago)
Author:
gkronber
Message:

#2520: changed Fossil -> Attic in VS Code Fix

Location:
misc/tools/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix/Analyzers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix/Analyzers/MissingStorableType/MissingStorableTypeFix.cs

    r16475 r16576  
    100100      var newRoot = root.ReplaceNode(baseTypeDecl, newBaseTypeDecl);
    101101
    102       // add using of HEAL.Fossil if the document does not already have it
     102      // add using of HEAL.Attic if the document does not already have it
    103103      var oldUsings = root.Usings;
    104       if (oldUsings.All(x => x.Name.WithoutTrivia().ToString() != "HEAL.Fossil")) {
    105         var persistenceUsing = SyntaxFactory.UsingDirective(SyntaxFactory.IdentifierName("HEAL.Fossil"));
     104      if (oldUsings.All(x => x.Name.WithoutTrivia().ToString() != "HEAL.Attic")) {
     105        var persistenceUsing = SyntaxFactory.UsingDirective(SyntaxFactory.IdentifierName("HEAL.Attic"));
    106106        newRoot = newRoot.WithUsings(oldUsings.Add(persistenceUsing));
    107107      }
  • misc/tools/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix/Analyzers/ObsoleteStorableClass/ObsoleteStorableClassFix.cs

    r16475 r16576  
    8282      var newRoot = root.ReplaceNode(attrDecl, newAttrDecl);
    8383
    84       // add using of HEAL.Fossil if the document does not already have it
     84      // add using of HEAL.Attic if the document does not already have it
    8585      var oldUsings = root.Usings;
    86       if (oldUsings.All(x => x.Name.WithoutTrivia().ToString() != "HEAL.Fossil")) {
    87         var persistenceUsing = SyntaxFactory.UsingDirective(SyntaxFactory.IdentifierName("HEAL.Fossil"));
     86      if (oldUsings.All(x => x.Name.WithoutTrivia().ToString() != "HEAL.Attic")) {
     87        var persistenceUsing = SyntaxFactory.UsingDirective(SyntaxFactory.IdentifierName("HEAL.Attic"));
    8888        newRoot = newRoot.WithUsings(oldUsings.Add(persistenceUsing));
    8989      }
Note: See TracChangeset for help on using the changeset viewer.