Ejemplo n.º 1
0
 public void Add(CLRMethodSignatureInstance methodSig)
 {
     CppMangleBuilder builder = new CppMangleBuilder();
     builder.Add(methodSig.RetType);
     builder.Cycle();
     foreach (CLRMethodSignatureInstanceParam param in methodSig.ParamTypes)
     {
         builder.Add((int)param.TypeOfType);
         builder.Add(param.Type);
         builder.Cycle();
     }
     AddBytes(builder.FinishAsBytes());
 }
Ejemplo n.º 2
0
 public void Add(CLRTypeDefRow typeDef)
 {
     CppMangleBuilder builder = new CppMangleBuilder();
     if (typeDef.ContainerClass != null)
     {
         builder.Add(typeDef.ContainerClass);
         builder.Cycle();
     }
     builder.Add(typeDef.TypeNamespace);
     builder.Cycle();
     builder.Add(typeDef.TypeName);
     AddBytes(builder.FinishAsBytes());
 }