why am I not able to see any namespace why trying to decompile System.IO.Filesystem assembly using ILSPY

93 Views Asked by At

I am trying to check the namespace and the types in System.IO.Filesystem assembly by usinig ILSPY but I am not able to see any namespace at all as shown in the below img link, why am I not able to see it?

ILSPY scrshot

1

1

There are 1 best solutions below

0
PMF On

The System.IO.Filesystem.dll doesn't really contain any code, it just contains links to the actual types. I don't really know why they did that, I presume for some compatibility reasons. The actual implementation of all the classes in there are in the runtime kernel assembly (System.Private.Corelib.dll).

Your version of IlSpy doesn't seem to handle this scenario correctly. Maybe there's a newer version. DotPeek shows this correctly:

System.IO.FileSystem with forwarded types