Browse Source

Added conditional compilation for ISet

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
153230b914
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      IPA.Loader/Config/Stores/CollectionConverter.cs

+ 2
- 0
IPA.Loader/Config/Stores/CollectionConverter.cs View File

@ -102,6 +102,7 @@ namespace IPA.Config.Stores.Converters
public CollectionConverter() : base(new TConverter()) { }
}
#if NET4
/// <summary>
/// A <see cref="CollectionConverter{T, TCollection}"/> for an <see cref="ISet{T}"/>, creating a <see cref="HashSet{T}"/> when deserializing.
/// </summary>
@ -145,6 +146,7 @@ namespace IPA.Config.Stores.Converters
/// <seealso cref="ISetConverter{T}.ISetConverter(ValueConverter{T})"/>
public ISetConverter() : base(new TConverter()) { }
}
#endif
/// <summary>
/// A <see cref="CollectionConverter{T, TCollection}"/> for a <see cref="List{T}"/>.


Loading…
Cancel
Save