Skip to content

Commit

Permalink
Remove unnecessary extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ds5678 committed Sep 14, 2024
1 parent a967109 commit 8f3019b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Il2CppInterop.Generator/Extensions/AsmResolverExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ private static Parameter GetArgument(this ILProcessor instructions, int argument
: method.Parameters[argumentIndex - 1];
}

public static bool IsReferenceType(this TypeDefinition type) => !type.IsValueType;

public static bool HasGenericParameters(this TypeDefinition type) => type.GenericParameters.Count > 0;

public static bool HasGenericParameters(this MethodDefinition method) => method.GenericParameters.Count > 0;
Expand Down

0 comments on commit 8f3019b

Please sign in to comment.