Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
limoka committed Jan 30, 2025
1 parent 5e93226 commit 2bfe07b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Il2CppInterop.Generator/Passes/Pass11ComputeTypeSpecifics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ public static void DoPass(RewriteGlobalContext context)
typeUsageDictionary.Clear();

foreach (var assemblyContext in context.Assemblies)
foreach (var typeContext in assemblyContext.Types)
{
ComputeGenericParameterUsageSpecifics(typeContext);
ScanTypeContextUsage(typeContext);
}
foreach (var typeContext in assemblyContext.Types)
{
ComputeGenericParameterUsageSpecifics(typeContext);
ScanTypeContextUsage(typeContext);
}

foreach (var assemblyContext in context.Assemblies)
foreach (var typeContext in assemblyContext.Types)
Expand All @@ -33,7 +33,7 @@ public static void DoPass(RewriteGlobalContext context)
}


private static void ComputeGenericParameterUsageSpecifics(TypeRewriteContext typeContext)
private static void ComputeGenericParameterUsageSpecifics(TypeRewriteContext typeContext)
{
if (typeContext.genericParameterUsageComputed) return;
typeContext.genericParameterUsageComputed = true;
Expand Down

0 comments on commit 2bfe07b

Please sign in to comment.