Beispiel #1
0
        private static Task <SymbolTreeInfo> CreateMetadataSymbolTreeInfoAsync(
            HostWorkspaceServices services, SolutionKey solutionKey, Checksum checksum, StorageDatabase database, PortableExecutableReference reference)
        {
            var creator = new MetadataInfoCreator(services, solutionKey, checksum, database, reference);

            return(Task.FromResult(creator.Create()));
        }
        private static Task <SymbolTreeInfo> CreateMetadataSymbolTreeInfoAsync(
            Workspace workspace, SolutionKey solutionKey, Checksum checksum, PortableExecutableReference reference)
        {
            var creator = new MetadataInfoCreator(workspace, solutionKey, checksum, reference);

            return(Task.FromResult(creator.Create()));
        }
Beispiel #3
0
        private static Task <SymbolTreeInfo> CreateMetadataSymbolTreeInfoAsync(
            Solution solution, Checksum checksum,
            PortableExecutableReference reference,
            CancellationToken cancellationToken)
        {
            var creator = new MetadataInfoCreator(solution, checksum, reference, cancellationToken);

            return(Task.FromResult(creator.Create()));
        }
        private static SymbolTreeInfo CreateMetadataSymbolTreeInfo(
            Solution solution, VersionStamp version,
            PortableExecutableReference reference,
            CancellationToken cancellationToken)
        {
            var creator = new MetadataInfoCreator(solution, version, reference, cancellationToken);

            return(creator.Create());
        }
 private static SymbolTreeInfo CreateMetadataSymbolTreeInfo(
     Solution solution, VersionStamp version,
     PortableExecutableReference reference,
     CancellationToken cancellationToken)
 {
     var creator = new MetadataInfoCreator(solution, version, reference, cancellationToken);
     return creator.Create();
 }