// Token: 0x060045FD RID: 17917 RVA: 0x000FF03C File Offset: 0x000FD23C internal virtual string FormatNameAndSig(bool serialization) { StringBuilder stringBuilder = new StringBuilder(this.Name); stringBuilder.Append("("); stringBuilder.Append(MethodBase.ConstructParameters(this.GetParameterTypes(), this.CallingConvention, serialization)); stringBuilder.Append(")"); return(stringBuilder.ToString()); }
internal override string ConstructName() { StringBuilder builder = new StringBuilder(this.Name); if (this.IsGenericMethod) { builder.Append(RuntimeMethodHandle.ConstructInstantiation(this)); } builder.Append("("); builder.Append(MethodBase.ConstructParameters(this.GetParametersNoCopy(), this.CallingConvention)); builder.Append(")"); return(builder.ToString()); }
// Token: 0x0600462F RID: 17967 RVA: 0x000FF524 File Offset: 0x000FD724 internal override string FormatNameAndSig(bool serialization) { StringBuilder stringBuilder = new StringBuilder(this.Name); TypeNameFormatFlags format = serialization ? TypeNameFormatFlags.FormatSerialization : TypeNameFormatFlags.FormatBasic; if (this.IsGenericMethod) { stringBuilder.Append(RuntimeMethodHandle.ConstructInstantiation(this, format)); } stringBuilder.Append("("); stringBuilder.Append(MethodBase.ConstructParameters(this.GetParameterTypes(), this.CallingConvention, serialization)); stringBuilder.Append(")"); return(stringBuilder.ToString()); }
private string FormatNameAndSig(bool serialization) { StringBuilder stringBuilder = new StringBuilder(this.PropertyType.FormatTypeName(serialization)); stringBuilder.Append(" "); stringBuilder.Append(this.Name); RuntimeType[] arguments = this.Signature.Arguments; if (arguments.Length != 0) { stringBuilder.Append(" ["); stringBuilder.Append(MethodBase.ConstructParameters((Type[])arguments, this.Signature.CallingConvention, serialization)); stringBuilder.Append("]"); } return(stringBuilder.ToString()); }
public override string ToString() { StringBuilder builder = new StringBuilder(this.PropertyType.SigToString()); builder.Append(" "); builder.Append(this.Name); RuntimeType[] arguments = this.Signature.Arguments; if (arguments.Length > 0) { builder.Append(" ["); builder.Append(MethodBase.ConstructParameters(arguments, this.Signature.CallingConvention)); builder.Append("]"); } return(builder.ToString()); }
private string FormatNameAndSig(bool serialization) { StringBuilder sbName = new StringBuilder(PropertyType.FormatTypeName(serialization)); sbName.Append(" "); sbName.Append(Name); RuntimeType[] arguments = Signature.Arguments; if (arguments.Length > 0) { sbName.Append(" ["); sbName.Append(MethodBase.ConstructParameters(arguments, Signature.CallingConvention, serialization)); sbName.Append("]"); } return(sbName.ToString()); }