Skip to content

Commit

Permalink
Add note on method pointer obtaining
Browse files Browse the repository at this point in the history
  • Loading branch information
SamboyCoding authored Sep 7, 2020
1 parent 5b2875e commit a3a1f56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LibCpp2IL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Console.WriteLine(enumerableOfChar.genericParams[0].isGenericType); //false
var join = type.Methods[0];

Console.Log(join.Name); //Join
Console.Log($"0x{join.MethodPointer:X}"); //0x180385033
//ReturnType is a ReflectionData again, like interfaces are
Console.Log(join.ReturnType); //System.String
//DeclaringType gives you the original Il2CppTypeDefinition back
Expand Down

0 comments on commit a3a1f56

Please sign in to comment.