Skip to content

Commit bb13f28

Browse files
committed
Fix NRE
1 parent 230c5ac commit bb13f28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Orm/Xtensive.Orm/Orm/Internals/KeyFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private static GenericKeyFactory BuildGenericKeyFactory(TypeInfo typeInfo)
158158
keyType = keyType.MakeGenericType(descriptor.ToArray(descriptor.Count));
159159
var defaultConstructor = DelegateHelper.CreateDelegate<Func<string, TypeInfo, Tuple, TypeReferenceAccuracy, Key>>(
160160
null, keyType, "Create", Array.Empty<Type>());
161-
var keyIndexBasedConstructor = DelegateHelper.CreateDelegate<Func<string, TypeInfo, Tuple, TypeReferenceAccuracy, IReadOnlyList<int>, Key>>(
161+
var keyIndexBasedConstructor = DelegateHelper.CreateDelegate<Func<string, TypeInfo, Tuple, TypeReferenceAccuracy, int[], Key>>(
162162
null, keyType, "Create", Array.Empty<Type>());
163163
return new GenericKeyFactory(keyType, defaultConstructor, keyIndexBasedConstructor);
164164
}

0 commit comments

Comments
 (0)