You've already forked linux-packaging-mono
Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
This commit is contained in:
parent
bceda29824
commit
73ee7591e8
@@ -90,17 +90,12 @@ namespace Mono.Cecil.Pdb {
|
||||
bool PopulateFunctions ()
|
||||
{
|
||||
using (pdb_file) {
|
||||
Dictionary<uint, PdbTokenLine> tokenToSourceMapping;
|
||||
string sourceServerData;
|
||||
int age;
|
||||
Guid guid;
|
||||
var info = PdbFile.LoadFunctions (pdb_file.value);
|
||||
|
||||
var funcs = PdbFile.LoadFunctions (pdb_file.value, out tokenToSourceMapping, out sourceServerData, out age, out guid);
|
||||
|
||||
if (this.guid != guid)
|
||||
if (this.guid != info.Guid)
|
||||
return false;
|
||||
|
||||
foreach (PdbFunction function in funcs)
|
||||
foreach (PdbFunction function in info.Functions)
|
||||
functions.Add (function.token, function);
|
||||
}
|
||||
|
||||
@@ -357,9 +352,11 @@ namespace Mono.Cecil.Pdb {
|
||||
return document;
|
||||
|
||||
document = new Document (name) {
|
||||
Language = source.language.ToLanguage (),
|
||||
LanguageVendor = source.vendor.ToVendor (),
|
||||
Type = source.doctype.ToType (),
|
||||
LanguageGuid = source.language,
|
||||
LanguageVendorGuid = source.vendor,
|
||||
TypeGuid = source.doctype,
|
||||
HashAlgorithmGuid = source.checksumAlgorithm,
|
||||
Hash = source.checksum,
|
||||
};
|
||||
documents.Add (name, document);
|
||||
return document;
|
||||
|
||||
Reference in New Issue
Block a user