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)); } }
ILSpyUnresolvedFile(DecompiledTypeReference name) { this.name = name; FileName = name.ToFileName(); }