Skip to content

Commit

Permalink
0.7.2: Process callvirt
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-st committed Jun 24, 2024
1 parent 961277d commit bd10bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/InlineMethod.Fody/ModuleWeaver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void ProcessMethod(MethodDefinition method)
while (instruction != null)
{
var nextInstruction = instruction.Next;
if (instruction.OpCode.Code == Code.Call)
if (instruction.OpCode.Code == Code.Call || instruction.OpCode.Code == Code.Callvirt)
{
ProcessCallInstruction(instruction, method);
}
Expand Down
2 changes: 1 addition & 1 deletion src/InlineMethod/InlineMethod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageOutputPath>$(SolutionDir)/../nugets</PackageOutputPath>
<PackageProjectUrl>https://github.com/oleg-st/InlineMethod.Fody</PackageProjectUrl>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Version>0.7.1</Version>
<Version>0.7.2</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit bd10bd3

Please sign in to comment.