// ---------------------------------------------------------------------- internal override string GetNodeName() { var name = NameUtility.ToDisplayName(memberInfo.Name); if (isGeneric) { name += NameUtility.ToDisplayGenericArguments(genericArguments); } return(name); }
internal override string GetNodeName() { var displayName = new StringBuilder(64); displayName.Append(NameUtility.ToDisplayName(memberInfo.Name)); if (isGeneric) { displayName.Append(NameUtility.ToDisplayGenericArguments(genericArguments)); } return(displayName.ToString()); }
internal override string GetDisplayString() { // -- Start with the base name -- var displayName = new StringBuilder(mainValueBegin, 64); displayName.Append(NameUtility.ToDisplayNameNoGenericArguments(type)); // -- Add generic arguments -- if (isGeneric) { displayName.Append("<i>"); displayName.Append(NameUtility.ToDisplayGenericArguments(type)); displayName.Append("</i>"); } displayName.Append(mainValueEnd); // -- Add inheritance information -- if (baseType != null && baseType != typeof(void)) { displayName.Append(firstPartBegin); displayName.Append(" : "); displayName.Append(NameUtility.ToDisplayName(baseType)); displayName.Append(firstPartEnd); } return(displayName.ToString()); }