Type of issue
Other (describe below)
Description
The source code for ServiceContainer and the documentation page for the class show that the class isn't declared with the sealed keyword. The constructors are public as well, so at present, the class can be inherited (even if it's not supposed to be).
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.design.servicecontainer?view=net-10.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ComponentModel.Design/ServiceContainer.xml
Document Version Independent Id
3db6b5cb-e743-ab7c-e196-1ae18499d20f
Platform Id
4a07f598-a923-f9be-44d1-0d5863b477ba
Article author
@dotnet-bot
Type of issue
Other (describe below)
Description
The source code for ServiceContainer and the documentation page for the class show that the class isn't declared with the
sealedkeyword. The constructors are public as well, so at present, the class can be inherited (even if it's not supposed to be).Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.design.servicecontainer?view=net-10.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ComponentModel.Design/ServiceContainer.xml
Document Version Independent Id
3db6b5cb-e743-ab7c-e196-1ae18499d20f
Platform Id
4a07f598-a923-f9be-44d1-0d5863b477ba
Article author
@dotnet-bot