public override TypeName [] GetParameterTypes(IMethodBase method) { return(method.Value().Parameters.Select(p => new TypeName() { Name = p.Type }).ToArray()); }
public override TypeName [] GetParameterTypes(IMethodBase method) { return(method.Value().Parameters.Select(p => new TypeName() { Namespace = p.ParameterType.GetCorrectNamespace(), Name = p.ParameterType.GetCorrectName() }).ToArray()); }
public override string GetMethodName(IMethodBase m) { return(m.Value()?.Name); }
public override string GetParameterManagedTypeName(IMethodBase m, int index) { return(m.Value()?.Parameters [index]?.Type); }
public override string GetMethodReturnManagedTypeName(IMethodBase method) { var m = method.Value(); return(m is Ctor ? null : ((Method)m)?.ManagedReturn); }
public override string GetMethodReturnManagedTypeName(IMethodBase method) { var m = method.Value(); return(m.IsConstructor ? null : m.ReturnType.FullName); }