Browse Source

Added Net4 correct StrJP

pull/32/head
Anairkoen Schno 5 years ago
parent
commit
d76f37c069
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      IPA.Loader/Utilities/Utils.cs

+ 1
- 0
IPA.Loader/Utilities/Utils.cs View File

@ -190,6 +190,7 @@ namespace IPA.Utilities
#if NET4 #if NET4
internal static IEnumerable<string> StrJP(this IEnumerable<string> a) => a; internal static IEnumerable<string> StrJP(this IEnumerable<string> a) => a;
internal static IEnumerable<string> StrJP<T>(this IEnumerable<T> a) => a.Select(o => $"{o}" /* safer than .ToString() */);
#endif #endif
#if NET3 #if NET3
internal static string[] StrJP(this IEnumerable<string> a) => a.ToArray(); internal static string[] StrJP(this IEnumerable<string> a) => a.ToArray();


Loading…
Cancel
Save