Skip to content

Commit

Permalink
ImplementRdfClassTask.cs
Browse files Browse the repository at this point in the history
fix IL generation variable : must be an Array of Class !!
  • Loading branch information
gboulard committed Feb 15, 2018
1 parent c02c49a commit a52c875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trinity.CilGenerator/Tasks/ImplementRdfClassTask.cs
Expand Up @@ -121,7 +121,7 @@ public override bool Execute(object parameter = null)
generator.Method.Body.MaxStackSize = 3;
generator.Method.Body.InitLocals = true;
generator.Method.Body.Variables.Add(new VariableDefinition(MainModule.Import(getTypeBase.ReturnType)));
generator.Method.Body.Variables.Add(new VariableDefinition(MainModule.Import(typeof(Class))));
generator.Method.Body.Variables.Add(new VariableDefinition(MainModule.Import(typeof(Class[]))));
generator.Execute();
}

Expand Down

0 comments on commit a52c875

Please sign in to comment.