private static string GetParameterTypesString(MethodSignatureBase signature) { string parameterTypesString = string.Join(", ", signature.ParameterTypes) + (signature.IsSentinel ? ", ..." : string.Empty); return(parameterTypesString); }
/// <summary> /// Creates the return value of a method signature. /// </summary> /// <param name="methodSig">Method Signature</param> /// <returns></returns> private IConcreteValue CreateReturnValue(MethodSignatureBase methodSig) { var returnType = methodSig.ReturnType; return(returnType.ElementType != ElementType.Void ? ValueFactory.CreateValue(returnType, false) : null); }
private static string GetParameterTypesString(MethodSignatureBase signature) { return(string.Format("{0}{1}", string.Join(", ", signature.ParameterTypes), signature.IsSentinel ? ", ..." : string.Empty)); }