In order to avoid collisions with other types (such as when generating code) you can prefix a type with the file keyword to indicate it can only be referenced from the file it is defined in.
Code
csharp
file class CantBeSeenOutside
{
}csharp
internal class CantBeSeenOutside234456aze
{
}Notes
- A
filetype can't appear in the signature of a member of a non-filetype, as it would then be visible outside the file