// No params // TODO: should be configurable in the ctor... public override ParameterInfo[] GetParameters() { Helpers.TraceCall(); return((_ParameterInfo == null) ? new ParameterInfo[] { } : _ParameterInfo); }
public override MethodInfo MakeGenericMethod(params Type[] typeArguments) { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override string ToString() { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override MethodInfo GetGenericMethodDefinition() { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override MethodBody GetMethodBody() { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override bool Equals(object obj) { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override Type[] GetGenericArguments() { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override bool IsDefined(Type attributeType, bool inherit) { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override Delegate CreateDelegate(Type delegateType, object target) { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, System.Globalization.CultureInfo culture) { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
public override object[] GetCustomAttributes(bool inherit) { Helpers.TraceCall(); Debug.Assert(false, "Why are we calling into GetCustomAttributes()?"); return(null); }
public override MethodImplAttributes GetMethodImplementationFlags() { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }
// If CanRead is false, this one gets invoked... without checking 'CanWrite' (?) public override MethodInfo GetSetMethod(bool nonPublic) { Helpers.TraceCall(); return(_SetMethod); }
// Why is this invoked? public override ParameterInfo[] GetIndexParameters() { Helpers.TraceCall(); return(new ParameterInfo[] { /* new ArtificialParamInfo(typeof(int), isRetVal: false), new ArtificialParamInfo(typeof(decimal), isRetVal: false) */ }); }
// If CanRead is true, this one gets invoked. public override MethodInfo GetGetMethod(bool nonPublic) { Helpers.TraceCall(); Debug.Assert(!nonPublic, "GetGetMethod was invoked with nonPublic=true"); return(_GetMethod); }
public override MethodInfo[] GetAccessors(bool nonPublic) { Helpers.TraceCall(); Debug.Assert(false, "NYI"); throw new NotImplementedException(); }