示例#1
0
 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());
     }
 }
示例#2
0
 public void AppendMangledName(NameMangler nameMangler, Utf8StringBuilder sb)
 {
     sb.Append(nameMangler.CompilationUnitPrefix).Append("__InterfaceDispatchMap_").Append(nameMangler.SanitizeName(nameMangler.GetMangledTypeName(_type)));
 }