Exemple #1
0
 public sealed override String ToString()
 {
     return(RuntimeMethodCommon.ComputeToString(this, Array.Empty <RuntimeType>(), GetRuntimeParametersAndReturn(this)));
 }
Exemple #2
0
 public sealed override String ToString()
 {
     // A constructor's "return type" is always System.Void and we don't want to allocate a ParameterInfo object to record that revelation.
     // In deference to that, ComputeToString() lets us pass null as a synonym for "void."
     return(RuntimeMethodCommon.ComputeToString(this, Array.Empty <RuntimeTypeInfo>(), RuntimeParameters, returnParameter: null));
 }
 public sealed override String ToString()
 {
     return(RuntimeMethodCommon.ComputeToString(this, Array.Empty <RuntimeTypeInfo>(), RuntimeParameters, RuntimeReturnParameter));
 }