We introduced ServiceKeyAttribute and FromKeyedServicesAttribute for keyed service, while they are not sealed, and there're no inherits from the repo search result, since they're new types introduced, should we consider making them sealed?
From the sealed proposal #49944, we may prefer sealed for these types
keyed service PR: #87183
code search result:
https://github.com/search?q=repo%3Adotnet%2Fruntime%20ServiceKeyAttribute&type=code
https://github.com/search?q=repo%3Adotnet%2Fruntime%20FromKeyedServicesAttribute&type=code
We introduced
ServiceKeyAttributeandFromKeyedServicesAttributefor keyed service, while they are not sealed, and there're no inherits from the repo search result, since they're new types introduced, should we consider making them sealed?From the
sealedproposal #49944, we may prefersealedfor these typeskeyed service PR: #87183
code search result:
https://github.com/search?q=repo%3Adotnet%2Fruntime%20ServiceKeyAttribute&type=code
https://github.com/search?q=repo%3Adotnet%2Fruntime%20FromKeyedServicesAttribute&type=code