root@compulab-pxa270:~$ mono hello.exe
Hello, World!
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Runtime.Remoting.Contexts.Context ---> L
at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor, IHashCodeProvider hcp, IComparer comparer) [0x00000]
at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor) [0x00000]
at System.Collections.Hashtable..ctor () [0x00000]
at System.Runtime.Remoting.Contexts.Context..cctor () [0x00000] --- End of inner exception stack trace ---
root@compulab-pxa270:~$ mono xpath.exe
Start of program
Unhandled Exception: System.IO.FileNotFoundException: Could not find file "/home/root/my_document.xml".
File name: "/home/root/my_document.xml"
at System.IO.FileStream..ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions op
at System.IO.FileStream..ctor (System.String name, FileMode mode, FileAccess access, FileShare share) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000]
at System.Xml.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000]
at System.Xml.XmlTextReader..ctor (System.String url, System.Xml.XmlNameTable nt) [0x00000]
at System.Xml.XmlTextReader..ctor (System.String url) [0x00000]
at System.Xml.XPath.XPathDocument..ctor (System.String uri, XmlSpace space) [0x00000]
at System.Xml.XPath.XPathDocument..ctor (System.String uri) [0x00000]
at Test.Main (System.String[] args) [0x00000]
(and program never finishes)