We introduced SystemObjectTypeProvider to represent any type written in custom code.
But NamedSymbolTypeProvider is doing the same thing, do we really need both?
Also in the BaseType resolution logic in ModelProvider, we have 3 different methods:
BuildBaseType (BaseType), BuildBaseTypeProvider (BaseTypeProvider) and BuildBaseModelProvider (BaseModelProvider)
they do not really agree with each other.
BuildBaseTypeProvider builds another instance (instantiating SystemObjectTypeProvider) instead of just returning whatever returned by BaseModelProvider.
I think we should figure out and make them consistent.
We introduced SystemObjectTypeProvider to represent any type written in custom code.
But NamedSymbolTypeProvider is doing the same thing, do we really need both?
Also in the BaseType resolution logic in
ModelProvider, we have 3 different methods:BuildBaseType(BaseType),BuildBaseTypeProvider(BaseTypeProvider) andBuildBaseModelProvider(BaseModelProvider)they do not really agree with each other.
BuildBaseTypeProviderbuilds another instance (instantiatingSystemObjectTypeProvider) instead of just returning whatever returned by BaseModelProvider.I think we should figure out and make them consistent.