public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb) { sb.Append(nameMangler.GetMangledTypeName(DeclaringModule.GetGlobalModuleType())); sb.Append('_'); sb.Append(nameMangler.SanitizeName(ModuleName)); if (DllImportSearchPath.HasValue) { sb.Append('_'); sb.Append(((int)DllImportSearchPath.Value).ToString()); } }
public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb) { sb.Append(nameMangler.CompilationUnitPrefix).Append("__InterfaceDispatchMap_").Append(nameMangler.SanitizeName(nameMangler.GetMangledTypeName(_type))); }