Kailashh
Kailashh

Reputation: 11

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

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

Upvotes: 1

Views: 171

Answers (1)

PMF
PMF

Reputation: 17328

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

Upvotes: 1

Related Questions