public override void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb) { sb.Append(nameMangler.CompilationUnitPrefix); sb.Append($@"DelegateCtor("); sb.Append(nameMangler.GetMangledTypeName(_delegateType)); sb.Append(" -> "); _targetMethod.AppendMangledName(nameMangler, sb); sb.Append("; "); sb.Append(_methodToken.ToString()); sb.Append(")"); }
// Implementation of ISymbolNode that makes this node act as a symbol for the canonical body public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb) { _canonicalMethodNode.AppendMangledName(nameMangler, sb); }
// Implementation of ISymbolNode that makes this node act as a symbol for the canonical body public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb) { _canonicalThunk.AppendMangledName(nameMangler, sb); }