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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.