using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
namespace System.Reflection {
public abstract ParameterInfo[] GetIndexParameters();
+#if ONLY_1_1
+ public new Type GetType ()
+ {
+ return base.GetType ();
+ }
+#endif
+
public MethodInfo GetSetMethod()
{
return GetSetMethod (false);
public abstract void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
#if NET_2_0 || BOOTSTRAP_NET_2_0
- [Obsolete ("Use ParameterInfo.GetOptionalCustomModifiers().")]
- public virtual Type[] OptionalCustomModifiers {
- get {
- return GetOptionalCustomModifiers ();
- }
- }
-
- [Obsolete ("Use ParameterInfo.GetRequiredCustomModifiers().")]
- public virtual Type[] RequiredCustomModifiers {
- get {
- return GetRequiredCustomModifiers ();
- }
- }
- [MonoTODO]
public virtual Type[] GetOptionalCustomModifiers () {
- throw new NotImplementedException ();
+ return Type.EmptyTypes;
}
- [MonoTODO]
public virtual Type[] GetRequiredCustomModifiers () {
- throw new NotImplementedException ();
+ return Type.EmptyTypes;
}
- [MonoTODO]
+ [MonoTODO("Not implemented")]
public virtual object GetConstantValue () {
throw new NotImplementedException ();
}
- [MonoTODO]
+ [MonoTODO("Not implemented")]
public virtual object GetRawConstantValue() {
throw new NotImplementedException ();
}
#endif
+
+ void _PropertyInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
+ {
+ throw new NotImplementedException ();
+ }
+
+ void _PropertyInfo.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo)
+ {
+ throw new NotImplementedException ();
+ }
+
+ void _PropertyInfo.GetTypeInfoCount (out uint pcTInfo)
+ {
+ throw new NotImplementedException ();
+ }
+
+ void _PropertyInfo.Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
+ {
+ throw new NotImplementedException ();
+ }
}
}