Browse Source

Fixed generic method creation

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
8bf0b8bc99
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      IPA.Loader/Config/Stores/GeneratedStoreImpl.cs

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

@ -1604,8 +1604,8 @@ namespace IPA.Config.Stores
// for now, we assume that its a generated type implementing IGeneratedStore
var IGeneratedStore_Serialize = typeof(IGeneratedStore).GetMethod(nameof(IGeneratedStore.Serialize));
var IGeneratedStoreT_CopyFrom = typeof(IGeneratedStore<>).GetMethod(nameof(IGeneratedStore<object>.CopyFrom))
.MakeGenericMethod(member.Type);
var IGeneratedStoreT_CopyFrom = typeof(IGeneratedStore<>).MakeGenericType(member.Type)
.GetMethod(nameof(IGeneratedStore<object>.CopyFrom));
if (!member.IsVirtual)
{


Loading…
Cancel
Save