Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ committed Dec 13, 2024
2 parents 507c420 + 8403f8a commit 4e46c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Il2CppInspector.Common/Reflection/TypeInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public MethodInfo[] GetAllMethods() {
public PropertyInfo GetProperty(string name) => DeclaredProperties.FirstOrDefault(p => p.Name == name);

public MethodBase[] GetVTable() {
if (!Definition.IsValid) {
if (Definition.IsValid) {
MetadataUsage[] vt = Assembly.Model.Package.GetVTable(Definition);
MethodBase[] res = new MethodBase[vt.Length];
for (int i = 0; i < vt.Length; i++) {
Expand Down Expand Up @@ -1190,4 +1190,4 @@ public string GetTypeConstraintsString(Scope scope) {

public override string ToString() => Name;
}
}
}

0 comments on commit 4e46c29

Please sign in to comment.