Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Merge TypeInitializationManager with CompilerTypeSystemContext - #1548

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:typeInit
Jul 19, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:typeInit

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

There's little point in separating type initialization manager from the
type system context. It's an extra class we need to instantiate and pass
around between Compilation and NodeFactory and doesn't provide much
functionality to warrant being a separate class (we don't expect this to
be more pluggable/overridable than the type system context in general -
we might want to consider a middle man class between
MetadataTypeSystemContext and CompilerTypeSystemContext if pluggability
is desired).

Also, exposing CompilerTypeSystemContext on NodeFactory is more useful.

There's little point in separating type initialization manager from the
type system context. It's an extra class we need to instantiate and pass
around between Compilation and NodeFactory and doesn't provide much
functionality to warrant being a separate class (we don't expect this to
be more pluggable/overridable than the type system context in general -
we might want to consider a middle man class between
MetadataTypeSystemContext and CompilerTypeSystemContext if pluggability
is desired).

Also, exposing CompilerTypeSystemContext on NodeFactory is more useful.
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

@nattress @davidwrighton PTAL

@nattress

Copy link
Copy Markdown
Contributor

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit f191aab into dotnet:master Jul 19, 2016
@MichalStrehovsky
MichalStrehovsky deleted the typeInit branch July 19, 2016 23:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants