[Mono-devel-list] Cannot find Hashtable in System.dll

Mads Lindstrøm mads_lindstroem at yahoo.dk
Fri Aug 6 11:44:08 EDT 2004


I have made and compiled the following program:

using System;
using System.Reflection;

public class Tester {
	public static void Main( ) {
		Assembly a = Assembly.LoadWithPartialName("System");
		Type[] types = a.GetTypes( );
		Console.WriteLine("{0} types found", types.Length);
		foreach(Type t in types) {
			Console.WriteLine("Type is {0}", t);

I run it like:

> ./ReflectionTest.exe | grep -i hashtable

and I get no output. I had expected to find the hashtable class. Is this
a bug in mono or am I doing something wrong?

I am running a Debian system with unstable mono packages.


Mads Lindstrøm

More information about the Mono-devel-list mailing list