* AppDomain.cs: implemented DoCallBack method.
* MonoType.cs:
(GetConstructorImpl): when the flag is BindingFlags.Default, set it to
Public, Instance.
NUnit2 tests start moving.
svn path=/trunk/mcs/; revision=10321
}
- [MonoTODO]
public void DoCallBack (CrossAppDomainDelegate theDelegate)
{
- throw new NotImplementedException ();
+ if (theDelegate != null)
+ theDelegate ();
}
public override bool Equals (object other)
+2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * AppDomain.cs: implemented DoCallBack method.
+ * MonoType.cs:
+ (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
+ Public, Instance.
+
+ NUnit2 tests start moving.
+
2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Activator.cs: fixed bug #36052. Also added checks to avoid trying to
Type[] types,
ParameterModifier[] modifiers)
{
+ if (bindingAttr == BindingFlags.Default)
+ bindingAttr = BindingFlags.Public | BindingFlags.Instance;
+
ConstructorInfo[] methods = GetConstructors (bindingAttr);
ConstructorInfo found = null;
MethodBase[] match;