
68 Chapter 2 • The Microsoft .NET Framework
Type Safety
Type safety limits access to memory locations to which it has authorization. So, if
we have Object A trying to reference the memory location of Object B that is
within the memory area of Assembly C, Object A will not be allowed access.
Even if Object A tries to access a memory location that is accessible by its
assembly and does not have permission, it will be denied. An optional verification
process can be run on the MSIL to verify that the code is type safe. It’s optional
because it can be skipped based on permissions given to the code.
Type-safe code tells the runtime that it can go ahead and ...