You've already forked linux-packaging-mono
Imported Upstream version 5.14.0.106
Former-commit-id: 03fab0f68b93e237c47a03f7d3793d7f5d7c276d
This commit is contained in:
parent
c34b058d3e
commit
fee6ab6a16
@@ -280,7 +280,7 @@ namespace Mono.Cecil.Pdb {
|
||||
target = new ImportTarget (ImportTargetKind.ImportNamespace) { @namespace = value };
|
||||
break;
|
||||
case 'T': {
|
||||
var type = module.GetType (value, runtimeName: true);
|
||||
var type = TypeParser.ParseType (module, value);
|
||||
if (type != null)
|
||||
target = new ImportTarget (ImportTargetKind.ImportType) { type = type };
|
||||
break;
|
||||
@@ -298,7 +298,7 @@ namespace Mono.Cecil.Pdb {
|
||||
target = new ImportTarget (ImportTargetKind.DefineNamespaceAlias) { alias = alias_value, @namespace = alias_target_value };
|
||||
break;
|
||||
case 'T':
|
||||
var type = module.GetType (alias_target_value, runtimeName: true);
|
||||
var type = TypeParser.ParseType (module, alias_target_value);
|
||||
if (type != null)
|
||||
target = new ImportTarget (ImportTargetKind.DefineTypeAlias) { alias = alias_value, type = type };
|
||||
break;
|
||||
|
@@ -253,9 +253,9 @@ namespace Mono.Cecil.Pdb {
|
||||
|
||||
doc_writer = writer.DefineDocument (
|
||||
document.Url,
|
||||
document.Language.ToGuid (),
|
||||
document.LanguageVendor.ToGuid (),
|
||||
document.Type.ToGuid ());
|
||||
document.LanguageGuid,
|
||||
document.LanguageVendorGuid,
|
||||
document.TypeGuid);
|
||||
|
||||
documents [document.Url] = doc_writer;
|
||||
return doc_writer;
|
||||
|
Reference in New Issue
Block a user