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

Tom Larsen tomar at apricot.com
Fri Aug 6 14:32:02 EDT 2004


I blieve Hashtable is in System.Collections and found in mscorelib.dll.
It will not find Hashtable because you are looking in the wrong place.

Tom Larsen

 On Fri, 6 Aug 2004, Mads [ISO-8859-1] Lindstrøm wrote:

> Hawdee
>
> 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.
>
>
> Greetings,
>
> Mads Lindstrøm
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



More information about the Mono-devel-list mailing list