Skip to content

Commit 9a87dc9

Browse files
committed
Resolve raw type for generic instance unstripping
1 parent 69c53af commit 9a87dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Il2CppInterop.Generator/Passes/Pass80UnstripMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private static PropertyDefinition GetOrCreateProperty(MethodDefinition unityMeth
191191

192192
if (unityType is GenericInstanceType genericInstance)
193193
{
194-
var baseRef = ResolveTypeInNewAssemblies(context, genericInstance.ElementType, imports);
194+
var baseRef = ResolveTypeInNewAssembliesRaw(context, genericInstance.ElementType, imports);
195195
if (baseRef == null) return null;
196196
var newInstance = new GenericInstanceType(baseRef);
197197
foreach (var unityGenericArgument in genericInstance.GenericArguments)

0 commit comments

Comments
 (0)