コード例 #1
0
        public AssemblyDebugData GetDebugData()
        {
            var debugData = new AssemblyDebugData
            {
                PdbType    = _pdbType,
                Sources    = GetSourceDocuments(),
                SourceLink = GetSourceLinkInformation()
            };

            return(debugData);
        }
コード例 #2
0
        public AssemblyDebugData GetDebugData()
        {
            var debugData = new AssemblyDebugData {
                PdbType = _pdbType
            };

            if (_pdbType == PdbType.Full)
            {
                return(debugData); // Not supported here
            }

            debugData.Sources    = GetSourceDocuments();
            debugData.SourceLink = GetSourceLinkInformation();

            return(debugData);
        }
コード例 #3
0
        public AssemblyDebugData GetDebugData()
        {
            var(documents, errors) = GetDocumentsWithUrls();


            var debugData = new AssemblyDebugData
            {
                PdbType            = _pdbType,
                Sources            = documents,
                SourceLinkErrors   = errors,
                SymbolKeys         = GetSymbolKeys(_peReader),
                PdbChecksumIsValid = VerifyPdbChecksums(),
                HasDebugInfo       = true
            };

            return(debugData);
        }
コード例 #4
0
        public AssemblyDebugData GetDebugData()
        {
            var(documents, errors) = GetDocumentsWithUrls();


            var debugData = new AssemblyDebugData
            {
                PdbType            = _pdbType,
                Sources            = documents,
                SourceLinkErrors   = errors,
                PdbChecksumIsValid = VerifyPdbChecksums(),
                CompilerFlags      = GetCompilerFlags(),
                MetadataReferences = GetMetadataReferences(),
                HasDebugInfo       = true
            };

            if (_peReader != null)
            {
                debugData.SymbolKeys = GetSymbolKeys(_peReader);
            }

            return(debugData);
        }