Skip to content

Commit

Permalink
Fold GeneratingMetadataManager into MetadataManager (#97140)
Browse files Browse the repository at this point in the history
Long time ago, `MetadataManager` had two descendants: the `GeneratingMetadataManager` and another one that I forgot the name of. It was used for .NET Native and didn't generate metadata, because ILTransforms did.

Fold the classes together.
  • Loading branch information
MichalStrehovsky committed Jan 18, 2024
1 parent 2e595fb commit fd44d5c
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 231 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace ILCompiler
/// <summary>
/// A metadata manager that knows the full set of metadata ahead of time.
/// </summary>
public sealed class AnalysisBasedMetadataManager : GeneratingMetadataManager, ICompilationRootProvider
public sealed class AnalysisBasedMetadataManager : MetadataManager, ICompilationRootProvider
{
private readonly List<ModuleDesc> _modulesWithMetadata;
private readonly List<MetadataType> _typesWithRootedCctorContext;
Expand Down

This file was deleted.

Loading

0 comments on commit fd44d5c

Please sign in to comment.