Question

I'm trying to mole the method Assembly.GetEntryAssembly but it appears that only stub types are generated for the System.Reflection namespace i.e. System.Reflection.Moles.SAssembly is generated but not System.Reflection.Moles.MAssembly.

I checked and another namespace System.Resource has both the stub and runtime mole types e.g. both System.Resources.Moles.SIResourceWriter and System.Resources.Moles.MResourceWriter are available.

Any knowledge about this specific issue would be great.

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top