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()); }
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()); }