Skip to content

Commit c15bf9a

Browse files
ds5678gompoc
authored andcommitted
Fix construction of GenericParameterSignature
1 parent a571fcb commit c15bf9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cpp2IL.Core/Utils/AsmResolver/ContextToTypeSignature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static TypeSignature ToTypeSignature(this GenericInstanceTypeAnalysisCont
3232

3333
public static TypeSignature ToTypeSignature(this GenericParameterTypeAnalysisContext context, ModuleDefinition parentModule)
3434
{
35-
return new GenericParameterSignature(context.Type == Il2CppTypeEnum.IL2CPP_TYPE_VAR ? GenericParameterType.Type : GenericParameterType.Method, context.Index);
35+
return new GenericParameterSignature(parentModule, context.Type == Il2CppTypeEnum.IL2CPP_TYPE_VAR ? GenericParameterType.Type : GenericParameterType.Method, context.Index);
3636
}
3737

3838
public static TypeSignature ToTypeSignature(this WrappedTypeAnalysisContext context, ModuleDefinition parentModule) => context switch

0 commit comments

Comments
 (0)