If this is not the case, which I'm pretty sure, then what is the role of mscorlib.dll and where is the CLR?
CLR not located in the mscorlib.dll file, but in the MSCorEE.dll . I think this is what you were looking for. This is the main DLL loaded when loading the .NET exe assembly.
CLR
See the question , which probably answers your question.
I believe this question covers most of what you ask:
mscorlib.dll and System.dll
mscorlib.dll contains some fundamental .net classes, such as a system.
use the reflector for the classes and namespaces executed by mscorlib.dll.
You can also find information about the CLR here: http://msdn.microsoft.com/en-us/library/8bs2ecf4.aspx
The actual CLR code is contained in a file whose name has changed in different versions of the CLR. For versions 1.0, 1.1 and 2.0, the CLR code is in the MSCorWks.dll file and for version 4.0, the CLR code is in the Clr.dll file.
Source: https://habr.com/ru/post/1346916/More articles:What to do when two shared libraries depend on the same version of a third-party group compiled differently? - c ++How is Google updating its Geolocation database? - androidHow to call UI Controls method from ViewModel (MVVM)? - c #WPF How to find out the current button pressed between several buttons - buttonHow to save ICollection with EF CTP5 - entity-frameworkHow can I protect myself from updating another object by the current object by mistake? - javaWPF: determining user panel visibility - wpfFramework + database for node.js - javascriptSystem error & H80004015 (-2147467243). The class is configured to run as a security identifier other than the caller - vb6https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1346921/templating-system-that-is-safe-for-end-users-to-edit&usg=ALkJrhgnGt3Sv1SUC7n5ENgloVEG9W3PlQAll Articles