Browse Source

RemovedAggressiveInlining for .NET 3

pull/46/head
Anairkoen Schno 5 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() */); internal static IEnumerable<string> StrJP<T>(this IEnumerable<T> a) => a.Select(o => $"{o}" /* safer than .ToString() */);
#endif #endif
#if NET3 #if NET3
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static string[] StrJP(this IEnumerable<string> a) => a.ToArray(); 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(); internal static string[] StrJP<T>(this IEnumerable<T> a) => a.Select(o => $"{o}" /* safer than .ToString() */).ToArray();
#endif #endif
} }


Loading…
Cancel
Save