Esempio n. 1
0
 /// <summary>
 /// Adds a declared entity. Returns either the existing one or creates a new one
 /// </summary>
 /// <param name="de"></param>
 public void AddToDeclEntityDic(TypeDefinition td, out DeclClassEntity dce)
 {
     if (!this.declEntityDic.TryGetValue(td.FullName, out dce))
     {
         TypeEx type = td.Instantiate(MethodOrFieldAnalyzer.GetGenericTypeParameters(this.Host, td));
         dce = new DeclClassEntity(type);
         declEntityDic[type.FullName] = dce;
     }
 }
Esempio n. 2
0
 public DUCoverStore()
 {
     this.dce = new DUCoverEngine();
     this.Host = this.dce.GetService<PexMeDynamicDatabase>();
 }