Skip to content

Commit

Permalink
Support early marking of exports
Browse files Browse the repository at this point in the history
  • Loading branch information
sbomer committed Jan 20, 2021
1 parent cca717c commit bd85953
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/linker/Linker.Steps/MarkStep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ bool ProcessMarkedPending ()
case ModuleDefinition module:
MarkModule (module, DependencyInfo.AlreadyMarked);
break;
case ExportedType exportedType:
Annotations.SetProcessed (exportedType);
// No additional processing is done for exported types.
break;
default:
throw new NotImplementedException (pending.GetType ().ToString ());
}
Expand Down

0 comments on commit bd85953

Please sign in to comment.