private TypeTrace ResolveTypeTrace(CST.TypeDef typeDef) { var name = typeDef.EffectiveName(Parent.Parent.Env.Global); var typeTrace = default(TypeTrace); if (!TypeMap.TryGetValue(name, out typeTrace)) { typeTrace = new TypeTrace(this, typeDef); TypeMap.Add(name, typeTrace); } return(typeTrace); }
public string ResolveTypeDefToSlot(CST.AssemblyDef assemblyDef, CST.TypeDef typeDef) { return(AssemblyMappingFor(assemblyDef).ResolveTypeDefinitionToSlot(typeDef.EffectiveName(env.Global))); }