private EmbeddedSymbolStream GetStreamToEmbed(DebugSymbol symbol)
        {
            var variables = new Dictionary<string, string>();
            variables[SourceFileKey] = SourceFileValue;
            var sourceFiles = this.GetSourceFiles(symbol).ToArray();

            return new EmbeddedSymbolStream(variables, ResolvedFilePath, ResolveFileCommand, sourceFiles);
        }
Exemplo n.º 2
0
        private EmbeddedSymbolStream GetStreamToEmbed(DebugSymbol symbol)
        {
            var variables = new Dictionary <string, string>();

            variables[SourceFileKey] = SourceFileValue;
            var sourceFiles = this.GetSourceFiles(symbol).ToArray();

            return(new EmbeddedSymbolStream(variables, ResolvedFilePath, ResolveFileCommand, sourceFiles));
        }
Exemplo n.º 3
0
 private IEnumerable <SourceFile> GetSourceFiles(DebugSymbol symbol)
 {
     return(symbol.SourceFiles.Select(file => new SourceFile(file, this.GetHash(file))));
 }
Exemplo n.º 4
0
        public void Index(DebugSymbol symbol)
        {
            var stream = this.GetStreamToEmbed(symbol);

            symbol.Write(stream);
        }
 private IEnumerable<SourceFile> GetSourceFiles(DebugSymbol symbol)
 {
     return symbol.SourceFiles.Select(file => new SourceFile(file, this.GetHash(file)));
 }
 public void Index(DebugSymbol symbol)
 {
     var stream = this.GetStreamToEmbed(symbol);
     symbol.Write(stream);
 }