[Mono-winforms-list] Exception when using monodocer on System.Windows.Forms.dll

latency latency at gmx.de
Sun Dec 10 03:05:09 EST 2006

Hi all,

as I'm working pretty much with the System.Windows.Forms namespace I thought 
it would be great to have it's documentation in the mondoc browser.

So I tried to run monodocer and generate the documentation but monodcer fails 
and displays the following exception.

Updating: System.Windows.Forms.TextBox
System.NullReferenceException: Object reference not set to an instance of an 
  at CSharpFullMemberFormatter.AppendVisibility (System.Text.StringBuilder 
buf, System.Reflection.MethodBase method) [0x00000]
  at CSharpFullMemberFormatter.GetEventDeclaration 
(System.Reflection.EventInfo e) [0x00000]
  at MemberFormatter.GetDeclaration (System.Reflection.MemberInfo member) 
  at Stub.MakeMemberSignature (System.Reflection.MemberInfo mi) [0x00000]
  at Stub.MakeMember (System.Xml.XmlDocument doc, System.Reflection.MemberInfo 
mi) [0x00000]
  at Stub.UpdateType (System.Xml.XmlElement root, System.Type type, Boolean 
addmembers) [0x00000]
  at Stub.StubType (System.Type type) [0x00000]
  at Stub.DoUpdateAssembly (System.Reflection.Assembly assembly, 
System.Xml.XmlElement index_types, System.String source, System.String dest, 
System.Collections.Hashtable goodfiles) [0x00000]
  at Stub.DoUpdateAssemblies (System.String source, System.String dest) 
  at Stub.Main (System.String[] args) [0x00000]
Members Added: 0, Members Deleted: 0

Can somebody tell me what went wrong? I'm running Mono and used the 
Winforms assembly in /usr/lib/mono/2.0/ .

Thanks in advance,
Valentin S.

More information about the Mono-winforms-list mailing list