Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/26/09 10:42:56 (15 years ago)
Author:
epitzer
Message:

Use version invariant assembly qualified name and update plug-in assembly name. (#506)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New Persistence Exploration/Persistence/Persistence/Default/Decomposers/TypeDecomposer.cs

    r1421 r1425  
    1010    public bool CanDecompose(Type type) {
    1111      return type == typeof (Type) ||
    12              type.FullName == "System.RuntimeType";
     12             type.VersionInvariantName() == "System.RuntimeType, mscorlib";
    1313    }
    1414
    1515    public IEnumerable<Tag> DeCompose(object obj) {
    1616      Type t = (Type) obj;
    17       yield return new Tag("AssemblyQualifiedName", t.AssemblyQualifiedName);
     17      yield return new Tag("VersionInvariantName", t.VersionInvariantName());
    1818    }
    1919
Note: See TracChangeset for help on using the changeset viewer.