We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98e69b4 commit ba0e8e1Copy full SHA for ba0e8e1
Mono.Cecil.Inject/InjectionDefinition.cs
@@ -122,7 +122,7 @@ Injection has {injectMethod.Parameters.Count
122
"Supposed to receive local references, but the provided local variable index/indices do not exist in the target method!");
123
Assert(
124
injectMethod.Parameters.Slice(prefixCount, localsCount)
125
- .Select((p, i) => new {param = p, index = i})
+ .Select((p, i) => new {param = p, index = localVarIDs[i]})
126
.All(
127
t =>
128
t.param.ParameterType.IsByReference
0 commit comments