Esempio n. 1
0
 public static ILSpyFullParseInformation DecompileType(DecompiledTypeReference name, CancellationToken cancellationToken = default(CancellationToken))
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     using (DebugTimer.Time("DecompileType: " + name.ToFileName())) {
         var astBuilder = CreateAstBuilder(name, cancellationToken);
         return(new ILSpyFullParseInformation(ILSpyUnresolvedFile.Create(name, astBuilder), null, astBuilder.SyntaxTree));
     }
 }
Esempio n. 2
0
 ILSpyUnresolvedFile(DecompiledTypeReference name)
 {
     this.name = name;
     FileName  = name.ToFileName();
 }