Browse Source

RemovedAggressiveInlining for .NET 3

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
05aaf1fa29
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      IPA.Loader/Utilities/Utils.cs

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

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


Loading…
Cancel
Save