2 using System
.Reflection
;
4 public class HostExpression
{}
5 public class OMetaStream
<T
> {}
6 public class OMetaList
<T
> {}
8 public class OMetaParser
{
9 public virtual bool NameFirst (OMetaStream
<char> inputStream
, out object result
) {
11 Console
.WriteLine ("ok");
19 var f
= new OMetaParser ();
20 var m
= typeof (OMetaParser
).GetMethod ("NameFirst");
22 var arg0
= new OMetaStream
<char> ();
23 var arg1
= new OMetaList
<HostExpression
> ();
25 bool res
= (bool)m
.Invoke (f
, new object[] { arg0, arg1 }
);